Class AbstractSPARQLExecutor

    • Field Detail

      • createSuccessResults

        public static boolean createSuccessResults
    • Constructor Detail

      • AbstractSPARQLExecutor

        protected AbstractSPARQLExecutor​(Constraint constraint)
    • Method Detail

      • executeConstraint

        public void executeConstraint​(Constraint constraint,
                                      ValidationEngine engine,
                                      Collection<org.apache.jena.rdf.model.RDFNode> focusNodes)
        Description copied from interface: ConstraintExecutor
        Validates a collection of focus nodes against a constraint. Implementations are typically calling engine.createValidationResult() to record results such as violations.
        Specified by:
        executeConstraint in interface ConstraintExecutor
        Parameters:
        constraint - the Constraint (instance) to validate (e.g. a specific sh:datatype constraint)
        engine - the ValidationEngine
        focusNodes - the collection of focus nodes - should not contain duplicates
      • addBindings

        protected abstract void addBindings​(Constraint constraint,
                                            org.apache.jena.query.QuerySolutionMap bindings)
      • getSPARQLExecutable

        protected abstract org.apache.jena.rdf.model.Resource getSPARQLExecutable​(Constraint constraint)
      • getQuery

        protected org.apache.jena.query.Query getQuery()
      • addDetails

        public static void addDetails​(org.apache.jena.rdf.model.Resource parentResult,
                                      org.apache.jena.rdf.model.Model nestedResults)