Add and use uncertainty in rules

Allikas: Lambda

Here are just the initial instructions: further details will be added during and after explanatory lecture at 12. April and practical work at 13. April.

Your task is to experiment with using numeric confidences and exceptions in rules and ask questions so that these are sensibly used.

To do this, you need to:

  • Augment some of your existing (uncertain) rules/facts with numeric confidences,
  • Add some new sensible uncertain rules/facts with numeric confidences,
  • Augment some of your existing (uncertain) rules/facts with exceptions,
  • Add some new sensible uncertain rules/facts with exceptions,
  • Ask questions which use these enhanced rules/facts in a sensible way.
  • Give a presentation with the example queries, results and explanations of the rules/facts.

Use the gk reasoner for these experiments. Currently only a Linux version of the gk reasoner is available. Please use wsl or a linux server for experiments.

How to give confidences/exceptions and how to get answers?

Additionally, it helpful to have a look at the Problog tutorial: a somewhat similar system for confidences.

Useful examples built on our geodata:

{
  "strategy":["query_focus"],
  "query_preference": 1,
  "independence": 100,
  "equality":0,
  "max_answers": 20
}

and the command line

./gk_07 geodata.js  proveevents.js -strategy strategy3.js -seconds 100