Code Monkey home page Code Monkey logo

semanticweb-jena's Introduction

Semantic Web Exercises

This repository contains the solutions for the Semantic Web Technologies course assignments at the University of Genoa. Each of these exercises are based on Apache Jena Framework.

Exercise 1

In the first exercise an RDF model is created and filled with five resources that correspond to our contacts. Then the program parses an html page and gets all new elements and adds them into our RDF model.

Exercise 2

Exercise 2.a

In this first part we import the myPizzas ontology and make a query against it. The results are printed out both as RDF and XML format. Also a remote query against DBpedia is made and results are showed as RDF.

Exercise 2.b

In the second part we create an RDF model from the myContacts file which contains our contacts infos and their favourite pizzas. Then we make a query against the model and print out the results.

Exercise 3

In the last exercise the RDF model imported from myContacts is stored in a persistent mode using TDBStore. Then the program parses the file dinner.hCalendar which contains the name of people invited to a dinner. Using a simple query the program identifies the right corrispondence between the person invited and his favourite pizza. The program sends to the person a message for confirmation.

semanticweb-jena's People

Contributors

pianaloris avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.