OGSA-DAI provides a simple command-line client for running requests involving the RDF activities. This uses the RDF activity SPARQL EPR query. The client consists of a single workflow which queries a SPARQL endpoint. It is assumed that a RDF resource has already been deployed onto OGSA-DAI.
The client takes the following arguments:
-u SERVICES_BASE_URL -
services base URL - this specifies the location of the OGSA-DAI
server. This will typically be of form:
where HOST is the host on which the
OGSA-DAI is running and PORT is the
port on which the container accepts connections.
-e DRER-ID -
a data request execution resource (DRER) ID. This is the ID
of the DRER that will execute the request. Usually this
can be omitted (the default in this case is
DataRequestExecutionResource).
-d DATA-RESOURCE-ID -
a data resource ID. The ID of the data resource that
the client will interact with.
-q QUERY -
the SPARQL query to run.
Run the following,
replacing SERVICES-BASE-URL,
DATA-RESOURCE-ID,
QUERY and, if required
DRER-ID.
$ java uk.org.ogsadai.client.toolkit.example.RDFEPRClient \ -u SERVICES-BASE-URL [-e DRER-ID] -d DATA-RESOURCE-ID \ -q QUERY
For example: