On 19/08/11 04:04, luc peuvrier at home wrote:
> in
> private static final String QUERY_STRING_FORMAT =
> /**/"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>" +
> /**/"SELECT ?l WHERE {" +
> /**/"[] rdfs:label ?l." +
> /**/"}" +
> /**/"LIMIT %d " +
> /**/"OFFSET %d ";
> limit and offset are limited to a maximum value of 2 147 483 648
> but, what is the maximum acceptable value ?

Theoretically there is no maximum acceptable value, but in practice this 
is determined by the SPARQL engine you use and the programming 
environment in which it runs.

Your example is in Java, the number set here is 2^31 which is the 
maximum value (or actually one above the max value) of a 32 bit signed 
integer (that is, a Java int).

If you need a higher value than that (yes, it's been known to happen), 
there are several high-performance SPARQL processors that implement 
limit and offset by a 64-bit signed integer ( = a Java long), meaning 
the max value is 2^63 - 1.

HTH,

Jeen

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to