Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SWT Lab 3


Published on

  • Be the first to comment

SWT Lab 3

  1. 1. + Simple use of RDFS and Sesame Lab 3, 4, 5
  2. 2. + Disclaimer License This work is licensed under the Creative Commons Attribution-Share Alike 3.0 License
  3. 3. + Lab Assignment 3 (part 1)  Write the ontology from FSW Chapter 2.6 (page 67) in a file named ontology.ttl in turtle syntax. Then, use Sesame, RDFS and SPARQL to:  Load Print all triples of the model (including the entailed ones) to a file named “rdfs-output.ttl”
  4. 4. + Lab Assignment 3-5 (part 1) Create a simple RDFS Forward chaining inference engine  Use Sesame to store and load the triples  Use SPARQL to “infer all new triples”, hint use CONSTRUCT and ASK queries to ease the development  You should cover all entailments except: rdfs1 and the Datatype entilament rules (rdfD1, rdfD2, rdfD3)  Verify using the ontology from the previous examplle Note: Name your main class org.example.RDFSFowardChainingEngine