org.ontoware.rdf2go.model
Interface TriplePattern

All Known Subinterfaces:
QuadPattern, Statement

public interface TriplePattern

Triple match representation in rdf2go Implementations are expected to have valid implem

Author:
mvo

Method Summary
 NodeOrVariable getObject()
           
 UriOrVariable getPredicate()
           
 ResourceOrVariable getSubject()
           
 boolean matches(Statement statement)
           
 

Method Detail

getSubject

ResourceOrVariable getSubject()
Returns:
URI or BlankNode

getPredicate

UriOrVariable getPredicate()
Returns:
The URI representing the predicate (property)

getObject

NodeOrVariable getObject()
Returns:
URI, String, TypedLiteral, LanguageTaggedLiteral or BlankNode

matches

boolean matches(Statement statement)
Parameters:
statement -
Returns:
true if this pattern matches the given statement. Ignores context.
Since:
RDF2Go 4.4.2


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.