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

Sparql query help

From: Samuel Pedro <samuelcpspam@gmail.com>
Date: Fri, 12 Jun 2009 15:22:25 +0100
Message-ID: <cc48d5440906120722i6b215d2p30c7657e9482f848@mail.gmail.com>
To: public-sparql-dev@w3.org
Im trying to do this query...

SELECT ?subject ?objectWHERE { ?subject owl:equivalenteClass ?object FILTER(
?object = "Meat") }

im trying to find the equivalente Class of meat, but it doesn't return what
i want, what am i doing wrong?

if i do this...

SELECT ?subject ?objectWHERE { ?subject owl:equivalenteClass ?object FILTER(
?object != "Meat") }

i get all the equivalent class that there is in the owl. why?
Received on Friday, 12 June 2009 14:23:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:50 UTC