Hi, Julius --
On Jan 14, 2009, at 11:30 AM, Julius Volz wrote:
> I think the DBpedia SPARQL endpoint limits the query results to 1000
> entries, but you may use multiple queries with LIMIT and OFFSET to
> retrieve more:
True -- but as with Egon's original query, yours lack ORDER BY clauses,
so there's no guarantee that you will not get repeats (nor that you will
not lose desired rows) with these multiple queries.
> select distinct ?c where {?c rdf:type dbpedia-owl:ChemicalCompound}
> LIMIT 1000 OFFSET 0
> select distinct ?c where {?c rdf:type dbpedia-owl:ChemicalCompound}
> LIMIT 1000 OFFSET 1000
> select distinct ?c where {?c rdf:type dbpedia-owl:ChemicalCompound}
> LIMIT 1000 OFFSET 2000
> [...and so on until no results are returned...]
You'll need to insert `ORDER BY ?c` on each LIMIT line to get
predictable
and guaranteed repeatable (as long as the data beneath is static)
results.
Be seeing you,
Ted
--
A: Yes. http://www.guckes.net/faq/attribution.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?
Ted Thibodeau, Jr. // voice +1-781-273-0900 x32
Evangelism & Support // mailto:[email protected]
OpenLink Software, Inc. // http://www.openlinksw.com/
http://www.openlinksw.com/weblogs/uda/
OpenLink Blogs http://www.openlinksw.com/weblogs/virtuoso/
http://www.openlinksw.com/blog/~kidehen/
Universal Data Access and Virtual Database Technology Providers
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion