Class RdfUnSubjectedTriple

java.lang.Object
io.github.webbasedwodt.model.ontology.rdf.RdfUnSubjectedTriple

public final class RdfUnSubjectedTriple extends Object
This class represent a triple without the subject. It can be useful when we want to represent triples for an external defined subject.
  • Constructor Details

    • RdfUnSubjectedTriple

      public RdfUnSubjectedTriple(RdfProperty triplePredicate, RdfNode tripleObject)
      Default constructor.
      Parameters:
      triplePredicate - the predicate of the triple.
      tripleObject - the object of the triple.
  • Method Details

    • getTriplePredicate

      public RdfProperty getTriplePredicate()
      Get the triple predicate.
      Returns:
      the predicate of the triple.
    • getTripleObject

      public RdfNode getTripleObject()
      Get the triple object.
      Returns:
      the object of the triple.