SlideShare uma empresa Scribd logo
1 de 55
What, Why and How Silicon Valley CodeCamp 2010 October 9, 2010 Mike Hewett (mike@HewettResearch.com) Shamod Lacoul (shamod@gmail.com) Members of the League of Extraordinary Modelers (LEM) Licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 Unported License
The Speakers Mike Hewett has 25 years of experience in building AI systems, focusing on constructing knowledge bases and reasoning about knowledge.  He is the author of the Algernon rule engine and the Jatha LISP library.  Mike has a Masters in AI from Stanford University and a PhD in Computer Science from the University of Texas at Austin. Shamod Lacoul is a software entrepreneur, developer and consultant.   He has been working as a software consultant for 7 years, focusing on  back-end and data integration technologies. He is an assistant organizer of the Silicon Valley Semantic Technologies (SVST) Meetup. He has a Masters in Software Engineering and Bachelors in Computer Science from San Jose State University.
Outline ,[object Object]
What is RDFa?
Why use RDFa?
How to use RDFa?
How is RDFa related to Semantic Web?
Current websites using RDFa,[object Object]
What is Semantics? What does this sentence mean?           “The Bears are in New York” Bears are migrating to New York state. Bears are migrating to New York City. Chicago is playing the Giants in football. Prices are lower on the NY Stock Exchange. Is it the title of a book?
Scenario: Lou’s Café hours Scraping information from web pages. Can a program find out when Lou’s Café is open on Saturday?
Scenario: Lou’s Café hours When is Lou’s Café open on Saturday? The hours are hard to find by eye. Even harder to find with a program. But… The hours could be annotated with RDFa tags. Programs can easily find the information. Easier than scraping the web page and guessing.
Scraping information from the web People often use programs to scrape information from web pages Web Page Web Server Database Copy Find Extract Use Program
Scraping information is easier: RDFa makes it easier to find and retrieve information from web pages Web Page Web Server Database Copy Find Extract Use Program
The vision of the Semantic Web Agents access information in DBs directly. Web Page Web Server RDF Database Program Query Use
What is RDF? RDF is a data model where all data consists of 3-tuples of entities, commonly called triples. <subject>         		<predicate>    	       <object> <x:Person-9372>   <x:firstName>  “Don” <x:Person-9372>   <x:lastName>   “Knuth” <x:Person-9372>   <x:friendOf>   <x:Person-8614>
Outline ,[object Object]
What is RDFa?
Why use RDFa?
How to use RDFa?
How is RDFa related to Semantic Web?
Current websites using RDFa,[object Object]
RDFa example – metadata <div about="/id/rdfa-course">     <h3 property="dc:title">RDFa Course</h3>     <pproperty="dc:description" lang="en"> This course covers the basics of RDFa...   </p> Last modified: <span property="dc:modified" datatype="xsd:date” content="2009-02-06"> 6th Feb 2009 </span> </div> Borrowed from a talk by JeniTennison at the XML Summer School
RDFa attributes The attributes map to RDF components <div about=”rdfa-course">     <h3 property="dc:title">RDFa Course</h3>
RDFa vocabulary Provides the keywords and the semantics Often called a microformat Examples of vocabularies: DC = Dublin Core Describes document metadata dc:title dc:author FOAF = Friend of a Friend foaf:name foaf:mbox
Other useful vocabularies hReview(recognized by Google): itemreviewed, rating, reviewer, dtreviewed, description, summary hCard (Person) (rec. by Google): name, nickname, photo, title, role, url, affiliation, address, …  hCalendar (Event) (rec. by Google): summary, url, location, description, startDate, endDate, duration, eventType, geo, photo Facebook Share & Yahoo SearchMonkeyRDFa (video) (rec. by Google): image_src, video_src, description, title, video_width, video_height, …
RDFa example – person <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Person">  My name is <span property="v:name">Bob Smith</span>, but people call me <span property="v:nickname">Smithy</span>.  Here is my homepage: <a href="http://www.example.com" rel="v:url">www.example.com</a>.  I live in <span rel="v:address"> <span typeof="v:Address">  <span property="v:locality">Albuquerque</span>, <span property="v:region">NM</span> </span> </span>  and work as an <span property="v:title">engineer</span>  at <span property="v:affiliation">ACME Corp</span>.  My friends: <a href="http://darryl-blog.example.com" rel="v:friend">Darryl</a>, <a href="http://edna-blog.example.com" rel="v:friend">Edna</a>  </div>
RDFa example – event <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Event">     <a href="http://www.example.com/events/spinaltap" rel="v:url" property="v:summary">Spinal Tap</a>     <imgsrc="spinal_tap.jpg" rel="v:photo" />     <span property="v:description">After their highly-publicized search for a new drummer, Spinal Tap kicks off their latest comeback tour with a San Francisco show. </span>    When:    <span property="v:startDate" content="2009-10-15T19:00-08:00">Oct 15, 7:00PM</span>—            <span property="v:endDate" content="2009-10-15T21:00-08:00">9:00PM</span>       Where:    <span rel="v:location">     <span typeof="v:Organization">                  <span property="v:name">Warfield Theatre</span>,        <span rel="v:address">        <span typeof="v:Address">            <span property="v:street-address">982 Market St</span>,            <span property="v:locality">San Francisco</span>,        <span property="v:region">CA</span>         </span>       </span>           …    Category: <span property="v:eventType">Concert</span> </div>
Alternatives for adding Semantics RDFa – W3C standard + validator Microformat syntax Microdata syntax Proprietary tags and syntax Facebook: Open Graph
Microformat example – event <div class="location vcard">   <span class="fn org">Warfield Theatre</span>,  <span class="adr">    <span class="street-address">982 Market St       </span>,   <span class="locality">San Francisco</span>,   <span class="region">CA</span> </span>   </span>  </div>
Microdata example - event <span itemprop="location" itemscopeitemtype="http://data-vocabulary.org/Organization"> ​<span itemprop="name">Warfield Theatre</span> ​<span itemprop="address" itemscopeitemtype="http://data-vocabulary.org/Address">     <span itemprop="street-address">982 Market St</span>, <span itemprop="locality">San Francisco</span>, <span itemprop="region">CA</span>    </span>   </span>  </span>
Outline ,[object Object]
What is RDFa?
Why use RDFa?
How to use RDFa?
How is RDFa related to Semantic Web?
Current websites using RDFa,[object Object]
Open Graph <html xmlns="http://www.w3.org/1999/xhtml"  xmlns:og=http://opengraphprotocol.org/schema/ xmlns:fb="http://www.facebook.com/2008/fbml">  <head> <title>The Rock (1996)</title>  <meta property="og:title" content="The Rock"/>   <meta property="og:type" content="movie"/>  <meta property="og:url"              content="http://www.imdb.com/title/tt0117500/"/>   <meta property="og:image"              content="http://ia.media-imdb.com/rock.jpg"/>  <meta property="og:site_name" content="IMDb"/>  <meta property="og:description" content="A group of U.S. Marines, under command of a renegade general, take over Alcatraz and threaten San Francisco Bay with biological weapons."/>  ... </head> ... </html>
How Better understanding of the content Better ad placement To build Rich Snippets: Uses RDFa
Outline ,[object Object]
What is RDFa?
Why use RDFa?
How to use RDFa?
How is RDFa related to Semantic Web?
Current websites using RDFa,[object Object]
A sample webpage with RDFa
Can you tell the difference? NO, it’s tough with your naked eye.
Reasons: RDFaattributes are meant for machines. RDFaattributes are embedded inside HTML tags  invisible to the user.
One quick way to find RDFa tags is by using a tool called RDFaDev http://rdfadev.sourceforge.net/ RDFaDev is a Firefox plugin enables you to examine the RDFa markup allows you to query the data on the page using SPARQL detects common pitfalls in the use of RDFa
HTML without RDFa <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Silicon Valley Code Camp</title> </head> <body> <p>  <b>Weekend at the Silicon Valley Code Camp 2010</b><br /><br /> Starts on: <span>10-09-2010</span><br />  Ends on: <span>10-10-2010</span><br /><br />   See <a href="http://siliconvalley-codecamp.com/">Silicon Valley Code Camp 2010</a> This event is located at <span>Foothills College</span><br /> </p> </body> </html>
HTML with RDFa <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#" xmlns:xs="http://www.w3.org/2001/XMLSchema#"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Insert title here</title> </head> <body> <pabout="#event1" typeof="cal:Vevent"> <bproperty="cal:summary">Weekend at the Silicon Valley Code Camp 2010</b> Starts on: <span property="cal:dtstart" datatype="xs:date">10-09-2010</span> Ends on: <span property="cal:dtend" datatype="xs:date">10-10-2010</span> See  <a rel="cal:url" href="http://siliconvalley-codecamp.com/"> Silicon Valley Code Camp 2010</a><br /><br /> This event is located at <span property="cal:location">Foothills College</span> </p> </body> </html>
http://check.rdfa.info/ Use to validate RDFa
Result from  http://check.rdfa.info/ NOTE: It also tells you how Facebook, Google parses your RDFa
GRDDL = Gleaning Resource Descriptions from Dialects of Languages a technique of extracting RDF data from  XML documents (in particular XHTML pages). Source: http://www.w3.org/TR/2006/WD-grddl-primer-20061002/
An example of RDFawith GRDDL profile <?xml version="1.0" encoding="UTF-8"?>  <html xmlns="http://www.w3.org/1999/xhtml"  xml:base="http://www.dc4plus.com/references/rdf_sem.html"  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"  xmlns:dc="http://purl.org/dc/elements/1.1/"  xmlns:foaf="http://xmlns.com/foaf/0.1/" > <head profile="http://ns.inria.fr/grddl/rdfa/">  <title>Biblio description</title> </head>  <body> <h1>Biblio description</h1>  <dl about="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/">  <dt>Title</dt>  <ddproperty="dc:title">RDF Semantics - W3C Recommendation 10 February 2004</dd>  <dt>Author</dt>  <ddrel="dc:creator" href="#a1">  <span id="a1"> <link rel="rdf:type" href="[foaf:Person]"/>  <span property="foaf:name">Patrick Hayes</span> see  <a rel="foaf:homepage" href="http://www.ihmc.us/users/user.php?UserID=42"> homepage</a> </span>  </dd> </dl> </body> </html> Source: http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/rdfaprimer/PrimerRDFaSection.html

