Annotating with RDFa
Upcoming SlideShare
Loading in...5
×
 

Annotating with RDFa

on

  • 1,966 views

 

Statistics

Views

Total Views
1,966
Views on SlideShare
1,959
Embed Views
7

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 7

http://www.linkedin.com 5
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Annotating with RDFa Annotating with RDFa Presentation Transcript

  • Semantic Web (SemWeb) Annotating with RDFa Adrian Giurca, Semantic Web, Cottbus, June 2009 Adrian Giurca
  • RDF is a language for ...
      • Expressing propositional information (fact statements), such as annotations or metadata, in Web documents
      • Benefits:
        • Semantic search and navigation
        • Publishing and interchanging data in a machine-processible format
      • RDF is the basis of the Semantic Web
      • RDF is NOT RDFa !
    Adrian Giurca, Semantic Web, Cottbus, June 2009
  • RDF has XML syntax and triple syntax <rdf:RDF xmlns:rdf=&quot;...&quot; xmlns:uni=&quot;...&quot; xmlns:foaf=&quot;...&quot; > <rdf:Description rdf:about=&quot;uni:949318&quot;> <foaf:name>Adrian Giurca</foaf:name> <uni:age>27</uni:age> <foaf:address> Walther Pauer Str. 2, 03044, Cottbus, DE </foaf:address> </rdf:Description> ... </rdf:RDF> Adrian Giurca, Semantic Web, Cottbus, June 2009 uni:949318 foaf:name &quot;Adrian Giurca&quot; uni:949318 uni:age 27 uni:949318 foaf:address &quot; Walther Pauer Str. 2, 03044, Cottbus, DE &quot;
  • A Simple Statement in XHTML <p> Adrian Giurca office is at Walther Pauer Str. 2, 03044, Cottbus, DE </p> Adrian Giurca, Semantic Web, Cottbus, June 2009
      • Bad point: A computer application cannot easily obtain information such as:
        • &quot;Adrian Giurca&quot; is the name of a person
        • &quot;Walther Pauer Str. 2, 03044, Cottbus, DE&quot; is an address
  • Using RDFa to Annotate the Statement <p> <span about=&quot;uni:949318&quot; > <span property=&quot;foaf:name&quot; >Adrian Giurca</span> address is at <span property=&quot;foaf:address&quot; > Walther Pauer Str. 2, 03044, Cottbus, DE </span> </span> </p> Adrian Giurca, Semantic Web, Cottbus, June 2009 uni:949318 foaf:name &quot;Adrian Giurca&quot; uni:949318 foaf:address &quot; Walther Pauer Str. 2, 03044, Cottbus, DE &quot;
      • A Semantic Web Reasoner can use these triples to obtain new information
  • Annotating an image <div about=&quot;p:949318&quot; > <img src=&quot;http://.../Me.jpg&quot; /> <span property=&quot;dc:title&quot; >My Picture</span> by <span property=&quot;dc:creator&quot; > Quelle Photo </span>. </div> Adrian Giurca, Semantic Web, Cottbus, June 2009
      • about , property , content are NOT XHTML attributes!
      • They are additional attributes introduced by the
    • XHTML+RDFa 1.0 profile
    <?xml version=&quot;1.0&quot;?> <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML+RDFa 1.0//EN&quot; &quot;http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;> ... </html>
  • Encoding a license <a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;> a Creative Commons License </a> Adrian Giurca, Semantic Web, Cottbus, June 2009
      • The rel attribute has specific values:
        • alternate, appendix, bookmark, cite, chapter, contents, copyright, glossary, help, icon, index, last, license, meta, next, p3pv1, prev, role, section, subsection, start, up
  • What about foaf:address, dc:creator ...?
      • A triple has the form of
    • (subject, property, object)
      • Therefore foaf:name , foaf:address , dc:title , dc:creator are properties
      • They belong to special ontologies defined to annotate Web content
      • FOAF (foaf) is a vocabulary about persons
      • The Dublin Core Metadata Element Set (dc) is a vocabulary of fifteen properties for use in (Web) resource description.
    Adrian Giurca, Semantic Web, Cottbus, June 2009 uni:949318 foaf:name &quot;Adrian Giurca&quot; uni:949318 foaf:address &quot; Walther Pauer Str. 2, 03044, Cottbus, DE &quot; p:949318 dc:title &quot;My Picture&quot; p:94318 dc:creator &quot;Quelle Photo&quot;
  • Learning RDfa
      • Study and understand the XHTML+RDFa 1.0 profile
      • Choose the vocabularies you will use accordingly with your content (FOAF, Dublin Core, DOAP , ...)
      • Start annotating
      • Understand the triples you just created by using such annotations
    Adrian Giurca, Semantic Web, Cottbus, June 2009
  • Do you like RDfa? Start Annotating Adrian Giurca, Semantic Web, Cottbus, June 2009