Core Semantic Web Technologies
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