Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Rohit Bhardwaj Principal Software Engineer Kronos Inc. IEEE Computer Society and GBC/ACM June 18 th 2009.

Similar presentations


Presentation on theme: "By Rohit Bhardwaj Principal Software Engineer Kronos Inc. IEEE Computer Society and GBC/ACM June 18 th 2009."— Presentation transcript:

1 By Rohit Bhardwaj Principal Software Engineer rbhardwaj@kronos.com Kronos Inc. IEEE Computer Society and GBC/ACM June 18 th 2009

2 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

3 How did we get here ? 3 Mainframes 70s and 80s Client Server 90s SOA 2000s Web 2.0 Virtualization SaaS Utility Computing Cloud Computing GRID Computing Storage Services Multi Tenancy

4

5 Interoperability of data

6 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

7 Tim Berners Lee on the Semantic Web People keep asking what Web 3.0 is. I think maybe when you've got an overlay of scalable vector graphics - everything rippling and folding and looking misty - on Web 2.0 and access to a semantic Web integrated across a huge space of data, you'll have access to an unbelievable data resource."scalable vector graphicsWeb 2.0 – Tim Berners-Lee, 2006Tim Berners-Lee

8 RAW data to create new Plants

9 RAW DATA NOW

10 Raw Data to create Eco-System

11 Linked Data Principles 1. Use URIs as names for things 2. Use HTTP URIs so that people can look up those names 3. When someone looks up a URI, provide useful RDF information 4. Include RDF statements that link to other URIs so that they can discover related things Tim Berners-Lee 2007 http://www.w3.org/DesignIssues/LinkedData.html

12 Computer understands (RDFa) meaning of web page

13 Search engines will use semantics for the page More accurate searches

14 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

15 Semantic Web provides a common framework that allows data to be shared and reused across application, enterprise, and community boundaries. It is a collaborative effort led by W3C (World Wide Web Consortium)… Classical Web: computers deliver documents (text, multimedia…) Semantic Web: let computers process (interpret, combine, select, judge) and deliver information

16 Semantic Web Overview

17 Technologies

18 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

19 RDF Resource Description Framework W3C Recommendation Specification for a graph metamodel to comment on web resources (or anything) Uses a triple form SubjectObject predicate

20 Subject Predicate Object MADONNA LIKES SINGING

21 CURIE: Compact URI RDF uses URI (Uniform Resource Identifier) to define subjects and predicates. http://www.example.org/really/really/really/long/urls /to/work/with/is /very/difficult

22 Triples and N3 Notation (Graph) @prefix pref:.. MADONNA LIKES SINGING Subject Predicate Object

23 Vocabulary : FoaF Britney Madonna KNOWS

24 Creating a triple so that Browser can understand Britney Spears N3 notation: @prefix foaf:. foaf:name "Britney Spears". #Britney Britney Spears NAME

25 Types and Relationships property-"foaf:name"> Britney Spears property-"foaf:name"> Madonna resource="#Madonna"> Britney is friend of Madonna

26 Relationship #Britney Britney Spears NAME PERSON #Madonna Madonna NAME KNOWSKNOWS

27 Building Semantic web Web of triples going to blogs, sites, countries, places, things and their relationships between news, people, movies

28 RDFS RDF Schema (RDFS) – Vocabulary for RDF – taxonomies of classes and properties, domain, range, … :Dog rdfs:subClassOf :Animal. :Person rdfs:subClassOf :Animal. :hasChild rdfs:range :Animal; rdfs:domain :Animal. :hasSon rdfs:subPropertyOf :hasChild. :Max a :Dog. :Abel a :Person. :Adam a :Person; :hasSon :Abel.

29 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

30 Dbpedia Example

31 dbpedia As of November 2008 [update], the DBpedia dataset describes more than 2.6 million things, including at least 213,000 persons, 328,000 places, 57,000 music albums, 36,000 films, 20,000 companies. The dataset features labels and short abstracts for these things in 30 different languages; 609,000 links to images and 3,150,000 links to external web pages; 4,878,100 external links into other RDF datasets, 415,000 Wikipedia categories, and 75,000 YAGO categories. [1] [update]YAGO [1]

32 Example

33

34 Community effort to Publish existing open license datasets as Linked Data on the Web Interlink things between different data sources Develop clients that consume Linked Data from the Web

35 Linked Data Browsers Tabulator Browser (MIT, USA) Disco Hyperdata Browser (FU Berlin, DE) OpenLink RDF Browser (OpenLink, UK) Zitgist RDF Browser (Zitgist, USA) Humboldt (HP Labs, UK) Fenfire (DERI, Irland) Marbles (FU Berlin, DE)

36 Example 1 http://graphs.gapminder.org/world

37 Example 2 http://bitmunk.com/media/6995806

38 FUZZ Firefox plug-in

39 FUZZ Plug-in

40 OpenLink Firefox Plug-in

41 Some more examples http://richard.cyganiak.de/2007/10/lod/ http://www4.wiwiss.fu- berlin.de/bizer/pub/lod-datasets_2009-03- 05.html http://www4.wiwiss.fu- berlin.de/bizer/pub/lod-datasets_2009-03- 05.html http://www.openstreetmap.org/ http://revyu.com/ DBpedia Mobile

