Skip to content

Commit 613d104

Browse files
committed
added new limit/offset/distinct params
Signed-off-by: Jeen Broekstra <jeen.broekstra@gmail.com>
1 parent cf76b93 commit 613d104

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

doc/rest-api/index.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following is an overview of the resources that are available from RDF4J Serv
3535

3636
== Protocol version
3737

38-
The version of the protocol that the server uses to communicate over HTTP is available at: <RDF4J_URL>/protocol. The version described by this chapter is “6”.
38+
The version of the protocol that the server uses to communicate over HTTP is available at: <RDF4J_URL>/protocol. The version described by this chapter is “8”.
3939

4040
Supported methods on this URL are:
4141

@@ -132,6 +132,9 @@ Parameters:
132132
- `infer` (optional): Specifies whether inferred statements should be included in the query evaluation. Inferred statements are included by default. Specifying any value other than “true” (ignoring case) restricts the query evluation to explicit statements only.
133133
- `$<varname>` (optional): specifies variable bindings. Variables appearing in the query can be bound to a specific value outside the actual query using this option. The value should be an N-Triples encoded RDF value.
134134
- `timeout` (optional): specifies a maximum query execution time, in whole seconds. The value should be an integer. A setting of 0 or a negative number indicates unlimited query time (the default).
135+
- `distinct` (optional): specifies if only distinct query solutions should be returned. The value should be `true` or `false`. If the supplied SPARQL query itself already has a `DISTINCT` modifier, this parameter will have no effect.
136+
- `limit` (optional): specifies the maximum number of query solutions to return. The value should be a positive integer. If the supplied SPARQL query itself already has a `LIMIT` modifier, this parameter will only have an effect if the supplied value is lower than the `LIMIT` value in the query.
137+
- `offset` (optional): specifies the number of query solutions to skip. The value should be a positive inteer. This parameter is cumulative with any `OFFSET` modifier in the supplied SPARQL query itself.
135138

136139
Request headers:
137140

0 commit comments

Comments
 (0)