- From: Toby Inkster <tai@g5n.co.uk>
- Date: Mon, 7 Sep 2009 16:19:06 +0100
- To: Bernhard Schandl <bernhard.schandl@univie.ac.at>
- Cc: dbpedia-discussion@lists.sourceforge.net, public-lod@w3.org
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:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Monday, 7 September 2009 15:19:49 UTC