Re: SPARQL: sorting resources by label?

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