Download presentation
Presentation is loading. Please wait.
Published byRose Wilkerson Modified over 9 years ago
1
www.sti-innsbruck.at © Copyright 2009 STI INNSBRUCK www.sti-innsbruck.at Web of Hypertext (RDFa, Microformats) and Web of Data Semantic Web Lecture (WS 09/10) Dieter Fensel and Tobias Bürger
2
www.sti-innsbruck.at Agenda Introduction: From Hypertext to the Web of Data “Building” the Web of Data –Embedding Structured Information in Web Pages Standards: Microformats, RDFa, GRDDL Example: Yahoo SearchMonkey “Feeding the Monkey with RDFa and Microformats” –Linked Data Principles Publishing and Consuming Linked Data Adding Legacy Data to the Web of Data Examples Current Developments Wrap Up 2
3
www.sti-innsbruck.at Evolution of the Web Hypertext Hypermedia Web Web of Data Social Web (Web 2.0) Semantic Web Picture from [1] ? Picture from [2] “As We May Think”
4
www.sti-innsbruck.at Motivation: From a Web of Documents to a Web of Data Web of DocumentsWeb of Data “Documents” “Things” Hyperlinks Typed Links
5
www.sti-innsbruck.at Vision of the Web of Data Many common things are represented in multiple data sets Linking identifiers links these data sets The Web of Data is envisioned as a global database –consisting of objects and their descriptions –in which objects are linked with each other –with a high degree of object structure –with explicit semantics for links and content –which is designed for humans and machines Content on this slide by Chris Bizer, Tom Heath and Tim Berners-Lee
6
www.sti-innsbruck.at How to “Build” the Web of Data? Publish structured data by –using Web (2.0) APIs –embedding structured information (Microformats, RDFa, GRDDL) –linking data [4] [5] [6] [7] [3]
7
www.sti-innsbruck.at Microformats Recommended literature: [5], [8]
8
www.sti-innsbruck.at What are Microformats? “Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards. Instead of throwing away what works today, microformats intend to solve simpler problems first by adapting to current behaviours and usage patterns (e.g. XHTML, blogging).” [5]
9
www.sti-innsbruck.at What are Microformats? /2 Are highly correlated with semantic (X)HTML / “Real world semantics” / “Lowercase Semantic Web” [9]. A way to combine human with machine-readable information. Provide means to embed structured data in HTML pages. Build upon existing standards. Solve a single, specific problem (e.g. representation of geographical information, calendaring information, etc.). Provide an “API” for your website. Build on existing (X)HTML and reuse existing elements. Work in current browsers. Follow the DRY principle (“Don’t Repeat Yourself”). Compatible with the idea of the Web as a single information space.
10
www.sti-innsbruck.at Microformats Illustrated Content on this slide by Chris Griego
11
www.sti-innsbruck.at Design Patterns Elemental microformats –Rel-home links to homepage –Rel-License links to content license cc by2.0 –Others: rel-tag, rel-encluse, xfn-tags Compound microformats –E.g. hCard, hCalendar, hEvent, hReview Picture from [5]
12
www.sti-innsbruck.at Example Compound Microformat: hCard hCard is a simple format for representing people, companies, organizations, and places, using a 1:1 representation of the properties and values of the vCard standard (RFC2426). BEGIN: VCARD VERSION: 3 FN: Dieter Fensel ORG: STI Innsbruck … URL: http://www.sti-innsbruck.at TEL: +43 512 507 9872 END: VCARDhttp://www.sti-innsbruck.at Example on this slide by Alexander Graf
13
www.sti-innsbruck.at Example Compound Microformat: hCard /2 hCard is a simple format for representing people, companies, organizations, and places, using a 1:1 representation of the properties and values of the vCard standard (RFC2426). Dieter Fensel STI Innsbruck mail me Phone: +43 512 9872 Example on this slide by Alexander Graf
14
www.sti-innsbruck.at Drawbacks of Microformats Only a fixed set of microformats exist. No way to connect data elements. Fixed vocabulary, not extendable and customizable. Separate parsing rules for each microformat needed.
15
www.sti-innsbruck.at RDFa “RDFa is microformats done right” (Bob DuCharme) Recommended literature: [6], [10]
16
www.sti-innsbruck.at RDFa Goals: Bringing the Web of Documents and the Web of Data closer together. Both for human and machine consumption. Follows the DRY (“Don’t Repeat Yourself”) – principles. RDFa is a serialization syntax for embedding an RDF graph into XHTML. RDFa is domain-independent. In contrast to the domain-dedicated microformats, RDFa can be used for custom data and multiple schemas. Benefits inherited from RDF: Independence, modularity, evolvability, and reusability. Easy to transform RDFa into RDF data. Tools for RDFa publishing and consumption exist [14]. Earlier comparable approaches: SHOE [11], HTML-A [12], and eRDF [13].
17
www.sti-innsbruck.at RDFa – Usage Example RDFa uses (X)HTML attributes to express metadata within (X)HTML (used attributes: see [10]). Example: Embedding FOAF into HTML using RDFa Dieter Fensel Tobias Bürger Tobias Bürger knows Dieter Fensel. @prefix :. :dieter a foaf:Person; foaf:name “Dieter Fensel”. :tobias a foaf:Person; foaf:name “Tobias Bürger” foaf:knows :dieter.
18
www.sti-innsbruck.at GRDDL (“Gleaning Resource Descriptions from Dialects of Languages”) Recommended literature: [15], [16], [17]
19
www.sti-innsbruck.at What is GRDDL? GRDDL is a technique for obtaining RDF data from XML documents (a GRDDL transformation). It is a means to associate transformations (preferably expressed in XSLT) with an individual document. GRDDL applied in 3 steps: (1) Declaration of a document as the source. (2) Link to one or more extractors. (3) GRDDL agent extracts RDF from the document. Figure from Daniel Hazael-Massieux.
20
www.sti-innsbruck.at Use Case Scheduling: Jane is Coordinating a Meeting Robin publishes his schedule on his home page using the hCalendar microformat. David publishes his in Embedded RDF using some RDF calendar properties. Kate uses a blog engine that encodes her diary as RDFa. Jane uses an online calendaring service that publishes an RSS 1.0 feed of her schedule. Example from [17]
21
www.sti-innsbruck.at SearchMonkey: Making use of RDFa and Microformats in Search Recommended literature: [18], [19], [20] Slides about SearchMonkey by E. Goar and P. Tarjan (Yahoo)
22
www.sti-innsbruck.at What is the SearchMonkey? an open platform for using structured data to build more useful and relevant search results BeforeAfter
23
www.sti-innsbruck.at Enhanced Search Result Key/value Pairs or abstract LinksImage
24
www.sti-innsbruck.at How does it Work? Acme.com’s DB Index RDF/Microformat Markup site owners/publishers share structured data with Yahoo! 1 consumers customize their search experience with Enhanced Results or Infobars 3 site owners & third-party developers build SearchMonkey apps 2 DataRSS feed Web Services Page Extraction Acme.com’s Site
25
www.sti-innsbruck.at Feeding the Monkey: Data Sources (e.g., RDFa and Microformats) NameCachedOpenModeNotes Yahoo! Indexyes PassiveOld-School Y! Index data RDFa, eRDFyes PassiveVocab + markup decoupled Microformatsyes PassiveVocab + markup coupled DataRSS feedyesnoActiveAtom + metadata XSLTno ActiveGood for prototyping Web Serviceno ActiveBrings in remote data
26
www.sti-innsbruck.at Linked Data Recommended literature: [3], [21-25]
27
www.sti-innsbruck.at Linked Data vs. Semantic Web “In contrast to the full-fledged Semantic Web vision, linked data is mainly about publishing structured data in RDF using URIs rather than focusing on the ontological level or inference. This simplification - just as the Web simplified the established academic approaches of Hypertext systems - lowers the entry barrier for data providers, hence fosters a widespread adoption.” [23] vs.
28
www.sti-innsbruck.at 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. Linked Data is about the use of Semantic Web technologies to publish structured data on the Web and set links between data sources. Figure from C. Bizer
29
www.sti-innsbruck.at Linking Open Data Project What? Community project with W3C support “The goal of the W3C SWEO Linking Open Data community project is to extend the Web with a data commons by publishing various open data sets as RDF on the Web and by setting RDF links between data items from different data sources. “ [24] Follows the Linked Data principles. Basic idea: take existing (open) data sets and make them available on the Web in RDF. Once published in RDF, interlink them with other data sets. Example RDF links: owl:sameAs.
30
www.sti-innsbruck.at LOD Cloud May 2007 Figure from [2]
31
www.sti-innsbruck.at LOD Cloud September 2008 Figure from [2]
32
www.sti-innsbruck.at LOD Cloud March 2009 Figure from [2]
33
www.sti-innsbruck.at Linked Data Publishing in 7 Steps 1.Select vocabularies. 2.Partition the RDF graph into “data pages”. 3.Assign a URI to each data page. 4.Create HTML variants of each data page. 5.Assign a URI to each entity. 6.Add page metadata and link sugar. 7.Add a Semantic Sitemap. Slide by R. Cyganiak (see also [22])
34
www.sti-innsbruck.at Linking Popular predicates for linking: e.g., owl:sameAs, foaf:homepage, foaf:topic, foaf:based_near, foaf:maker/foaf:made, foaf:depiction, foaf:page, foaf:primaryTopic, rdfs:seeAlso Possible linking for Wiskii.com (example distillery) Content on this slide by T. Heath, M. Hausenblas, C. Bizer, R. Cyganiak, O. Hartig
35
www.sti-innsbruck.at Tools and Applications Linked Data browsers: Tabulator Browser (MIT, USA), Marbles (FU Berlin, DE), OpenLink RDF Browser (OpenLink, UK), Zitgist RDF Browser (Zitgist, USA), Disco Hyperdata Browser (FU Berlin, DE), Fenfire (DERI, Ireland) Linked Data mashups: Revyu.com (KMI, UK), DBtune Slashfacet (Queen Mary, UK), DBPedia Mobile (FU Berlin, DE), Semantic Web Pipes (DERI, Ireland) Search engines: Falcons (IWS, China), Sindice (DERI, Ireland), MicroSearch (Yahoo, Spain), Watson (Open University, UK), SWSE (DERI, Ireland), Swoogle (UMBC, USA) Listing on this slide by T. Heath, M. Hausenblas, C. Bizer, R. Cyganiak, O. Hartig
36
www.sti-innsbruck.at Adding Legacy Data to the Web of Data Bringing relational data to the Web of Data –Pubby –Triplify –D2RQ –Virtuoso RDF Views Extracting data from the Web (e.g., DBPedia: data extraction from Wikipedia) RDFizers: from JPEG, Email, BibTex, Java bytecode, Javadoc, weatherreport, Excel,... to RDF
37
www.sti-innsbruck.at DBPedia Figure from [26]
38
www.sti-innsbruck.at Example Mashup: Revyu.com Try yourself: http://revyu.com Picture from revyu.com
39
www.sti-innsbruck.at Example Mashup: DBPedia Mobile Try yourself: http://wiki.dbpedia.org/DBpediaMobile Pictures from DBPedia Mobile
40
www.sti-innsbruck.at Current Developments: Interlinking Multimedia Recommended literature: [25], [27]
41
www.sti-innsbruck.at Interlinking Multimedia – The Vision 1.Show me photos of presidents of the European Commission visiting a country in Asia: –DBpedia: list EC presidents -: [L-EP] –Geonames: list Asian countries -: [L-AC] –Google: list photos taken in a country of [L-AC] -: [L-ACP] –Google: in [L-ACP] find regions that depict members of [L-EP] -: result 2.Give me a summary of all scenes from videos where EC presidents talk with an Asian monarch. The solution? MM Interlinking as a lightweight bottom up approach to interlink multimedia.
42
www.sti-innsbruck.at Interlinking Multimedia – Principles and Requirements 1.To become part of the LOD cloud, the Linked Data principles should be followed. 2.Consider the characteristics of multimedia (e.g. highly subjective semantics) and thus consider provenance (who said what and when?). 3.Metadata descriptions have to be interoperable in order to reference and integrate parts of the described resources. 4.Localizing and identifying fragments is essential in order to link parts of resources with each other. 5.Interlinking methods need to be available, which are essential in order to manually or (semi-) automatically interlink multimedia resources (e.g., automatic interlinking, user contributed interlinking, emergent interlinking, and game-based interlinking c.f. [27]).
43
www.sti-innsbruck.at Wrap Up and Take Home Vision of the “Web of Data” How-to build the “Web of Data” –Embedding Structured Information via Microformats and RDFa –Extracting and generating structured information via GRDDL –Publishing Linked Data Outlook: Multimedia in the “Web of Data”
44
www.sti-innsbruck.at Questions?
45
www.sti-innsbruck.at Bibliography [1] V. Bush "As We May Think" The Atlantic Monthly, July, 1945. Re-print available online: http://www.theatlantic.com/doc/194507/bush (last accessed on 18.03.2009)http://www.theatlantic.com/doc/194507/bush [2] Hypertext, Wikipedia Entry, http://en.wikipedia.org/wiki/Hypertext (last accessed on 18.03.2009)http://en.wikipedia.org/wiki/Hypertext [3] Linked Data, http://linkeddata.org/ (last accessed on 18.03.2009)http://linkeddata.org/ [4] The Programmable Web – Web 2.0 APIs, http://www.programmableweb.com/ (last accessed on 18.03.2009)http://www.programmableweb.com/ [5] Microformats, http://www.microformats.org (last accessed on 18.03.2009)http://www.microformats.org [6] RDFa Primer, http://www.w3.org/TR/xhtml-rdfa-primer/ (last accessed on 18.03.2009)http://www.w3.org/TR/xhtml-rdfa-primer/ [7] Gleaning Resource Descriptions from Dialects of Languages (GRDDL), W3C Recommendation, http://www.w3.org/TR/grddl/ (last accessed on 18.03.2009)http://www.w3.org/TR/grddl/ [8] J. Allsop "Microformats: “Empowering Your Markup for Web 2.0", Friends of ed, 2007. [9] T. Celik and K. Marcs: “Real World Semantics” http://www.tantek.com/presentations/2004etech/realworldsemanticspres.html (last accessed on 18.03.2009) http://www.tantek.com/presentations/2004etech/realworldsemanticspres.html [10] RDFa in XHTML: Syntax and Processing, W3C Recommendation, http://www.w3.org/TR/rdfa-syntax/ (last accessed on 18.03.2009) http://www.w3.org/TR/rdfa-syntax/
46
www.sti-innsbruck.at Bibliography /2 [11] J. Helfin, J. Hendler, and S. Luke "Reading between the lines: Using shoe to discover implicit knowledge from the web" In: Proceedings of the AAAI-98 Workshop on AI and Information Integration, Madison, WI, July 1998. [12] D. Fensel, S. Decker, M. Erdmann, and R. Studer "Ontobroker: Or how to enable intelligent access to the www" In: Proceedings of the 11th Workshop on Knowledge Acquisition Modeling and Management, Banff, Canada, April 18-23., 1998. [13] Embeddable RDF (eRDF), http://research.talis.com/2005/erdf/wiki/Main/RdfInHtml (last accessed on 19.03.2009) http://research.talis.com/2005/erdf/wiki/Main/RdfInHtml [14] Tools. RDFa Wiki, http://rdfa.info/wiki/Tools (last accessed on 19.03.2009)http://rdfa.info/wiki/Tools [15] GRDDL Primer, http://www.w3.org/TR/grddl-primer/ (last accessed on 19.03.2009)http://www.w3.org/TR/grddl-primer/ [16] Gleaning Resource Descriptions from Dialects of Languages (GRDDL), W3C Recommendation 11 September 2007, http://www.w3.org/TR/grddl/ (last accessed on 19.03.2009) [17] GRDDL Use Cases, http://www.w3.org/TR/grddl-scenarios/ (last accessed on 19.03.2009)http://www.w3.org/TR/grddl/http://www.w3.org/TR/grddl-scenarios/ [18] Yahoo SearchMonkey, http://developer.yahoo.com/searchmonkey/
47
www.sti-innsbruck.at Bibliography /3 [19] SearchMonkey Guide, http://developer.yahoo.com/searchmonkey/smguide/overview.html (last accessed on 19.03.2009) http://developer.yahoo.com/searchmonkey/smguide/overview.html [20] P. Mika “The Anatomy of a SearchMonkey”, Nodalities Magazine Sep/Oct 2008. Available online: http://www.talis.com/nodalities/pdf/nodalities_issue4.pdf (last accessed on 19.03.2009)http://www.talis.com/nodalities/pdf/nodalities_issue4.pdf [21] T. Berners-Lee “Linked Data Principles”, http://www.w3.org/DesignIssues/LinkedData.html (last accessed on 19.03.2009) http://www.w3.org/DesignIssues/LinkedData.html [22] C. Bizer, R. Cyganiak, and T. Heath “How to Publish Linked Data on the Web”, http://www4.wiwiss.fu-berlin.de/bizer/pub/LinkedDataTutorial/ (last accessed on 19.03.2009) http://www4.wiwiss.fu-berlin.de/bizer/pub/LinkedDataTutorial/ [23] M. Hausenblas "Exploiting Linked Data For Building Web Applications" IEEE Internet Computing, 2009 (to appear) [24] Linking Open Data Community Project, http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData (last accessed on 19.03.2009) http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData [25] M. Hausenblas, R. Troncy, T. Bürger, and Yves Raimond "Interlinking Multimedia: How to Apply Linked Data Principles to Multimedia Fragments." In: Proceedings of Linked Data on the Web 2009 (LDOW2009) (forthcoming)
48
www.sti-innsbruck.at Bibliography /4 [26] S. Auer, C. Bizer, G. Kobilarov, J. Lehmann, R. Cyganiak, and Z. Ives "DBpedia: A Nucleus for a Web of Open Data" In: Proc. of the 6th International Semantic Web Conference (ISCW) 2007. [27] T. Bürger and M. Hausenblas "Interlinking Multimedia - Principles and Requirements" In: Proceedings of the First International Workshop on Interacting with Multimedia Content on the Social Semantic Web, co-located with SAMT 2008, Dec, 3.-5., 2008
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.