amphibient
amphibient

Reputation: 31212

SPARQL result set limit of 10000

I run a query that I know should return more than 10,000 rows against Virtuoso but I get only 10,000 rows back. I am not using a LIMIT clause at the end of my query. Is that number a default result set limit and how can it be overridden?

My query is:

select distinct ?s { ?s ?p ?o. }

Upvotes: 2

Views: 1976

Answers (2)

TallTed
TallTed

Reputation: 9434

If this is your own instance, you can edit the ResultSetMaxRows setting in the INI file.

If this is someone else's instance, they may be willing/able to adjust that setting. If not, you can use LIMIT/OFFSET (and ORDER BY) clauses to step through the full result set.

Upvotes: 5

scotthenninger
scotthenninger

Reputation: 4001

Most likely a default set by the service to limit users from unknowingly downloading the entire repository with a SPO query.

Upvotes: 1

Related Questions