Class ApplyRDFS<X,T>

java.lang.Object
org.apache.jena.rdfs.engine.CxtInf<X,T>
org.apache.jena.rdfs.engine.ApplyRDFS<X,T>

public class ApplyRDFS<X,T> extends CxtInf<X,T>
Apply a fixed set of inference rules to a 3-tuple. This class is the core machinery of stream expansion of a data stream using an RDFS schema. This is inference on the A-Box (the data) with respect to a fixed T-Box (the vocabulary, ontology).

This class implements:

  • rdfs:subClassOf (transitive)
  • rdfs:subPropertyOf (transitive)
  • rdfs:domain
  • rdfs:range
See Also:
  • Constructor Details

  • Method Details

    • infer

      public void infer(T tuple, Output<X> out)
      Apply RDFS rules based on the 3-tuple. This does not include the triple itself unless it is inferred.
    • infer

      public void infer(X s, X p, X o, Output<X> out)
      Apply RDFS rules based on the 3-tuple. This does not include the triple itself unless it is inferred.