de.fuberlin.wiwiss.ng4j.semwebclient
Class SemWebTriple
java.lang.Object
com.hp.hpl.jena.graph.Triple
de.fuberlin.wiwiss.ng4j.semwebclient.SemWebTriple
- All Implemented Interfaces:
- TripleMatch
public class SemWebTriple
- extends Triple
A Triple which contains information about it's source.
- Author:
- Tobias Gauß
Methods inherited from class com.hp.hpl.jena.graph.Triple |
asTriple, create, create, create, createMatch, equals, getMatchObject, getMatchPredicate, getMatchSubject, getObject, getPredicate, getSubject, hashCode, hashCode, isConcrete, matches, matches, objectMatches, predicateMatches, sameAs, subjectMatches, toString, toString |
SemWebTriple
public SemWebTriple(Node s,
Node p,
Node o)
- Creates a SemWebTriple.
- Parameters:
s
- The subject Node.p
- The predicate Node.o
- The object Node.
SemWebTriple
public SemWebTriple(Triple t,
Node sourceURI)
setSource
public void setSource(Node n)
- Sets the triple's source.
- Parameters:
n
- The source Node.
getSource
public Node getSource()
- Returns the triple's source.
- Returns:
- Node