I'm working with an ontology OWL and making a query about it.
My query is:
"PREFIX a: http://www.owl-ontologies.com/Indoor.owl# " + "SELECT ?X " + "WHERE { ?X a:hasDay a:" + day + " . " + " ?X a:hasRoom a:" + room + " . " + " ?X a:hasStartTime a:" + startTime +" }";
At the moment to make the query, the console of NetBeans throw me:
Undefined object property used in query: http://www.owl-ontologies.com/Indoor.owl#hasStartTime
But hasStartTime in the ontology isn't an object property, it is a data type (int).