Class RDFSRuleInfGraph

    • Constructor Detail

      • RDFSRuleInfGraph

        public RDFSRuleInfGraph​(Reasoner reasoner,
                                java.util.List<Rule> rules,
                                Graph schema)
        Constructor.
        Parameters:
        reasoner - the reasoner which created this inf graph instance
        rules - the rules to process
        schema - the (optional) schema graph to be included
      • RDFSRuleInfGraph

        public RDFSRuleInfGraph​(Reasoner reasoner,
                                java.util.List<Rule> rules,
                                Graph schema,
                                Graph data)
        Constructor.
        Parameters:
        reasoner - the reasoner which created this inf graph instance
        rules - the rules to process
        schema - the (optional) schema graph to be included
        data - the data graph to be processed
    • Method Detail

      • validate

        public ValidityReport validate()
        Test the consistency of the bound data. For RDFS this checks that all instances of datatype-ranged properties have correct data values.
        Specified by:
        validate in interface InfGraph
        Overrides:
        validate in class FBRuleInfGraph
        Returns:
        a ValidityReport structure