1 / 3

CSE 428 Semantic Web Topics RDF

CSE 428 Semantic Web Topics RDF. Jeff Heflin Lehigh University. Sample RDF. Turtle:

emile
Download Presentation

CSE 428 Semantic Web Topics RDF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSE 428Semantic Web TopicsRDF Jeff Heflin Lehigh University

  2. Sample RDF Turtle: @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .@prefix foaf: <http://xmlns.com/foaf/0.1/> .<http://www.yahoo.com/~jdoe#jane> foaf:name "Jane Doe" ;foaf:knows http://www.yahoo.com/~jsmith#john . RDF/XML: <rdf:RDFxmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"xmlns:foaf="http://xmlns.com/foaf/0.1/"> <rdf:Descriptionrdf:about="http://www.yahoo.com/~jdoe#jane"> <foaf:knowsrdf:resource="http://www.yahoo.com/~jsmith#john" /> <foaf:name>Jane Doe</foaf:name> </rdf:Description> </rdf:RDF>

  3. RDF Schema Example <rdf:RDFxml:base="http://example.org/univ-ont#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"xmlns:univ="http://example.org/univ-ont#"> <rdf:Propertyrdf:about="#teaches"> <rdfs:domainrdf:resource="#Professor" /> <rdfs:rangerdf:resource="#Course" /> </rdf:Property> <univ:Personrdf:about="#heflin" > <univ:teachesrdf:resource="#cse428" /> </univ:Person> </rdf:RDF> rdf:Property rdf:type rdfs:domain Professor teaches heflin cse428 teaches Course rdfs:range

More Related