RDFa in ostala spletna semantika

  • 1,311 views
Uploaded on

My Lecture in Kiberpipa about RDFa and web semantics

My Lecture in Kiberpipa about RDFa and web semantics

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,311
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
7
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. RDFa in ostala spletna semantika Jure Čuhalev http://www.jurecuhalev.com/blog/
  • 2. Splet je ..
  • 3. .. omrežje podatkov (web of data)
  • 4. Mikroformati
  • 5. Mikroformati <div class=quot;veventquot;> <a class=quot;urlquot; href=quot;http://www.kiberpipa.org/index.php? name=News&file=article&sid=959quot;>SU: RDFa</a> <span class=quot;summaryquot;>RDFa predavanje</span>: <abbr class=quot;dtstartquot; title=quot;2008-03-12T19:00+01:00quot;>12 marec ob 19h</abbr> do <abbr class=quot;dtendquot; title=quot;2008-03-12T19:00+01:00quot;>12 marec do 20h</abbr>, v <span class=quot;locationquot;>Kiberpipa, Ljubljana, Slovenia</span> </div>
  • 6. Mikroformati <div class=quot;veventquot;> <a class=quot;urlquot; href=quot;http://www.kiberpipa.org/index.php? name=News&file=article&sid=959quot;>SU: RDFa</a> <span class=quot;summaryquot;>RDFa predavanje</span>: <abbr class=quot;dtstartquot; title=quot;2008-03-12T19:00+01:00quot;>12 marec ob 19h</abbr> do <abbr class=quot;dtendquot; title=quot;2008-03-12T20:00+01:00quot;>12 marec do 20h</abbr>, v <span class=quot;locationquot;>Kiberpipa, Ljubljana, Slovenia</span> </div>
  • 7. Obnašanje ljudi ...
  • 8. ... vzorce v divjini
  • 9. Mikroformati so neprijazni do robotov
  • 10. Mikroformati <div class=quot;veventquot;> <a class=quot;urlquot; href=quot;http://www.kiberpipa.org/index.php? name=News&file=article&sid=959quot;>SU: RDFa</a> <span class=quot;summaryquot;>RDFa predavanje</span>: <abbr class=quot;dtstartquot; title=quot;2008-03-12T19:00+01:00quot;>12 marec ob 19h</abbr> do <abbr class=quot;dtendquot; title=quot;2008-03-12T20:00+01:00quot;>12 marec do 20h</abbr>, v <span class=quot;locationquot;>Kiberpipa, Ljubljana, Slovenia</span> </div> Imena razredov in oznak so mehki dogovor
  • 11. Resource Description Framework (RDF) http://nennett.net/2007/08/microformats-rdf.html
  • 12. <rdf:RDF xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:foaf=quot;http://xmlns.com/foaf/0.1/quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot;> <rdf:Description rdf:about=quot;http://en.wikipedia.org/wiki/Tony_Bennquot;> <dc:title>Tony Benn</dc:title> <dc:publisher>Wikipedia</dc:publisher> <foaf:primaryTopic> <foaf:Person> <foaf:name>Tony Benn</foaf:name> </foaf:Person> </foaf:primaryTopic> </rdf:Description> </rdf:RDF>
  • 13. Kako to preplesti s spletno stranjo?
  • 14. RDFa RDF .. v HTML .. atributih
  • 15. RDFa <div xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; about=quot;http://www.example.com/books/wikinomicsquot;> <span property=quot;dc:titlequot;>Wikinomics</span> <span property=quot;dc:authorquot;>Don Tapscott</span> <span property=quot;dc:datequot;>2006-10-01</span> </div>
  • 16. RDFa <div xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; about=quot;http://www.example.com/books/wikinomicsquot;> <span property=quot;dc:titlequot;>Wikinomics</span> <span property=quot;dc:authorquot;>Don Tapscott</span> <span property=quot;dc:datequot;>2006-10-01</span> </div>
  • 17. RDFa <div xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; about=quot;http://www.example.com/books/wikinomicsquot;> <span property=quot;dc:titlequot;>Wikinomics</span> <span property=quot;dc:authorquot;>Don Tapscott</span> <span property=quot;dc:datequot;>2006-10-01</span> </div>
  • 18. RDFa Celoten primer
  • 19. RDFa <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?> <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML+RDFa 1.0//ENquot; quot;http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtdquot;> <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:foaf=quot;http://xmlns.com/foaf/0.1/quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; xml:lang=quot;enquot;> <head> <title>John's Home Page</title> <base href=quot;http://example.org/john-d/quot; /> <meta property=quot;dc:creatorquot; content=quot;Jonathan Doequot; /> </head> <body> <h1>John's Home Page</h1> <p>My name is <span property=quot;foaf:nickquot;>John D</span> and I like <a href=quot;http://www.neubauten.org/quot; rel=quot;foaf:interestquot; xml:lang=quot;dequot;>Einstürzende Neubauten</a>.</p> <p>My <span rel=quot;foaf:interestquot; resource=quot;urn:ISBN:0752820907quot;>favorite book</span> is the inspiring <span about=quot;urn:ISBN:0752820907quot;><cite property=quot;dc:titlequot;>Weaving the Web</cite> by <span property=quot;dc:authorquot;>Tim Berners-Lee</span></span>.</p> </body> </html>
  • 20. RDFa <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?> <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML+RDFa 1.0//ENquot; quot;http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtdquot;> <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:foaf=quot;http://xmlns.com/foaf/0.1/quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; xml:lang=quot;enquot;> <head> <title>John's Home Page</title> <base href=quot;http://example.org/john-d/quot; /> <meta property=quot;dc:creatorquot; content=quot;Jonathan Doequot; /> </head> <body> <h1>John's Home Page</h1> <p>My name is <span property=quot;foaf:nickquot;>John D</span> and I like <a href=quot;http://www.neubauten.org/quot; rel=quot;foaf:interestquot; xml:lang=quot;dequot;>Einstürzende Neubauten</a>.</p> <p>My <span rel=quot;foaf:interestquot; resource=quot;urn:ISBN:0752820907quot;>favorite book</span> is the inspiring <span about=quot;urn:ISBN:0752820907quot;><cite property=quot;dc:titlequot;>Weaving the Web</cite> by <span property=quot;dc:authorquot;>Tim Berners-Lee</span></span>.</p> </body> </html>
  • 21. RDFa <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?> <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML+RDFa 1.0//ENquot; quot;http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtdquot;> <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:foaf=quot;http://xmlns.com/foaf/0.1/quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; xml:lang=quot;enquot;> <head> <title>John's Home Page</title> <base href=quot;http://example.org/john-d/quot; /> <meta property=quot;dc:creatorquot; content=quot;Jonathan Doequot; /> </head> <body> <h1>John's Home Page</h1> <p>My name is <span property=quot;foaf:nickquot;>John D</span> and I like <a href=quot;http://www.neubauten.org/quot; rel=quot;foaf:interestquot; xml:lang=quot;dequot;>Einstürzende Neubauten</a>.</p> <p>My <span rel=quot;foaf:interestquot; resource=quot;urn:ISBN:0752820907quot;>favorite book</span> is the inspiring <span about=quot;urn:ISBN:0752820907quot;><cite property=quot;dc:titlequot;>Weaving the Web</cite> by <span property=quot;dc:authorquot;>Tim Berners-Lee</span></span>.</p> </body> </html>
  • 22. RDFa <?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?> <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML+RDFa 1.0//ENquot; quot;http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtdquot;> <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:foaf=quot;http://xmlns.com/foaf/0.1/quot; xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; xml:lang=quot;enquot;> <head> <title>John's Home Page</title> <base href=quot;http://example.org/john-d/quot; /> <meta property=quot;dc:creatorquot; content=quot;Jonathan Doequot; /> </head> <body> <h1>John's Home Page</h1> <p>My name is <span property=quot;foaf:nickquot;>John D</span> and I like <a href=quot;http://www.neubauten.org/quot; rel=quot;foaf:interestquot; xml:lang=quot;dequot;>Einstürzende Neubauten</a>.</p> <p>My <span rel=quot;foaf:interestquot; resource=quot;urn:ISBN:0752820907quot;>favorite book</span> is the inspiring <span about=quot;urn:ISBN:0752820907quot;><cite property=quot;dc:titlequot;>Weaving the Web</cite> by <span property=quot;dc:authorquot;>Tim Berners-Lee</span></span>.</p> </body> </html>
  • 23. Orodja
  • 24. RDFa bookmarklets http://www.w3.org/2006/07/ SWD/RDFa/impl/js/
  • 25. Semantic radar http://sioc-project.org/firefox
  • 26. Yahoo! Microsearch http://www.yr-bcn.es/demos/ microsearch/
  • 27. SPARQL (RDF Query Language) FOAF
  • 28. Fotografije - pod Creative Commons licenco http://flickr.com/photos/ecstaticist/1340787730/ http://flickr.com/photos/ecstaticist/289169665/ http://flickr.com/photos/54912323@N00/348737182/ http://flickr.com/photos/eqqman/142532682/ http://flickr.com/photos/patrick_q/109986712/ http://flickr.com/photos/martin_heigan/1224949772/ http://flickr.com/photos/baboon/3946055/ http://flickr.com/photos/89376128@N00/1130033952/ http://flickr.com/photos/gustavog/34150783/ http://flickr.com/photos/amigurumikingdom/161932998/ http://flickr.com/photos/bepster/80025887/ http://flickr.com/photos/cesarcabrera/396501977/ http://flickr.com/photos/ecstaticist/1845111090/
  • 29. http://www.jurecuhalev.com/blog