-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
@lajus
There are some notable rules may content rule head triplet when setting max length of rule to 4 and running on the dataset YAGO15K (may could be recurrented on any YAGO data with wasBornIn/diedIn). For instance,
?m hasNeighbor ?b ?g wasBornIn ?a ?g wasBornIn ?m => ?a hasNeighbor ?b 0.14893617 1.0 1.0 77 77 77 ?b
Since any head of wasBornIn only has a single tail (nobody is born in two place at same time, and also be check on YAGO15K), ?a must be identical to ?m. Thus, the ?m hasNeighbor ?b term in rule body can be rewrite as ?a hasNeighbor ?b, which is literally the rule head. It should not be considered as a rule, in other word, this rule should be deleted.
By the way, is it possible to save the predict instances (including nodes in each predict) of each rule? Therefore, anyone can check the correctness of rules.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels