Include Page |
---|
FEDORA34:_newreleaseFedoraRepository | FEDORA34:_newreleaseFedoraRepository | Table of Contents |
---|
Introduction
...
As with the user interface, it can be invoked to retrieve tuples or triples. The syntax is described below.
Note:
...
- Square brackets ( "\[" and "\]" ) indicate that the parameter is optional.
- As with all HTTP parameters, unsafe URI characters should be URI-escaped. For readability purposes, URI escaping is not shown below.
- The query and template parameters optionally take the value by reference – that is, a URL to a query or template can be given instead of the actual text.
- The flush parameter tells the resource index to ensure that any recently-added/modified/deleted triples are flushed to the triplestore before executing the query. This option can be desirable in certain scenarios, but for performance reasons, should be used sparingly when a process is making many API-M calls to Fedora in a short period of time: We have found that Mulgara generally achieves a much better overall update rate with large batches of triples.
...
Code Block |
---|
|
http://localhost:8080/fedora/risearch?type=triples
&flush=[*true* (default is false)]
&lang=*spo|itql|sparql*
&format=*N-Triples|Notation 3|RDF/XML|Turtle*
&limit=[*1* or more (default is no limit)]
&distinct=[*on* (default is off)]
&stream=[*on* (default is off)]
&query=*QUERY_TEXT_OR_URL*
&template=[*TEMPLATE_TEXT_OR_URL* (if applicable)]
|
...