gate.creole.ontology
Interface Triple


public interface Triple

A Triple represents an RDF Triple from the underlying triple store and consists of a subject, predicate and object. A specific implementation may go beyond this definition and provide additional, implementation-specific extensions, e.g. for quads, triple ids, or for arbitrary context URIs.

Author:
Johann Petrak

Method Summary
 LiteralOrONodeID getObject()
           
 OURI getPredicate()
           
 ONodeID getSubject()
           
 String toString()
          Return a printable representation of the triple, this may be implementation dependent but should ideally adhere to Turtle syntax.
 String toTurtle()
          Return the Turtle representation of the triple
 

Method Detail

getSubject

ONodeID getSubject()

getPredicate

OURI getPredicate()

getObject

LiteralOrONodeID getObject()

toString

String toString()
Return a printable representation of the triple, this may be implementation dependent but should ideally adhere to Turtle syntax.

Overrides:
toString in class Object

toTurtle

String toTurtle()
Return the Turtle representation of the triple