/fedora/risearch. For example:
http://localhost:8080/fedora/risearch
The user interface consists of three tabs: Find Tuples, Find Triples,
and Show Aliases. A detailed description of each of these tabs follows.
select $object $modified from <#ri>
where $object <rdf:type> <fedora-model:FedoraBDefObject>
and $object <fedora-view:lastModifiedDate> $modified
In response, you should see something like this:
"object","modified"
info:fedora/demo:DualResImage,2005-01-27T23:06:54.399
info:fedora/demo:22,2005-01-27T23:06:57.449
info:fedora/demo:12,2005-01-27T23:06:56.662
info:fedora/demo:1,2005-01-27T23:07:00.528
info:fedora/demo:27,2005-01-27T23:07:01.513
info:fedora/demo:Collection,2005-01-27T23:06:58.42
info:fedora/demo:19,2005-01-27T23:06:59.673
info:fedora/demo:8,2005-01-27T23:07:38.978
info:fedora/demo:15,2005-01-27T23:07:41.58
This is a list of comma-separated values, each row representing
the URI and modified date of the objects that matched the query.
Content-Type HTTP response headers with the responses
(to trick browsers into displaying the results instead of popping up
a "Save As/Open With" window).
Get all triples in the repository
* * *
Get all triples where the object is demo:1
* * <info:fedora/demo:1>
Get all triples where the subject is demo:1 and the object is demo:2
<info:fedora/demo:1> * <info:fedora/demo:2>
select $a $r $b from <#ri>
where $a <rdf:type> <fedora-model:FedoraObject>
and $a $r $b
and $b <rdf:type> <fedora-model:FedoraObject>
This query by itself returns all relationships between
data objects in a repository. The binding variables are $a,
$r, and $b. Now enter the following in the template text box:
$a $r $b
When you launch the query, you'll see a list of triples: the sub-graph
of all object-to-object relationships in the repository. (If you don't
see anything, you should ingest the demo objects which include some
sample relationships).
$a <urn:example:isRelatedTo> $b
$b <urn:example:isRelatedTo> $a
Running the query will now show two statements for every
object-to-object relationship in the resource index graph.
<fedora-model:state>
instead of <info:fedora/fedora-system:def/model#state>.
http://localhost:8080/fedora/risearch?type=tuples
&flush=[true (default is false)]
&lang=iTQL
&format=CSV|Simple|Sparql|TSV
&limit=[1 (default is no limit)]
&distinct=[on (default is off)]
&stream=[on (default is off)]
&query=QUERY_TEXT_OR_URL
http://localhost:8080/fedora/risearch?type=triples
&flush=[true (default is false)]
&lang=SPO|iTQL
&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)]