Why don't i have any result? Part 2

I'm trying to know witch class have that label, and again with protege i
have the right result and with jena i'm not.
I'm missing any other Prefix?

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?class
WHERE { ?class rdf:type owl:Class .
?class rdfs:label "bifinhos com cogumelos" }


 the class that have that label is this


<owl:Class rdf:about="#BifinhosComCogumelos">
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:someValuesFrom rdf:resource="#Ovo"/>
        <owl:onProperty>
          <owl:ObjectProperty rdf:about="#hasIngredient"/>
        </owl:onProperty>
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:someValuesFrom>
          <owl:Class rdf:about="#Alface"/>
        </owl:someValuesFrom>
        <owl:onProperty>
          <owl:ObjectProperty rdf:about="#hasIngredient"/>
        </owl:onProperty>
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf rdf:resource="#PratosdeCarne"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >bifinhos com cogumelos</rdfs:label>
  </owl:Class>


Any ideias of whats wrong this time? Is there another way of do this query?

Received on Friday, 26 June 2009 02:51:13 UTC