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

Re: SPARQL: sorting resources by label?

From: Danny Ayers <danny.ayers@gmail.com>
Date: Sun, 14 Mar 2010 21:01:17 +0100
Message-ID: <1f2ed5cd1003141301v65d3403fp53e67c13a68a154@mail.gmail.com>
To: Toby Inkster <tai@g5n.co.uk>
Cc: Axel Rauschmayer <axel@rauschma.de>, public-lod@w3.org
On 14 March 2010 20:04, Toby Inkster <tai@g5n.co.uk> wrote:

> I use something like:
>
>        OPTIONAL {
>          ?subject ?labelprop ?label .
>          GRAPH <http://buzzword.org.uk/2009/label-properties> {
>            ?labelprop a <http://buzzword.org.uk/2009/label-properties#LabelProperty> .
>          }
>          FILTER( isLiteral(?label) )
>        }
>
> Having first loaded http://buzzword.org.uk/2009/label-properties into
> the store.

I like your idea of wrapping all the label properties up, but don't
you need to run subproperty inference before the query will work?



-- 
http://danny.ayers.name
Received on Sunday, 14 March 2010 20:01:51 UTC

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