Hi folks !!
I have been trying to create a sparql query to get the restrictions imposed
on a class for the individuals of that class.
However, I am not sure what exactly has to be done.
I have a :
Class SmallCan:
subClass Of : radius value 0.1
subClassOf : height value 1
Now for this class, I have an individual -
Coke-Can :
type: SmallCan
I want a query which could automatically tell me that the Coke-Can has
radius 0.1 and height 1
Something like this :-
SELECT ?property ?value WHERE {
Coke-Can ...........
}
and I get a result like :-
----------------------------------
Property | Value
-----------------------------------
radius | 0.3
height | 1
------------------------------------
Looking for your help.
Cheers.