Re: SPARQL: sorting resources by label?

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