W3C home > Mailing lists > Public > public-lod@w3.org > March 2010

Re: SPARQL: sorting resources by label?

From: Axel Rauschmayer <axel@rauschma.de>
Date: Sat, 13 Mar 2010 05:05:33 +0100
Message-Id: <6A7F2C5F-DD19-47E3-9A0C-055E7748046A@rauschma.de>
Cc: public-lod@w3.org
To: Danny Ayers <danny.ayers@gmail.com>
Addendum:

If one wants to produce a table

| URI | label | types |

SPARQL becomes even more unwieldy. Just think  of sorting the type column by the label of the types. Or even of producing a Java object for each row. The problem is that SPARQL does not support query rows in NFNF. Maybe DESCRIBE can be used in the future for this?

Axel

On Mar 13, 2010, at 4:51 , Danny Ayers wrote:

> On 13 March 2010 04:16, Axel Rauschmayer <axel@rauschma.de> wrote:
> 
>> Thanks for any comments or suggestions...
> 
> I'm a little perturbed that you have to use something so convoluted to
> get labels....
> 
> Why not something just like (whatever graph)  SELECT ?o WHERE { ?s
> rdfs:label ?o } , or at worse an OPTIONAL on maybe dc:label or
> whatever..?
> 
> - are the objects of any labels resources?
> 
> Can you please clarify what you are looking for, and explain further -
> I honestly hope you are missing something there.
> 
> If there is something wrong with the material, the problems should be
> surfaced and fixed (and no doubt will be for the next rev, if need be)
> 
> Cheers,
> Danny.
> 
> http://danny.ayers.name
> 

-- 
Axel.Rauschmayer@ifi.lmu.de
http://www.pst.ifi.lmu.de/~rauschma/
Received on Saturday, 13 March 2010 04:06:01 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:25 UTC