Hi Aldo and Virtuoso Users How are you? I want to use an inference rule which has the two graphs in its range, or rather, I will explain the problem:
Previously, we had a graph for everything. Now, we are moving to a world where there will be several graphs to separate the contexts of business. We have properties's range has several classes of graphs. The problem is: When using inference I cannot use more than one inference rule per query. I used two graphs with the same name as a rule. With this idea the database wasn't overwritten and everything works. However I had pour performance with this aproach. Since there are multiple graphs. I wonder that if all these rules on the use of inference on the graphs were a single rule it would perform better. Do you have any idea? If there is a business rule that I can only use one rule of inference by query thats all right. But it will be more ideal for us today if we could pass the query over an inference rule. Query: define input:default-graph-uri <http://example.com/> define input:inference <http://example.com/ruleset> select distinct ?s FROM <http://example.com/sport/> { { ?s a <http://example.com/Event> ; ?p ?o . ?o bif:contains "'League*'" . } } LIMIT 10 There is the possibility to continue using a rule of inference for each graph with this solution I would have to make two queries and do a merge. Can anyone help? Have any idea? Cheers, Renan Oliveira Y! glb_renan
