Ticket #111 (new enhancement)

Opened 7 months ago

Last modified 7 months ago

Transitive constraints not detected

Reported by: pag Assigned to: pag
Priority: minor Milestone: Krule RETE-hybrid upgrade
Component: RLog Version: 2.1.0
Keywords: transitive Cc:

Description (Last modified by pag)

RLog does not generate Transitive Constraints, though these are easy to detect.

Just look for the pattern of:

(var <URI> var)

If 2 or more of these are found, then compare the first variable in each to the last variable of all the others. Once a match is found, then those two constraints potentially merge to form a transitive constraint.

The variable to be dropped must first be searched for in the rest of the constraint. If it doesn't exist anywhere else, then the potential merge may go ahead.

Change History

05/17/08 15:24:28 changed by pag

  • description changed.