Hi,

is there any way to limit the number of triples returned by a DESCRIBE  
query? The LIMIT clause of sparql obviously applies to the number of  
result bindings, but each result binding may lead to an arbitrary  
number of triples.

Consider the following queries against dbpedia:

SELECT ?concept WHERE { ?concept rdfs:label "Berlin"@en . } LIMIT 1

returns one result, whereas

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

returns two results. Now,

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

returns 28 triples describing dbpedia:Category:Berlin, while

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?

Best, Bernhard


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to