Introduction to RDFa
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Introduction to RDFa

  • 1,719 views
Uploaded on

Slides for RDFa introduction given by Yaron Koren at New York Semantic Web Code Camp 1 - http://www.techpresentations.org/New_York_Semantic_Web_Code_Camp_(June_2008_New_York_SemWeb_Meetup)

Slides for RDFa introduction given by Yaron Koren at New York Semantic Web Code Camp 1 - http://www.techpresentations.org/New_York_Semantic_Web_Code_Camp_(June_2008_New_York_SemWeb_Meetup)

More in: Technology
  • 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,719
On Slideshare
1,620
From Embeds
99
Number of Embeds
3

Actions

Shares
Downloads
11
Comments
0
Likes
0

Embeds 99

http://www.techpresentations.org 96
http://www.linkedin.com 2
http://www.slideee.com 1

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
    • A proposed semantic data format – not yet a standard
    • First proposed in 2004
  • 2. Web page Joe Semantic's personal information I work as a programmer at MegaCorp - you can contact me at [email_address] , or by phone at (101)010-1010.
  • 3. HTML source <html> <head> <title>Joe Programmer's contact info</title> <base href=&quot;http://joeprogrammer.com/contact-info.html&quot; /> </head> <body> <h1>Joe Semantic's personal information</h1> <p>I work as a programmer at <a href=&quot;http://megacorp.com&quot;>MegaCorp</a> - you can contact me at <a href=&quot;mailto:js@megacorp.com&quot;>js@megacorp.com</a>, or by phone at (101)010-1010.</p> </body> </html>
  • 4. RDF page <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <rdf:RDF xmlns:contact=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot; > <rdf:Description rdf:about= &quot;http://joesemantic.com/contact-info.html&quot; > <contact:title xml:lang=&quot;en&quot;>programmer</contact:title> <contact:org rdf:resource=&quot;http://megacorp.com&quot;/> <contact:email rdf:resource=&quot;js@megacorp.com&quot;/> <contact:tel xml:lang=&quot;en&quot;> (101)010-1010 </contact:tel> </rdf:Description> </rdf:RDF>
  • 5. Why not combine the two?
  • 6. <html xmlns:contact=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot; > <head> <title>Joe Semantic's personal information</title> <base href=&quot;http://joesemantic.com/contact-info.html&quot; /> </head> <body> <h1>Joe Semantic's personal information</h1> <p>I work as a <span property=”contact:title”>programmer</span> at <a href=&quot;http://megacorp.com&quot; rel=&quot;contact:org&quot;>MegaCorp</a> - you can contact me at <a rel=&quot;contact:email&quot; href=&quot;mailto:js@megacorp.com&quot;>js@megacorp.com</a> , or by phone at <span property=”contact:tel”>(101)010-1010</span> .</p> </body> </html>
  • 7. Three main keywords in RDFa <a href=” object ” rel =” predicate ”>...</a> ...defines a linked triple <span property =” predicate ”> object </span> ...defines an unlinked triple <span about =” subject ”>...</span> ...creates a temporary subject for triples
  • 8. Creating temporary subjects ... I'm currently reading <span about=”urn:ISBN:0-596-00027-8”> <span property=&quot;dc:title&quot;>Programming Perl</span> by <span property=&quot;dc:creator&quot;>Larry Wall</span> </span> . ...