Your SlideShare is downloading. ×
  • Like
SWT Lab 3
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

SWT Lab 3



  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide
  • are free:to Share — to copy, distribute and transmit the workto Remix — to adapt the workto make commercial use of the workUnder the following conditions:Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.With the understanding that:Waiver — Any of the above conditions can be waived if you get permission from the copyright holder.Public Domain — Where the work or any of its elements is in the public domain under applicable law, that status is in no way affected by the license.Other Rights — In no way are any of the following rights affected by the license:Your fair dealing or fair use rights, or other applicable copyright exceptions and limitations;The author's moral rights;Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.Notice — For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.


  • 1. + Simple use of RDFS and Sesame Lab 3, 4, 5
  • 2. + Disclaimer License This work is licensed under the Creative Commons Attribution-Share Alike 3.0 License
  • 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. + 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