Class SPARQLTarget

  • All Implemented Interfaces:
    Target

    public class SPARQLTarget
    extends Object
    implements Target
    • Method Detail

      • addTargetNodes

        public void addTargetNodes​(org.apache.jena.query.Dataset dataset,
                                   Set<org.apache.jena.rdf.model.RDFNode> results)
        Description copied from interface: Target
        Adds target nodes to a given result collection.
        Specified by:
        addTargetNodes in interface Target
        Parameters:
        dataset - the Dataset with the potential target nodes in the default graph
        results - the collection to add the results to
      • contains

        public boolean contains​(org.apache.jena.query.Dataset dataset,
                                org.apache.jena.rdf.model.RDFNode node)
        Description copied from interface: Target
        Checks whether a given node is in the target.
        Specified by:
        contains in interface Target
        Parameters:
        dataset - the Dataset with the potential target node in the default graph
        node - the potential target node
        Returns:
        true if node is in this target