title: PROTÉGÉ SPARQL QUERY TAB: cannot query for ontology-specific classes
body: <p>I am using SPARQL Query tab in Protege 5 to query an OWL ontology I have been constructing. I succeded in many kinds of queries, but when I use some specific class of my ontology inside the very same queries (that are apparently well formed) they return no results. Following, two of the problematic queries - assuming "Event" as one of the concepts of the ontology (<a href="http://www.semanticweb.org/ontologies/2014/5/MyOnto#Event" rel="nofollow">http://www.semanticweb.org/ontologies/2014/5/MyOnto#Event</a>): </p>
  
  <pre><code>PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
  PREFIX owl: &lt;http://www.w3.org/2002/07/owl#&gt;
  PREFIX xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
  PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
  PREFIX onto: &lt;http://www.semanticweb.org/ontologies/2014/5/MyOnto#&gt;
  
  SELECT ?a  WHERE { ?a rdfs:subClassOf onto:Event } 
  </code></pre>
  
  <p>and, with the same prefixes </p>
  
  <pre><code>SELECT ?a  WHERE { ?a rdfs:range onto:Event } 
  </code></pre>
  
  <p>Both return no results. However, if I substitute "onto:Event" for, let's say, ?b, both return a long list of results - inclunding Event as a match for ?b. </p>
  
  <p>Is it something I'm misusing or forgetting (although I've seen this pattern in several links on internet with people claiming to have got results) or is it a limitation of SPARQL or some issue of the Protege tab? </p>