berkantaydin / fuxi

Automatically exported from code.google.com/p/fuxi
0 stars 0 forks source link

FuXi.Rete.SetupRuleStore needs to take namespace bindings as argument #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Recent commits properly pass all user-specified namespaces down to the network 
and the rules

Original comment by chime...@gmail.com on 3 Nov 2012 at 9:42