On 7 Sep 2009, at 15:36, Bernhard Schandl wrote:

DESCRIBE ?concept WHERE { ?concept rdfs:label "Berlin"@en . } LIMIT 2

returns some ~4500 triples because it includes the description of dbpedia:Berlin.

Any suggestions how I could limit the number of triples returned by such a query?


Fake it with CONSTRUCT?

CONSTRUCT { ?concept ?p ?o . }
WHERE { ?concept rdfs:label "Berlin"@en ; ?p ?o . }
LIMIT 2

--
Toby A Inkster
<mailto:[email protected]>
<http://tobyinkster.co.uk>




Reply via email to