I'm new to SQWRL, so I'm doing some tests in a ontology I created in a course.
In that ontology, there's a class named BallpointPen, that has some kinds of ballpoint pens as subclasses; also, there's a class named PenCharacteristic, which has the possible characteristics for pens as individuals.
I want to verify which ballpoint pens (that are subclasses of the class BallpointPen) have the characteristic Refillable (which is an individual of the class PenCharacteristic). For that, I declared the following SQWRL query:
tbox:sca(?x, BallpointPen) ^ hasCharacteristic(?x, Refillable) -> sqwrl:select(?x)
It should point two answers: the classes MyInnovativeBallpointPen and RefillableBallpointPen, but it shows no results. Could someone please help me with this?