This class is used to represent a reasoning rule of the form BODY -> HEAD where BODY is a list of graph patterns with variables and HEAD is a single graph pattern used for constructing new triples.
Rules are always in disjunctive normal form, i.e. the BODY contains only conjunctions of patterns and no disjunctions, and the HEAD consists of only a single pattern.
A graph pattern is of the form (S,P,O) or (S,P,O,C) where S is the subject, P the predicate, O the object, and C the context of a triple. S, P, and O may be either URIs, abbreviated local names or variables. C may only be a URI of abbreviated local name.
Rules are "safe", i.e. variables occurring in the HEAD also have to appear at least once in the body. User: sschaffe