Interface MaterializingWrapper
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.GraphobtainData(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 requestpattern- - the pattern that is intended to be evaluated over the returned RDF data; may benull- Returns:
- an RDF graph that represents the data obtained by the request in the form of RDF triples
-