public interface TripleQuery
Modifier and Type | Method and Description |
---|---|
TripleQuery |
complement(TripleQuery otherQuery)
create a relative complement that is the triples that are in me but not in otherQuery
see https://en.wikipedia.org/wiki/Complement_%28set_theory%29#Relative_complement
|
List<Triple> |
getTriples()
return my Triples
|
TripleStore |
getTripleStore()
get the tripleStore this query belongs to
|
TripleQuery |
intersect(TripleQuery otherQuery)
create an intersection of me and the other Triple query
that is the list of triples that are part of my triples and part ot the otherQueries triples
see https://en.wikipedia.org/wiki/Intersection_%28set_theory%29#Intersecting_and_disjoint_sets
|
TripleQuery |
query(Object subject,
Object predicate,
Object object)
create a TripleQuery for the given subject, predicate and object
|
TripleQuery |
queryTriple(Triple select)
select the list of Triples that "fit" the given example Triple
|
boolean |
same(Object object,
Object other)
check whether two Objects are the same
|
List<Triple> |
select(Object subject,
Object predicate,
Object object)
select the triples for the given subject, predicate and object
|
Triple |
selectSingle(Object subject,
Object predicate,
Object object)
select a single triple
|
int |
size()
return the size of my triples
|
TripleQuery |
union(TripleQuery other)
create a union of me and the other Triple query
that is the list triples of me combined with the list of triples of the other triple query
see https://en.wikipedia.org/wiki/Union_%28set_theory%29
|
List<Triple> select(Object subject, Object predicate, Object object)
subject
- predicate
- object
- boolean same(Object object, Object other)
object
- other
- TripleQuery query(Object subject, Object predicate, Object object)
subject
- predicate
- object
- Triple selectSingle(Object subject, Object predicate, Object object)
subject
- predicate
- object
- TripleQuery queryTriple(Triple select)
select
- - the Triple to use as a "query"TripleQuery union(TripleQuery other)
other
- TripleQuery intersect(TripleQuery otherQuery)
otherQuery
- TripleQuery complement(TripleQuery otherQuery)
otherQuery
- int size()
TripleStore getTripleStore()
Copyright © 2017. All Rights Reserved.