Mais conteúdo relacionado

Mais procurados

RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031kwangsub kim
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)Myungjin Lee
 
Get on the Linked Data Web!
Get on the Linked Data Web!Get on the Linked Data Web!
Get on the Linked Data Web!Armin Haller
 
Saveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF dataSaveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF dataFuming Shih
 
RDFa: an introduction
RDFa: an introductionRDFa: an introduction
RDFa: an introductionKai Li
 
Resource description framework
Resource description frameworkResource description framework
Resource description frameworkhozifa1010
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemasDC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemasMikael Nilsson
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFSNilesh Wagmare
 
RDF SHACL, Annotations, and Data Frames
RDF SHACL, Annotations, and Data FramesRDF SHACL, Annotations, and Data Frames
RDF SHACL, Annotations, and Data FramesKurt Cagle
 
Deploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application ServerDeploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application Serverwebhostingguy
 
The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)Myungjin Lee
 
Solid pods and the future of the spatial web
Solid pods and the future of the spatial webSolid pods and the future of the spatial web
Solid pods and the future of the spatial webKurt Cagle
 
Introduction to RDFa
Introduction to RDFaIntroduction to RDFa
Introduction to RDFaIvan Herman
 
The Lonesome LOD Cloud
The Lonesome LOD CloudThe Lonesome LOD Cloud
The Lonesome LOD CloudRuben Verborgh
 
Jarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageJarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageMustafa Jarrar
 
A Semantic Data Model for Web Applications
A Semantic Data Model for Web ApplicationsA Semantic Data Model for Web Applications
A Semantic Data Model for Web ApplicationsArmin Haller
 

Mais procurados (20)

RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)
 
RDFa
RDFaRDFa
RDFa
 
Get on the Linked Data Web!
Get on the Linked Data Web!Get on the Linked Data Web!
Get on the Linked Data Web!
 
Saveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF dataSaveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF data
 
RDFa: an introduction
RDFa: an introductionRDFa: an introduction
RDFa: an introduction
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemasDC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
SWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDFSWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDF
 
RDF SHACL, Annotations, and Data Frames
RDF SHACL, Annotations, and Data FramesRDF SHACL, Annotations, and Data Frames
RDF SHACL, Annotations, and Data Frames
 
Deploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application ServerDeploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application Server
 
RDF Data Model
RDF Data ModelRDF Data Model
RDF Data Model
 
The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)
 
Solid pods and the future of the spatial web
Solid pods and the future of the spatial webSolid pods and the future of the spatial web
Solid pods and the future of the spatial web
 
Introduction to RDFa
Introduction to RDFaIntroduction to RDFa
Introduction to RDFa
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
The Lonesome LOD Cloud
The Lonesome LOD CloudThe Lonesome LOD Cloud
The Lonesome LOD Cloud
 
Jarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageJarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query Language
 
A Semantic Data Model for Web Applications
A Semantic Data Model for Web ApplicationsA Semantic Data Model for Web Applications
A Semantic Data Model for Web Applications
 

Destaque

Kriton Curi Klasik TSM Korosu 19 Ocak konseri
Kriton Curi Klasik TSM Korosu 19 Ocak konseriKriton Curi Klasik TSM Korosu 19 Ocak konseri
Kriton Curi Klasik TSM Korosu 19 Ocak konseriaokutur
 
Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)
Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)
Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)RAZORDJ
 
Mbc Consulting Group
Mbc Consulting GroupMbc Consulting Group
Mbc Consulting GroupKevin Cook
 
Back to School October 2011
Back to School October 2011Back to School October 2011
Back to School October 2011Anna Donskoy
 
Ripmedia Film Marketing Intro 2011
Ripmedia Film Marketing Intro 2011Ripmedia Film Marketing Intro 2011
Ripmedia Film Marketing Intro 2011RipMedia Group,
 
Sea Bank Cottage
Sea Bank CottageSea Bank Cottage
Sea Bank Cottageseabank
 
NUR 151 Research Tuesday class
NUR 151 Research Tuesday classNUR 151 Research Tuesday class
NUR 151 Research Tuesday classDanielle Carlock
 
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012Mongara AB
 
NTTデータグループウェブサイトのマルチデバイス対応
NTTデータグループウェブサイトのマルチデバイス対応NTTデータグループウェブサイトのマルチデバイス対応
NTTデータグループウェブサイトのマルチデバイス対応力也 伊原
 
Unit 6e Vehicle insurance
Unit 6e Vehicle insuranceUnit 6e Vehicle insurance
Unit 6e Vehicle insuranceAndrew Hingston
 
Biodiversity in Adelaide | Biocity Studio
Biodiversity in Adelaide | Biocity StudioBiodiversity in Adelaide | Biocity Studio
Biodiversity in Adelaide | Biocity StudioBiocity Studio
 
Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...
Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...
Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...Networked Neighbourhoods
 
Cuadrado magico de albrecht durer
Cuadrado magico de albrecht durerCuadrado magico de albrecht durer
Cuadrado magico de albrecht durerariesckf
 

Destaque (20)

Kriton Curi Klasik TSM Korosu 19 Ocak konseri
Kriton Curi Klasik TSM Korosu 19 Ocak konseriKriton Curi Klasik TSM Korosu 19 Ocak konseri
Kriton Curi Klasik TSM Korosu 19 Ocak konseri
 
Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)
Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)
Powerpoint 20º aniversario bachatta techno factory @ sala versus (11 06-2011)
 
Mbc Consulting Group
Mbc Consulting GroupMbc Consulting Group
Mbc Consulting Group
 
Back to School October 2011
Back to School October 2011Back to School October 2011
Back to School October 2011
 
Ripmedia Film Marketing Intro 2011
Ripmedia Film Marketing Intro 2011Ripmedia Film Marketing Intro 2011
Ripmedia Film Marketing Intro 2011
 
Sea Bank Cottage
Sea Bank CottageSea Bank Cottage
Sea Bank Cottage
 
Induction
InductionInduction
Induction
 
NUR 151 Research Tuesday class
NUR 151 Research Tuesday classNUR 151 Research Tuesday class
NUR 151 Research Tuesday class
 
Internet safety by kiran
Internet safety by kiranInternet safety by kiran
Internet safety by kiran
 
CPD 150: Finding Sources
CPD 150: Finding SourcesCPD 150: Finding Sources
CPD 150: Finding Sources
 
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
Sociala media Svensk Bensinhandel, Mongara Gran Canaria 2012
 
40 dias de amor mensaje 1
40 dias de amor mensaje 140 dias de amor mensaje 1
40 dias de amor mensaje 1
 
NTTデータグループウェブサイトのマルチデバイス対応
NTTデータグループウェブサイトのマルチデバイス対応NTTデータグループウェブサイトのマルチデバイス対応
NTTデータグループウェブサイトのマルチデバイス対応
 
Electonic tongue
Electonic tongueElectonic tongue
Electonic tongue
 
Unit 6e Vehicle insurance
Unit 6e Vehicle insuranceUnit 6e Vehicle insurance
Unit 6e Vehicle insurance
 
