aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/metadata.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index bf04389..60be66e 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -55,7 +55,8 @@ DATASET_CONTEXT = {
}
SEARCH_CONTEXT = {
- "pages": "ex:totalCount",
+ "pages": "ex:pages",
+ "hits": "ex:hits",
"result": "ex:result",
"results": "ex:items",
"resultItem": "ex:resultType",
@@ -268,7 +269,8 @@ $prefix
CONSTRUCT {
ex:result rdf:type ex:resultType ;
- ex:totalCount ?totalCount ;
+ ex:pages ?pages ;
+ ex:hits ?hits ;
ex:currentPage $offset ;
ex:items [
rdfs:label ?label ;