Automated reasoning homework 2015

Allikas: Kursused
Redaktsioon seisuga 9. november 2015, kell 16:30 kasutajalt Tanel (arutelu | kaastöö)
Mine navigeerimisribale Mine otsikasti

Automated reasoning homework as a second part of a two-phase project

The goal of this homework is

  • to learn about representing knowledge and rules in logic
  • experimenting with an automated reasoner

The concrete task is to add some common sense rules to the rdf or multi-arity representation output of the first phase of the project and then ask and prove some example queries using an automated reasoner.

Administrative

Homework defence deadline: 24. November. Presentation afer this deadline will give half of the points. Absolute deadline is 8. December: no submissions will be accepted after that,.

Work should be submitted to git, latest one day before deadline.

The groups are same as for the first phase

What you have to do

First of all, by default we will use the otter prover. Download it and try out some example problems in the otter zip file. Have a look at the manual as well.

Suppose you have a triplet like

  [http://en.wikipedia.org/wiki/Barack_Obama,
   http://en.wikipedia.org/wiki/china],
   id:type
   http://conceptnet5.media.mit.edu/web/c/en/person

where the list http://en.wikipedia.org/wiki/china means that we do not know which interpretation is the correct one (the original word was like he,this,she,it,...)


First, pick just one interpretation like

   http://en.wikipedia.org/wiki/Barack_Obama,
   id:type
   http://conceptnet5.media.mit.edu/web/c/en/person

and then

  • represent it in otter format
  • add common sense rules about the domain of news and politics (ontology: like a taxonomy, can be a bit more complex)
  • pose a question in otter format
  • run otter to find answer

If you manage to do that, you will pass.

Next, a bit fancier task:

Run a loop where you try out different interpretations of he,this,she,it,... and for each interpretation in the list:

  • represent it in otter format
  • add common sense rules about the domain of news and politics (ontology: like a taxonomy, can be a bit more complex)
  • check whether otter generates a contradiction: if yes, then this is probably a wrong interpretation, since it does not match common sense rules.

What more you could do

Instead of relying on your own handmade rules, you could use the json format data in conceptnet about objects to create a set of relevant rules automatically! You could use the wordnet for the same purpose. You could even use the http://wiki.dbpedia.org/ to get a large amount of real-world facts you could add to your knowledge base.

This is what you could really get from conceptnet and wordnet and dbpedia: the main purpose why these databases/systems exist.

This is not required for the lab, but if you manage to do it (ie. use some of these systems for creating relevant rules and facts automatically) we'll award you extra points!

Examples

The following examples are in the Otter format: the first two are in the clause syntax and are similar to what you are expected to in the third lab. The last one demonstrates formula syntax, calculation and probabilities (kind of).