Class 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:
    MatchRDFS for the matching algorithm.
    • Method Detail

      • 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.