When running a query such as:
SELECT *
WHERE {
?a ?b ?c
}
OFFSET 0
LIMIT 50
Is there some way to know how many results were not returned? I would like to be able to display in my UI something to the effect of.
1-50 of ?TotalFound
When running a query such as:
SELECT *
WHERE {
?a ?b ?c
}
OFFSET 0
LIMIT 50
Is there some way to know how many results were not returned? I would like to be able to display in my UI something to the effect of.
1-50 of ?TotalFound
If you’d like it in a single query I believe you can use a subquery
SELECT
*
WHERE {
?a ?b ?c .
{
SELECT
(COUNT(*) AS ?total)
WHERE {
?s ?p ?o
}
}
OFFSET 0
LIMIT 50
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.