Skip to content

Possible inconsistency in respecting max rule length setting #70

@kliegr

Description

@kliegr

tasks_and_rules.zip
Task 1: Max rule length is set to 5, but the task returns only rules of length 4.

The antecedent contains three predicate patterns and the "Exact" option is off. One of the antecedent patterns is

 ( ?a <category> Any ).  

In all five discovered rules, there is a corresponding atom with the object position replaced by a constant:

( ?a <category> <Drug> )
( ?a <category> <Drug> )
( ?a <category> <NamedThing> )
( ?a <category> <ChemicalSubstance> )
( ?a <category> <Gene> )

Task 2: The setting is the same as Task 1, only the pattern

  ( ?a <category> Any )

is replaced by

  ( ?a <category> <Drug> )

in an attempt to obtain only drugs on the output.

Task 2 returns 10.000 rules mostly of length 5.

It looks like the inconsistency is in Task 1 as it returns only rules of length 4 despite the max rule length of 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions