Interface MaterializingWrapper

All Superinterfaces:
Wrapper

public interface MaterializingWrapper extends Wrapper
This interface captures any type of wrapper that can be used to request data from the federation member that it wraps and, then, convert this data into RDF.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.graph.Graph
    obtainData(List<org.apache.jena.graph.Node> args, SPARQLGraphPattern pattern)
    Returns the RDF representation of the data obtained by performing a request to the wrapped federation member using the given list of arguments for the request.

    Methods inherited from interface se.liu.ida.hefquin.federation.wrappers.Wrapper

    isSupportedNumberOfArguments, isSupportedPattern
  • Method Details

    • obtainData

      org.apache.jena.graph.Graph obtainData(List<org.apache.jena.graph.Node> args, SPARQLGraphPattern pattern)
      Returns the RDF representation of the data obtained by performing a request to the wrapped federation member using the given list of arguments for the request.

      A SPARQL graph pattern can be passed as an optional parameter to let the wrapper know which pattern is intended to be evaluated over the returned data. Some wrapper implementations may use this pattern to reduce their effort of converting the retrieved data into RDF by considering only the conversion rules that may produce RDF triples relevant to the given pattern. Wrapper implementations that do so have to guarantee that this does not have any effect on the result of evaluating the given pattern over the returned RDF triples.

      Parameters:
      args - - arguments to be used for the request
      pattern - - the pattern that is intended to be evaluated over the returned RDF data; may be null
      Returns:
      an RDF graph that represents the data obtained by the request in the form of RDF triples