CSE 428 Semantic Web Topics RDF Jeff Heflin Lehigh University
Turtle vs. RDF/XML foaf:. foaf:name "Jane Doe" ; foaf:knows RDF/XML: Jane Doe
Default Namespaces Jane Doe
Using XML Entities <!DOCTYPE rdf:RDF [ ] > <rdf:RDF xmlns:rdf=" xmlns:foaf=" > 30 Resolves to:
Nesting Descriptions Jane Doe John Smith
Typed Nodes in RDF/XML <rdf:RDF xmlns:rdf=" xmlns:foaf=" Jane Doe Jane is an instance of Person <rdf:RDF xmlns:rdf=" xmlns:foaf=" Jane Doe Shorthand for the same thing
RDFa <html xmlns=" prefix="bibo: dc: > Books by Marco Pierre White I think White's book '<span about="urn:ISBN: " typeof="bibo:Book" property="dc:title">Canteen Cuisine ' is well worth getting since although it's quite advanced stuff, he makes it pretty easy to follow. You might also like <span about="urn:ISBN: " typeof="bibo:Book" property="dc:description" >White's autobiography. Declare namespace prefixes This item is of type Book, and has title “Canteen Cuisine” This item is of type Book, and has description “White’s autobiography” Example from
RDF Schema Example <rdf:RDF xml:base=" xmlns:rdf=" xmlns:rdfs=" xmlns:univ=" teaches Course Professor heflincse428 rdf:Property teaches rdf:type rdfs:domain rdfs:range