Hi all, I am testing SPIN rules in the demo version of Virtuoso 8 but I have still no success. I wrote a simple SPIN rule to compute the area of an instance of a class Rectangle given its width and its height. In this script you can see all the queries I used. This script must be executed in the SQL console of Virtuoso 8.
https://tinyurl.com/yb359owr As you can see here at the bottom, http://imageshack.com/a/img923/1182/qG4HmJ.png the rule is loaded but it does not work when I run a query http://imagizer.imageshack.us/a/img922/7629/it260O.png For you reference, I was using this output as reference to see how the loaded rule must look. https://tinyurl.com/ycm3zp6p Also, I have read these links so far https://medium.com/virtuoso-blog/virtuoso-8-0-creating-a-custom-inference-rules-using-spin-vocabulary-d7a060f859ef https://www.mail-archive.com/virtuoso-users@lists.sourceforge.net/msg07790.html https://www.linkedin.com/pulse/reasoning-inference-using-british-royal-family-part-idehen https://medium.com/virtuoso-blog/using-british-royal-family-data-snippets-to-demonstrate-sparql-query-language-based-reasoning-56626a152419 http://docs.openlinksw.com/virtuoso/udt_overview/ BTW, in RDF4j works. I do not need to load the rule separately, I just loaded the full ontology and that's all, the SPIN rule worked. See http://imagizer.imageshack.us/a/img924/7717/Q9JYau.png http://imagizer.imageshack.us/a/img924/9828/4dQPzg.png Any idea? Thanks in advance, 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