Core Semantic Web Technologies
Core Semantic Web Technologies
◮ blank
RDF – example
<rdf:Description rdf:about="http://www.ivan-herman.net">
<foaf:name>Ivan</foaf:name>
<abc:myCalendar rdf:resource="http://.../myCalendar"/>
<foaf:surname>Herman</foaf:surname>
</rdf:Description>
◮URIref prefix
http://www.w3.org/2000/01/rdf-schema#,
conventionally associated with the QName prefix rdfs:
◮ Example:
◮ ex:MotorVehicle rdf:type rdfs:Class.
Java: class MotorVehicle {· · · }
◮ exthings:myCar rdf:type ex:MotorVehicle.
SPARQL Example
◮ Data:
<http://example.org/book/book1>
<http://purl.org/dc/elements/1.1/title>
”SPARQL Tutorial” .
◮ Query:
SELECT ?title WHERE {
<http://example.org/book/book1>
<http://purl.org/dc/elements/1.1/title>
?title . }
◮ Result:
Title
”SPARQL Tutorial”
Jena2 – overview
◮ Developed by HP Laboratories
◮ Open-source Java implementation of core Semantic Web
technologies:
◮ RDF graph manipulation API
◮ RDFS and OWL reasoning API
◮ Includes the de facto reference RDF/XML parser