Semantic Web (SemWeb) Annotating with RDFa Adrian Giurca, Semantic Web, Cottbus, June 2009 Adrian Giurca
RDF is a language for ... <ul><ul><li>Expressing propositional information (fact statements), such as annotations or metad...
RDF has XML syntax and triple syntax <rdf:RDF xmlns:rdf=&quot;...&quot; xmlns:uni=&quot;...&quot; xmlns:foaf=&quot;...&quo...
A Simple Statement in XHTML <p> Adrian Giurca office is at Walther Pauer Str. 2, 03044, Cottbus, DE </p> Adrian Giurca, Se...
Using RDFa to Annotate the Statement  <p> <span  about=&quot;uni:949318&quot; > <span  property=&quot;foaf:name&quot; >Adr...
Annotating an image <div  about=&quot;p:949318&quot; >  <img src=&quot;http://.../Me.jpg&quot; />  <span  property=&quot;d...
Encoding a license <a  rel=&quot;license&quot;  href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;> a Creative C...
What about  foaf:address, dc:creator  ...? <ul><ul><li>A triple has the form of  </li></ul></ul><ul><li>(subject, property...
Learning RDfa <ul><ul><li>Study and understand the XHTML+RDFa 1.0 profile </li></ul></ul><ul><ul><li>Choose the vocabulari...
Do you like RDfa? Start Annotating Adrian Giurca, Semantic Web, Cottbus, June 2009
Upcoming SlideShare
Loading in...5
×

Annotating with RDFa

1,598

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,598
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Annotating with RDFa

  1. 1. Semantic Web (SemWeb) Annotating with RDFa Adrian Giurca, Semantic Web, Cottbus, June 2009 Adrian Giurca
  2. 2. RDF is a language for ... <ul><ul><li>Expressing propositional information (fact statements), such as annotations or metadata, in Web documents </li></ul></ul><ul><ul><li>Benefits: </li></ul></ul><ul><ul><ul><li>Semantic search and navigation </li></ul></ul></ul><ul><ul><ul><li>Publishing and interchanging data in a machine-processible format </li></ul></ul></ul><ul><ul><li>RDF is the basis of the Semantic Web </li></ul></ul><ul><ul><li>RDF is NOT RDFa ! </li></ul></ul>Adrian Giurca, Semantic Web, Cottbus, June 2009
  3. 3. 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;
  4. 4. 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 <ul><ul><li>Bad point: A computer application cannot easily obtain information such as: </li></ul></ul><ul><ul><ul><li>&quot;Adrian Giurca&quot; is the name of a person </li></ul></ul></ul><ul><ul><ul><li>&quot;Walther Pauer Str. 2, 03044, Cottbus, DE&quot; is an address </li></ul></ul></ul>
  5. 5. 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; <ul><ul><li>A Semantic Web Reasoner can use these triples to obtain new information </li></ul></ul>
  6. 6. 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 <ul><ul><li>about , property , content are NOT XHTML attributes! </li></ul></ul><ul><ul><li>They are additional attributes introduced by the </li></ul></ul><ul><li>XHTML+RDFa 1.0 profile </li></ul><?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>
  7. 7. 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 <ul><ul><li>The rel attribute has specific values: </li></ul></ul><ul><ul><ul><li>alternate, appendix, bookmark, cite, chapter, contents, copyright, glossary, help, icon, index, last, license, meta, next, p3pv1, prev, role, section, subsection, start, up </li></ul></ul></ul>
  8. 8. What about foaf:address, dc:creator ...? <ul><ul><li>A triple has the form of </li></ul></ul><ul><li>(subject, property, object) </li></ul><ul><ul><li>Therefore foaf:name , foaf:address , dc:title , dc:creator are properties </li></ul></ul><ul><ul><li>They belong to special ontologies defined to annotate Web content </li></ul></ul><ul><ul><li>FOAF (foaf) is a vocabulary about persons </li></ul></ul><ul><ul><li>The Dublin Core Metadata Element Set (dc) is a vocabulary of fifteen properties for use in (Web) resource description. </li></ul></ul>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;
  9. 9. Learning RDfa <ul><ul><li>Study and understand the XHTML+RDFa 1.0 profile </li></ul></ul><ul><ul><li>Choose the vocabularies you will use accordingly with your content (FOAF, Dublin Core, DOAP , ...) </li></ul></ul><ul><ul><li>Start annotating </li></ul></ul><ul><ul><li>Understand the triples you just created by using such annotations </li></ul></ul>Adrian Giurca, Semantic Web, Cottbus, June 2009
  10. 10. Do you like RDfa? Start Annotating Adrian Giurca, Semantic Web, Cottbus, June 2009
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×