W3C home > Mailing lists > Public > public-sparql-dev@w3.org > April to June 2009

Why don't i have any result?

From: Samuel Pedro <samuelcpspam@gmail.com>
Date: Tue, 23 Jun 2009 19:10:59 +0100
Message-ID: <cc48d5440906231110m1c7c3c76r5d079d5e500bc782@mail.gmail.com>
To: public-sparql-dev@w3.org
Why this query doens't return any result with jena and with protege does??
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?equivalentClass
WHERE {
?equivalentClass owl:equivalentClass ?Class .
?Class rdfs:label "champinhons" }


<owl:Class rdf:about="#Champinhon">
<rdfs:subClassOf rdf:resource="#Plant"/>
<owl:equivalentClass rdf:resource="#Mushroom"/>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string
">champinhons</rdfs:label>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string
">champinhon</rdfs:label>
</owl:Class>

<owl:Class rdf:ID="Cogumelo">
<rdfs:subClassOf>
<owl:Class rdf:ID="Planta"/>
</rdfs:subClassOf>
<owl:equivalentClass>
<owl:Class rdf:ID="Champinhon"/>
</owl:equivalentClass>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string
">cogumelo</rdfs:label>
</owl:Class>
Received on Tuesday, 23 June 2009 18:11:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 June 2009 18:11:40 GMT