Semantic Web Programming 1: Programming with Jena
Before the lab
-
Install the following software on your computer:
-
-
-
Ontology Reasoner:
Pellet 1.5.2 (or newer)
Optionally you can download:
Lab instructions
-
Create a new project
Add downloaded files to the project (HelloSemanticWeb.java
and Ontologies
folder with all the files).
Add downloaded Jena libraries to the project.
Compile and run the project. (WARNING: most common error comes from resolving the paths to local files).
Control questions
Answer the following questions in the report:
From what sources can data be read into Jena Model?
How to add a statement to a model in Jena?
What query language is used in Jena?
How can one state that two (OWL) classes are equivalent?
How can one state that two (OWL) properties are equivalent?
How can one state that two (OWL) individuals are equivalent?
What are the two reasoners that can be used in Jena?
Materials
Semantic Web Programming book: