An activity that executes SPARQL query on a target RDF data resource and produces a list of tuples containing the results of the query.
Activity inputs:
-
expression
. Type: {@link java.lang.String}. SPARQL query expression.
Activity outputs:
-
data
. Type: OGSA-DAI list of {@link uk.org.ogsadai.tuple.Tuple}with the first item in the list an instance of {@link uk.org.ogsadai.metadata.MetadataWrapper} containing a{@link uk.org.ogsadai.tuple.TupleMetadata} object. The tuples produced by thequery.
Configuration parameters: none.
Activity input/output ordering: none.
Activity contracts:
-
es.upm.fi.dia.oeg.ogsadai.rdfactivity.contract.EPRQueryActivity
Target data resource:
- {@link es.upm.fi.dia.oeg.ogsadai.rdfresource.RDFResource}
Behaviour:
- This activity accepts a sequence of SPARQL query expressions as input and is targeted at a RDF data resource. In each iteration one input query is processed by executing the query across the target data resource. The results of each iteration is a OGSA-DAI list of tuples with a metadata header block.
- Partial data may be produced if an error occurs at any stage of processing.
@author Carlos Buil Aranda, Oscar Corcho
@email cbuil@fi.upm.es, ocorcho@fi.upm.es
@institution Universidad Politecnica de Madrid