Hi Egon,
On Wed, Jan 14, 2009 at 5:19 PM, Egon Willighagen
<[email protected]> wrote:
> On 1/14/09, Ted Thibodeau Jr <[email protected]> wrote:
>> On Jan 14, 2009, at 04:57 AM, Egon Willighagen wrote:
>> Without seeing your query, I can't be sure, but I bet you're doing
>> nothing wrong, except apparently not noticing that result sets are
>> limited in size and that queries are limited in execution time.
>
> I did notice not getting everything... that's actually what I
> reported... I get everything from A to about 'C'...
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:
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...]
Julius
------------------------------------------------------------------------------
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