[Virtuoso-users] testing SPIN rules in Virtuoso 8

2017-09-13 Thread Adam Sanchez
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 S

[Virtuoso-users] Define a built-in SPIN function

2017-09-13 Thread Angelo Santoro
Hello, I'm developing a project in which I use Virtuoso Open Source as storage. I'm pretty new to Virtuoso, so I would like to know if it's possible to write a SPIN function, load it to the triple store, and call it in another SPARQL query. Thanks. Angelo