Status: Accepted
Owner:
chime...@gmail.com
Labels: Type-Enhancement Priority-Low
New issue 55 by
chime...@gmail.com: FuXi.Rete.SetupRuleStore needs to take
namespace bindings as argument
http://code.google.com/p/fuxi/issues/detail?id=55
FuXi.Rete.SetupRuleStore needs to take namespace bindings as argument so
that the rules have the namespaces properly registered for later use
(especially if the RDF source doesn't have all the prefix bindings )
What steps will reproduce the problem?
1. list(HornFromN3('
http://dev.w3.org/2000/10/swap/test/cwm/fam-rules.n3'))
What is the expected output?
[Forall ?y ?x ( ns1:ancestor(?y ?x) :- fam:begat(?x ?y) ), Forall ?y ?x ?z
( fam:ancestor(?x ?z) :- And( fam:ancestor(?x ?y) fam:ancestor(?y ?z) ) )]
What do you see instead?
[Forall ?y ?x ( ns1:ancestor(?y ?x) :- ns1:begat(?x ?y) ), Forall ?y ?x ?z
( ns1:ancestor(?x ?z) :- And( ns1:ancestor(?x ?y) ns1:ancestor(?y ?z) ) )]