Class SPARQLRule

    • Constructor Detail

      • SPARQLRule

        public SPARQLRule​(org.apache.jena.rdf.model.Resource rule)
    • Method Detail

      • execute

        public void execute​(RuleEngine ruleEngine,
                            List<org.apache.jena.rdf.model.RDFNode> focusNodes,
                            Shape shape)
        Description copied from interface: Rule
        Executes this rule, calling ruleEngine.infer() to add triples.
        Parameters:
        ruleEngine - the RuleEngine to operate on
        focusNodes - the list of focus nodes for this execution
        shape - the context shape
      • getQuery

        public org.apache.jena.query.Query getQuery()