Since it is too long, I wanted to break it down a bit by writing two SQWRL queries on SQWRL tab in Protege. The first query, for instance,is called RetrieveCarSensors, and it lists all vehicle instances and the sensors attached to each vehicle:
I cannot find instructions on calling that query in a SWRL rule though. Is it allowed to call this query in the SWRL rule to reduce the size of the rule then? or is there another way that someone could suggest to me?
Your help would be much appreciated.