Biodiversity in Adelaide | Biocity Studio
Biodiversity in Adelaide | Biocity StudioBiodiversity in Adelaide | Biocity Studio
Biodiversity in Adelaide | Biocity Studio
 
Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...
Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...
Online Neighbourhoods Networks Conference, "Co-productiuon & Neighbourhood Ne...
 
Cuadrado magico de albrecht durer
Cuadrado magico de albrecht durerCuadrado magico de albrecht durer
Cuadrado magico de albrecht durer
 
倒影
倒影倒影
倒影
 
Reciclemos Para Vivir Mejor
Reciclemos Para Vivir MejorReciclemos Para Vivir Mejor
Reciclemos Para Vivir Mejor
 

Semelhante a Silicon Valley CodeCamp 2010 Speakers Mike & Shamod Explain RDFa Benefits

The Semantic Web An Introduction
The Semantic Web An IntroductionThe Semantic Web An Introduction
The Semantic Web An Introductionshaouy
 
Social Semantic Web on Facebook Open Graph protocol and Twitter Annotations
Social Semantic Web on Facebook Open Graph protocol and Twitter AnnotationsSocial Semantic Web on Facebook Open Graph protocol and Twitter Annotations
Social Semantic Web on Facebook Open Graph protocol and Twitter AnnotationsMyungjin Lee
 
Microformats I: What & Why
Microformats I: What & WhyMicroformats I: What & Why
Microformats I: What & WhyRachael L Moore
 
Creating Linked Data 2/5 Semtech2011
Creating Linked Data 2/5 Semtech2011Creating Linked Data 2/5 Semtech2011
Creating Linked Data 2/5 Semtech2011Juan Sequeda
 
Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010Juan Sequeda
 
Exploiter le Web Semantic, le comprendre et y contribuer
Exploiter le Web Semantic, le comprendre et y contribuerExploiter le Web Semantic, le comprendre et y contribuer
Exploiter le Web Semantic, le comprendre et y contribuerMathieu d'Aquin
 
Agile Descriptions
Agile DescriptionsAgile Descriptions
Agile DescriptionsTony Hammond
 
Semantic Web
Semantic WebSemantic Web
Semantic Webhardchiu
 
Understanding the Standards Gap
Understanding the Standards GapUnderstanding the Standards Gap
Understanding the Standards GapDan Brickley
 
Semantic Web: A web that is not the Web
Semantic Web: A web that is not the WebSemantic Web: A web that is not the Web
Semantic Web: A web that is not the WebBruce Esrig
 
Gist od2-feb-2011
Gist od2-feb-2011Gist od2-feb-2011
Gist od2-feb-2011ianibbo
 
Linked data business models
Linked data business modelsLinked data business models
Linked data business modelsJesus Contreras
 
Making the Web searchable
Making the Web searchableMaking the Web searchable
Making the Web searchablePeter Mika
 
The Semantic Web
The Semantic WebThe Semantic Web
The Semantic Webostephens
 
How to Build a Semantic Search System
How to Build a Semantic Search SystemHow to Build a Semantic Search System
How to Build a Semantic Search SystemTrey Grainger
 
Integrating Government Data New
Integrating Government Data NewIntegrating Government Data New
Integrating Government Data Newguest4543bb
 
Semantic Web
Semantic WebSemantic Web
Semantic Webgregreser
 

Semelhante a Silicon Valley CodeCamp 2010 Speakers Mike & Shamod Explain RDFa Benefits (20)

The Semantic Web An Introduction
The Semantic Web An IntroductionThe Semantic Web An Introduction
The Semantic Web An Introduction
 
Web 3 0
Web 3 0Web 3 0
Web 3 0
 
Social Semantic Web on Facebook Open Graph protocol and Twitter Annotations
Social Semantic Web on Facebook Open Graph protocol and Twitter AnnotationsSocial Semantic Web on Facebook Open Graph protocol and Twitter Annotations
Social Semantic Web on Facebook Open Graph protocol and Twitter Annotations
 
Microformats I: What & Why
Microformats I: What & WhyMicroformats I: What & Why
Microformats I: What & Why
 
Creating Linked Data 2/5 Semtech2011
Creating Linked Data 2/5 Semtech2011Creating Linked Data 2/5 Semtech2011
Creating Linked Data 2/5 Semtech2011
 
Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010
 
Exploiter le Web Semantic, le comprendre et y contribuer
Exploiter le Web Semantic, le comprendre et y contribuerExploiter le Web Semantic, le comprendre et y contribuer
Exploiter le Web Semantic, le comprendre et y contribuer
 
