hi,
this is my first attempt to use Stardog rules, so please excuse any lack of understanding. I use pystardog to load a schema file, and then load a. ttl file containing the following:
In a further experiment, I created some SWRL rules in Protege, and then imported the schema+rules manually into Stardog using Studio. The rules are present in the OWL file, and show up in Studio as subclasses of Imp, but an rule like:
Boiler(?b)^Zone(?z)^hasState(?z,Cold) -> hasState(?b,Broken)
which works in Protege doesn't seem to work in Studio even when reasoning is turned on and I do an INSERT DATA {...} to assert "hasState" to be "Cold".
Any suggestions very welcome!
Thanks.
I am having trouble following the logic. I loaded your data in the first post, and it obvious that it will not work, since there is no asserted data for ?zone :State :cool
If i use this test data, with a slighly adjusted rule, I think I get what you are looking for