Hi all, I have tried to chain two rules in Virtuoso 8 for testing. The steps are described in this link.
https://gist.github.com/asanchez75/93ff4079819022bcd2cf42d4ec6bc335 The SPIN rules must compute the volume of an instance of the class Solid in two chained "steps": a) given the width and the height computes the area b) the area computed previously is multiplied by the height (again) to compute the volume finally. When I run the query, I got this message Virtuoso 37000 Error SP031: SPARQL compiler: The name ?area_urn_spin_rule_geometry_lib_bnode_b10021_19 is used in multiple clauses, without any logical connection SPARQL query: #output-format:text/html define sql:signal-unconnected-variables 1 define sql:signal-void-variables 1 define input:default-graph-uri <http://geometry> DEFINE input:macro-lib <urn:spin:rule:geometry:lib> PREFIX shapes: <http://example.org/shapes#> SELECT * FROM <http://geometry> WHERE { ?s a shapes:Solid ; shapes:area ?area ; shapes:volume ?volume . } I have tried to use the property spin:nextRuleProperty to chain the two rules here https://gist.github.com/asanchez75/1dc1424753065b5fa7153963af6dd8b2 but it does not work Any idea on this? Best, Adam ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users