Defining RDF Triple Processing Using Decision Tables - Gnorion/BizVR GitHub Wiki

Defining Decision Tables for RDF Triple Processing

Suppose you have some data about relationships between family members:

image

image

And we want to implement some rules of the form:

if X is a parent of Y and Y has a sibling Z then X is a parent of Z

Which will deduce some new parent relationships (shown in red):

image

We could write a decision table like this (BizVR Examples\Ontologies)

image

Which will produce these results:

image

You can also express the conditions more concisely as follows:

image

And the action section can be written like this:

image

This approach can be useful sometimes as it reveals more detail on the overall decision diagram:

image

This is most useful when

  • the decision table contains a single rule, or
  • the decision table contains multiple rules but the action is simply X (i.e. execute the expression in the left most column)