Issue 55 in fuxi: FuXi.Rete.SetupRuleStore needs to take namespace bindings as argument

6 views
Skip to first unread message

fu...@googlecode.com

unread,
Jul 10, 2012, 10:44:41 AM7/10/12
to fuxi-di...@googlegroups.com
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) ) )]

fu...@googlecode.com

unread,
Nov 3, 2012, 5:42:38 PM11/3/12
to fuxi-di...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on 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

Recent commits properly pass all user-specified namespaces down to the
network and the rules

Reply all
Reply to author
Forward
0 new messages