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

Re: help with superclass query

From: xpete <listas@alphamatrix.org>
Date: Fri, 6 May 2011 03:46:23 +0100
To: public-sparql-dev@w3.org
Message-Id: <201105060346.23699.listas@alphamatrix.org>
A Sábado, 30 de Abril de 2011 16:26:55 Olivier Corby você escreveu:
> > Do you know a way to get the superclass label on the same query?
> 
> select * where {
>   ?class rdfs:label "trident" ;
>              rdfs:subClassOf ?super .
> ?super rdfs:label ?label
> }
> 
> 
> Olivier

It worked. Thanks.
Received on Friday, 6 May 2011 02:37:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 May 2011 02:37:57 GMT