Agile Descriptions
Agile DescriptionsAgile Descriptions
Agile Descriptions
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
Understanding the Standards Gap
Understanding the Standards GapUnderstanding the Standards Gap
Understanding the Standards Gap
 
Semantic Web: A web that is not the Web
Semantic Web: A web that is not the WebSemantic Web: A web that is not the Web
Semantic Web: A web that is not the Web
 
Gist od2-feb-2011
Gist od2-feb-2011Gist od2-feb-2011
Gist od2-feb-2011
 
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
 
Linked data business models
Linked data business modelsLinked data business models
Linked data business models
 
Building Web Hack Interfaces
Building Web Hack InterfacesBuilding Web Hack Interfaces
Building Web Hack Interfaces
 
Making the Web searchable
Making the Web searchableMaking the Web searchable
Making the Web searchable
 
The Semantic Web
The Semantic WebThe Semantic Web
The Semantic Web
 
How to Build a Semantic Search System
How to Build a Semantic Search SystemHow to Build a Semantic Search System
How to Build a Semantic Search System
 
Integrating Government Data New
Integrating Government Data NewIntegrating Government Data New
Integrating Government Data New
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 

Último

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 

Último (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 

Silicon Valley CodeCamp 2010 Speakers Mike & Shamod Explain RDFa Benefits

  • 1. What, Why and How Silicon Valley CodeCamp 2010 October 9, 2010 Mike Hewett (mike@HewettResearch.com) Shamod Lacoul (shamod@gmail.com) Members of the League of Extraordinary Modelers (LEM) Licensed under a Creative Commons Attribution- Noncommercial-Share Alike 3.0 Unported License
  • 2. The Speakers Mike Hewett has 25 years of experience in building AI systems, focusing on constructing knowledge bases and reasoning about knowledge. He is the author of the Algernon rule engine and the Jatha LISP library. Mike has a Masters in AI from Stanford University and a PhD in Computer Science from the University of Texas at Austin. Shamod Lacoul is a software entrepreneur, developer and consultant. He has been working as a software consultant for 7 years, focusing on back-end and data integration technologies. He is an assistant organizer of the Silicon Valley Semantic Technologies (SVST) Meetup. He has a Masters in Software Engineering and Bachelors in Computer Science from San Jose State University.
  • 3.
  • 6. How to use RDFa?
  • 7. How is RDFa related to Semantic Web?
  • 8.
  • 9. What is Semantics? What does this sentence mean? “The Bears are in New York” Bears are migrating to New York state. Bears are migrating to New York City. Chicago is playing the Giants in football. Prices are lower on the NY Stock Exchange. Is it the title of a book?
  • 10. Scenario: Lou’s Café hours Scraping information from web pages. Can a program find out when Lou’s Café is open on Saturday?
  • 11. Scenario: Lou’s Café hours When is Lou’s Café open on Saturday? The hours are hard to find by eye. Even harder to find with a program. But… The hours could be annotated with RDFa tags. Programs can easily find the information. Easier than scraping the web page and guessing.
  • 12. Scraping information from the web People often use programs to scrape information from web pages Web Page Web Server Database Copy Find Extract Use Program
  • 13. Scraping information is easier: RDFa makes it easier to find and retrieve information from web pages Web Page Web Server Database Copy Find Extract Use Program
  • 14. The vision of the Semantic Web Agents access information in DBs directly. Web Page Web Server RDF Database Program Query Use
  • 15. What is RDF? RDF is a data model where all data consists of 3-tuples of entities, commonly called triples. <subject> <predicate> <object> <x:Person-9372> <x:firstName> “Don” <x:Person-9372> <x:lastName> “Knuth” <x:Person-9372> <x:friendOf> <x:Person-8614>
  • 16.
  • 19. How to use RDFa?
  • 20. How is RDFa related to Semantic Web?
  • 21.
  • 22. RDFa example – metadata <div about="/id/rdfa-course"> <h3 property="dc:title">RDFa Course</h3> <pproperty="dc:description" lang="en"> This course covers the basics of RDFa... </p> Last modified: <span property="dc:modified" datatype="xsd:date” content="2009-02-06"> 6th Feb 2009 </span> </div> Borrowed from a talk by JeniTennison at the XML Summer School
  • 23. RDFa attributes The attributes map to RDF components <div about=”rdfa-course"> <h3 property="dc:title">RDFa Course</h3>
  • 24. RDFa vocabulary Provides the keywords and the semantics Often called a microformat Examples of vocabularies: DC = Dublin Core Describes document metadata dc:title dc:author FOAF = Friend of a Friend foaf:name foaf:mbox
  • 25. Other useful vocabularies hReview(recognized by Google): itemreviewed, rating, reviewer, dtreviewed, description, summary hCard (Person) (rec. by Google): name, nickname, photo, title, role, url, affiliation, address, … hCalendar (Event) (rec. by Google): summary, url, location, description, startDate, endDate, duration, eventType, geo, photo Facebook Share & Yahoo SearchMonkeyRDFa (video) (rec. by Google): image_src, video_src, description, title, video_width, video_height, …
  • 26. RDFa example – person <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Person"> My name is <span property="v:name">Bob Smith</span>, but people call me <span property="v:nickname">Smithy</span>. Here is my homepage: <a href="http://www.example.com" rel="v:url">www.example.com</a>. I live in <span rel="v:address"> <span typeof="v:Address"> <span property="v:locality">Albuquerque</span>, <span property="v:region">NM</span> </span> </span> and work as an <span property="v:title">engineer</span> at <span property="v:affiliation">ACME Corp</span>. My friends: <a href="http://darryl-blog.example.com" rel="v:friend">Darryl</a>, <a href="http://edna-blog.example.com" rel="v:friend">Edna</a> </div>
  • 27. RDFa example – event <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Event">     <a href="http://www.example.com/events/spinaltap" rel="v:url" property="v:summary">Spinal Tap</a>    <imgsrc="spinal_tap.jpg" rel="v:photo" />    <span property="v:description">After their highly-publicized search for a new drummer, Spinal Tap kicks off their latest comeback tour with a San Francisco show. </span>   When:    <span property="v:startDate" content="2009-10-15T19:00-08:00">Oct 15, 7:00PM</span>—    <span property="v:endDate" content="2009-10-15T21:00-08:00">9:00PM</span>    Where:    <span rel="v:location">     <span typeof="v:Organization">       <span property="v:name">Warfield Theatre</span>,        <span rel="v:address">      <span typeof="v:Address">       <span property="v:street-address">982 Market St</span>,          <span property="v:locality">San Francisco</span>,      <span property="v:region">CA</span>         </span>       </span>           …   Category: <span property="v:eventType">Concert</span> </div>
  • 28. Alternatives for adding Semantics RDFa – W3C standard + validator Microformat syntax Microdata syntax Proprietary tags and syntax Facebook: Open Graph
  • 29. Microformat example – event <div class="location vcard"> <span class="fn org">Warfield Theatre</span>, <span class="adr"> <span class="street-address">982 Market St </span>, <span class="locality">San Francisco</span>, <span class="region">CA</span> </span> </span> </div>
  • 30. Microdata example - event <span itemprop="location" itemscopeitemtype="http://data-vocabulary.org/Organization"> ​<span itemprop="name">Warfield Theatre</span> ​<span itemprop="address" itemscopeitemtype="http://data-vocabulary.org/Address"> <span itemprop="street-address">982 Market St</span>, <span itemprop="locality">San Francisco</span>, <span itemprop="region">CA</span> </span> </span> </span>
  • 31.
  • 34. How to use RDFa?
  • 35. How is RDFa related to Semantic Web?
  • 36.
  • 37. Open Graph <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og=http://opengraphprotocol.org/schema/ xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <title>The Rock (1996)</title> <meta property="og:title" content="The Rock"/> <meta property="og:type" content="movie"/> <meta property="og:url" content="http://www.imdb.com/title/tt0117500/"/> <meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/> <meta property="og:site_name" content="IMDb"/> <meta property="og:description" content="A group of U.S. Marines, under command of a renegade general, take over Alcatraz and threaten San Francisco Bay with biological weapons."/> ... </head> ... </html>
  • 38. How Better understanding of the content Better ad placement To build Rich Snippets: Uses RDFa
  • 39.
  • 42. How to use RDFa?
  • 43. How is RDFa related to Semantic Web?
  • 44.
  • 45. A sample webpage with RDFa
  • 46. Can you tell the difference? NO, it’s tough with your naked eye.
  • 47. Reasons: RDFaattributes are meant for machines. RDFaattributes are embedded inside HTML tags invisible to the user.
  • 48. One quick way to find RDFa tags is by using a tool called RDFaDev http://rdfadev.sourceforge.net/ RDFaDev is a Firefox plugin enables you to examine the RDFa markup allows you to query the data on the page using SPARQL detects common pitfalls in the use of RDFa
  • 49. HTML without RDFa <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Silicon Valley Code Camp</title> </head> <body> <p> <b>Weekend at the Silicon Valley Code Camp 2010</b><br /><br /> Starts on: <span>10-09-2010</span><br /> Ends on: <span>10-10-2010</span><br /><br /> See <a href="http://siliconvalley-codecamp.com/">Silicon Valley Code Camp 2010</a> This event is located at <span>Foothills College</span><br /> </p> </body> </html>
  • 50. HTML with RDFa <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#" xmlns:xs="http://www.w3.org/2001/XMLSchema#"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Insert title here</title> </head> <body> <pabout="#event1" typeof="cal:Vevent"> <bproperty="cal:summary">Weekend at the Silicon Valley Code Camp 2010</b> Starts on: <span property="cal:dtstart" datatype="xs:date">10-09-2010</span> Ends on: <span property="cal:dtend" datatype="xs:date">10-10-2010</span> See <a rel="cal:url" href="http://siliconvalley-codecamp.com/"> Silicon Valley Code Camp 2010</a><br /><br /> This event is located at <span property="cal:location">Foothills College</span> </p> </body> </html>
  • 52. Result from http://check.rdfa.info/ NOTE: It also tells you how Facebook, Google parses your RDFa
  • 53. GRDDL = Gleaning Resource Descriptions from Dialects of Languages a technique of extracting RDF data from XML documents (in particular XHTML pages). Source: http://www.w3.org/TR/2006/WD-grddl-primer-20061002/
  • 54. An example of RDFawith GRDDL profile <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xml:base="http://www.dc4plus.com/references/rdf_sem.html" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" > <head profile="http://ns.inria.fr/grddl/rdfa/"> <title>Biblio description</title> </head> <body> <h1>Biblio description</h1> <dl about="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/"> <dt>Title</dt> <ddproperty="dc:title">RDF Semantics - W3C Recommendation 10 February 2004</dd> <dt>Author</dt> <ddrel="dc:creator" href="#a1"> <span id="a1"> <link rel="rdf:type" href="[foaf:Person]"/> <span property="foaf:name">Patrick Hayes</span> see <a rel="foaf:homepage" href="http://www.ihmc.us/users/user.php?UserID=42"> homepage</a> </span> </dd> </dl> </body> </html> Source: http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/rdfaprimer/PrimerRDFaSection.html
  • 55.
  • 56. An output of GRDDL service is RDF
  • 57. A visual graph of an RDF Source: http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/rdfaprimer/PrimerRDFaSection.html
  • 58.
  • 61. How to use RDFa?
  • 62. How is RDFa related to Semantic Web?
  • 63.
  • 64. Linked Data Source: http://www.flickr.com/photos/ldodds/4043803502/
  • 65. Semantic Web stack Source: http://www.semanticfocus.com/blog/entry/title/introduction-to-the-semantic-web-vision-and-technologies-part-2-foundations/
  • 66. Web Ontology Language (OWL) - additional vocabulary along with a formal semantics - an extension to RDF and RDF-Schema (RDF-S)
  • 67. Triple Store (A database for RDF) Source: http://test.ical.ly/tags/phpunit/
  • 68. SPARQL – a query language for RDF - a glue to connect, query and reconstruct disparate sources of RDF data - similar to SQL for RDF
  • 69.
  • 72. How to use RDFa?
  • 73. How is RDFa related to Semantic Web?
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79. RDFa helps software to understand the content of web pages
  • 80. Useful RDFa tools are RDFaDev, checkrdfa.info, GRDDL Service, HTML editor, etc.
  • 81. RDFa is a stepping stone to full Semantic Web capability
  • 82.

Notas do Editor

  1. All of our examples in this talk use HTML.
  2. This takes advantage of the billions of existing HTML web pages.
  3. In the future, agents will access information for us.
  4. Mention namespaceMention URL  URI  IRI
  5. All of our examples in this talk use HTML.
  6. Stress RDF
  7. There are thousands more in all fields.
  8. These examples illustrate perfectly that RDF is intended for machine consumption, not human consumption.
  9. Microdata is related to HTML5
  10. Using Property and Content, similar to RDFa. They have an RDF Schema definition of this.