public class TripleSources extends Object
TripleSource
s.public static Iteration<? extends Resource,QueryEvaluationException> listResources(Resource subj, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
public static Iteration<? extends Value,QueryEvaluationException> list(Resource subj, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
public static boolean booleanValue(Resource subj, IRI pred, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
public static Value singleValue(Resource subj, IRI pred, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
public static Statement single(Resource subj, IRI pred, Value obj, TripleSource store) throws QueryEvaluationException
subj
- null for any.pred
- null for any.obj
- null for any.QueryEvaluationException
- If there is more than one such statement.public static CloseableIteration<? extends IRI,QueryEvaluationException> getSubjectURIs(IRI predicate, Value object, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
public static CloseableIteration<? extends Resource,QueryEvaluationException> getObjectResources(Resource subject, IRI predicate, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
public static CloseableIteration<? extends IRI,QueryEvaluationException> getObjectURIs(Resource subject, IRI predicate, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
public static CloseableIteration<? extends Literal,QueryEvaluationException> getObjectLiterals(Resource subject, IRI predicate, TripleSource store) throws QueryEvaluationException
QueryEvaluationException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.