Hi Benjamin,

The error was due to typo in the documentation:

         rdfs_rule_set ('urn:owl.tests', 'http://vocab.org/relationship') ;

should be:

        rdfs_rule_set ('urn:owl.tests', 'http://vocab.org/relationship/') ;

Note the  "/" on the end of the graph name.

The online documentation has been fixed ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 17 May 2010, at 18:06, Benjamin Großmann wrote:

> Hello,
> 
> I tried to run the example with inference rules written on
> http://docs.openlinksw.com/virtuoso/rdfsparqlrule.html section 16.8.11.1.
> 
> I'm using Virtuoso 6.1.1
> 
> The preparation part described in example 1 works fine
> - import of http://vocab.org/relationship/ -> works fine, I can query the  
> triples
> - creation of instance data into urn:owl.tests -> works also fine
> - creation of ruleset -> query "SELECT * FROM sys_rdf_schema ;" gives new  
> entry: urn:owl.tests, http://vocab.org/relationship, NULL
> 
> When I run example 2 (the actual query using inference) with sparql  
> endpoint, I get following error:
> 37000 Error SP031: SPARQL compiler: 'define input:inference refers to  
> undefined inference rule set "urn:owl.tests"
> 
> Is there some ini value to switch or some other point I miss?
> 
> Benjamin
> 
> -- 
> Benjamin Großmann
> 
> Neofonie
> Technologieentwicklung und
> Informationsmanagement GmbH
> Robert-Koch-Platz 4
> 10115 Berlin
> fon: +49.30 24627 257
> fax: +49.30 24627 120
> [email protected]
> http://www.neofonie.deHandelsregister
> Berlin-Charlottenburg: HRB 67460
> Geschaeftsfuehrung
> Helmut Hoffer von Ankershoffen
> (Sprecher der Geschäftsführung)
> Nurhan Yildirim
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to