42 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

43 OWL Web Ontology Language (OWL) W3C Recommendation Designed to support different levels of expression with different computational requirements OWL Lite OWL DL OWL Full

44 Berlin Ontology example: Berlin local transport service

45 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying Semantic Web Data Semantic Web Services WS-Tenacity REST Conclusion References

46 Querying Semantic Web Data: SPARQL Emerging W3C Standard for querying RDF SPARQL Protocol and RDF Query Language It has been a moving target, but various tools are starting to support it ARQ SPARQL Processor for Jena Rasqal RDF query library for Redland Pellet, KAON2 OWL DL Reasoners

47 SPARQL Simple Protocol and RDF Query Language – SQL like language for RDF querying SELECT ?name ?mbox WHERE { ?x foaf:name ?name. ?x foaf:mbox ?mbox. } – graph matching/construction – SELECT, CONSTRUCT, DESCRIBE, ASK – ORDER BY, DISTINCT, OFFSET, LIMIT Operates on any RDF graph – i.e., including RDFS/OWL

48 SPARQL DEMO http://demo.openlinksw.com/sparql_demo/# http://www.sparql.org/query.html

49 Semantic Search One of the primary goals of semantic web Not only keyword full-text search Query includes relations between resources Connecting data: mash-up from different sources Within enterprise or enterprises Relevant research: semantic desktop semantic search within data in a single PC

50 Web of Data Search Engines SWSE (DERI, Ireland) Swoogle (UMBC, USA) http://swoogle.umbc.edu/ Falcons (IWS, China) Sindice (DERI, Ireland) Watson (Open University, UK) MicroSearch (Yahoo, Spain)

51 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

52 Semantic Web Services Semantic enrichment of Web Services Semantic interoperability Special ontologies developed for the description of services: OWL-S, WSMO, … service matchmaking to allow service discovery, composition and execution

53 OWL-S OWL ontology for describing services OWL-S Matchmaking: Description of input and output conditions as a concept

54 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

55 WS-Tenacity SOA = WSDL + SOAP + UDDI

56 WS-Complexity Real Complexity Hard things hard Artificial Complexity Easy things are (still!) hard

57 WS-Inoperability SOAP Message-oriented request Mixes verb space and content space (No nouns!) WSDL What You See Is What You Get UDDI Published metadata about service Simultaneously complex and limited

58 WS-Flexibility If you build it... Amazon supports both SOAP-based and RESTful Web Services Developers have spoken (80-90% prefer REST)

59 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

60 REST is History REST (REpresentational State Transfer) Based largely on Roy Fieldings Ph.D. thesis Architectural style designed to promote Performance Scalability Generality Simplicity Modifiability

61 Separation of Concerns HTTP://REST.BLUEOXEN.NET/CGI-BIN/WIKI.PL?RESTTRIANGLE

62 Noun Space Resources are an abstraction for what is available Files Generated Content Computational Results Concepts/Organizations/People What comes back can change over time Think about todays /. Page

63 Verb Space Constrained semantics for acting upon resources Traditionally GET POST PUT DELETE Allows intermediaries to apply security/caching policies

64 REST Architecture

65 The Web as Model Scalability Addressability Bookmarkability Evolvable architecture Simple, Generalized Model Coordination on the Edge (Republishability)

66 Web Building Blocks Standard URI Scheme addresses Documents, Data, Services, Concepts Logical resolution to concrete representation Standard application protocols for manipulation Standard metadata languages

67 Scalability

68 Content Negotiation

69 Access Control

70 Architectural Migration

71 RESTful Web Services Putting the Web in Web Services Reusing existing technologies Simple things easy, hard thing possible Can layer on complexity as necessary Nothing necessarily to buy

72 Agenda Problem with current web Linked Data Principles Semantic Web Overview RDF and RDFa Dbpedia OWL Querying SemWeb Data Semantic Web Services WS-Tenacity REST Conclusion References

73 Conclusion Semantic web is future RDFa and Ontology languages help computers understand REST is AN Answer For architectural styles that support it, REST allows systems to be simple but complete Promotes separation of noun, verb and content spaces for simplicity and extensibility Systems built on principles of REST demonstrate great scalability Some places REST is not the right answer

74 Semantic Web Examples http://simile.mit.edu/wiki/Exhibit/Examples

75 Semantic Web Examples http://simile.mit.edu/wiki/Exhibit/Examples

76 Semantic Web Examples

77 Questions?

78 Specifications

79 References Roy Fieldings Thesis http://tinyurl.com/cvamhhttp://tinyurl.com/cvamh OpenLink Data Explorer 0.25 for firefox http://microformats.org/about/ http://www.openstreetmap.org/ http://rdfa.info/about http://www.dataportability.org/ Tabulator, Disco RDF Browser


Download ppt "By Rohit Bhardwaj Principal Software Engineer Kronos Inc. IEEE Computer Society and GBC/ACM June 18 th 2009."

Similar presentations


Ads by Google