Interface WrappedRESTEndpoint

All Superinterfaces:
FederationMember, RESTEndpoint
All Known Implementing Classes:
WrappedRESTEndpointImpl

public interface WrappedRESTEndpoint extends RESTEndpoint
This interface represents a REST endpoint for which HeFQUIN has a wrapper via which it is possible evaluate SPARQL graph patterns over an RDF view of the data obtained from this endpoint.
  • Method Details

    • evaluatePatternOverRDFView

      Assuming the given string is the content of a response retrieved when issuing a request to this REST endpoint, this method returns the result of evaluating the given graph pattern over an RDF view of this content.
      Parameters:
      pattern - - the graph pattern to be evaluated over the RDF view of the given data
      data - - the content of a response retrieved via a successful request to this REST endpoint
      Returns:
      the result of evaluating the pattern over the RDF view, in the form of a sequence of solution mappings
      Throws:
      WrappedRESTEndpoint.DataConversionException - if the conversion into RDF fails