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) ) )]
Original issue reported on code.google.com by chime...@gmail.com on 10 Jul 2012 at 2:44
Original issue reported on code.google.com by
chime...@gmail.com
on 10 Jul 2012 at 2:44