/** * {@inheritDoc} */ public TripleIterator findTriples(String queryLang, String tripleQuery, int limit, boolean distinct) throws TrippiException { return _ri.findTriples(queryLang, tripleQuery, limit, distinct); }
/** * {@inheritDoc} */ public TripleIterator findTriples(SubjectNode subject, PredicateNode predicate, ObjectNode object, int limit) throws TrippiException { return _ri.findTriples(subject, predicate, object, limit); }
/** * {@inheritDoc} */ public TripleIterator findTriples(String queryLang, String tripleQuery, int limit, boolean distinct) throws TrippiException { return _ri.findTriples(queryLang, tripleQuery, limit, distinct); }
/** * {@inheritDoc} */ public TripleIterator findTriples(SubjectNode subject, PredicateNode predicate, ObjectNode object, int limit) throws TrippiException { return _ri.findTriples(subject, predicate, object, limit); }
/** * {@inheritDoc} */ public TripleIterator findTriples(String queryLang, String tupleQuery, String tripleTemplate, int limit, boolean distinct) throws TrippiException { return _ri.findTriples(queryLang, tupleQuery, tripleTemplate, limit, distinct); }
/** * {@inheritDoc} */ public TripleIterator findTriples(String queryLang, String tupleQuery, String tripleTemplate, int limit, boolean distinct) throws TrippiException { return _ri.findTriples(queryLang, tupleQuery, tripleTemplate, limit, distinct); }
protected TripleIterator spo(String query) throws Exception { return _ri.findTriples("spo", query, -1, false); }
SubjectNode snode = new SimpleURIReference(new URI(resourceID)); PredicateNode pnode = new SimpleURIReference(new URI(attribute)); TripleIterator triples = m_resourceIndex.findTriples(snode, pnode, null, 0); results = new HashSet<String>(); while (triples.hasNext()){
TripleIterator triples = RI.findTriples(queryLang, query, 0, true); if (triples != null ) { while (triples.hasNext()) {
protected Set<Triple> getActualTriples(SubjectNode subject, PredicateNode predicate, ObjectNode object) throws Exception { Set<Triple> set = new HashSet<Triple>(); TripleIterator iter = _ri.findTriples(subject, predicate, object, -1); while (iter.hasNext()) { set.add(iter.next()); } iter.close(); return set; }
TripleIterator it = RI.findTriples(s, p, null, 0); while (it.hasNext()) { Triple t = it.next();
TripleIterator it = RI.findTriples(null, p, o, 0); while (it.hasNext()) { Triple t = it.next();