Class AbstractEngine

    • Field Detail

      • dataset

        protected org.apache.jena.query.Dataset dataset
      • shapesGraphURI

        protected URI shapesGraphURI
    • Constructor Detail

      • AbstractEngine

        protected AbstractEngine​(org.apache.jena.query.Dataset dataset,
                                 ShapesGraph shapesGraph,
                                 URI shapesGraphURI)
    • Method Detail

      • applyEntailments

        public void applyEntailments()
                              throws InterruptedException
        Ensures that the data graph includes any entailed triples inferred by the regime specified using sh:entailment in the shapes graph. Should be called prior to validation. Throws an Exception if unsupported entailments are found. If multiple sh:entailments are present then their order is undefined but they all get applied.
        Throws:
        InterruptedException - if the monitor has canceled it
      • checkCanceled

        public void checkCanceled()
      • getShapesModel

        public org.apache.jena.rdf.model.Model getShapesModel()
      • setProgressMonitor

        public void setProgressMonitor​(ProgressMonitor value)