@Override public ImmutableList<IRI> getPossiblyIncompleteRDFPropertiesAndClassesSoFar() { return graphResultSet.getPossiblyIncompleteRDFPropertiesAndClassesSoFar(); }
@Override public ImmutableSet<IRI> getSelectedVocabulary() { return graphResultSet.getSelectedVocabulary(); } }
@Override public long getTripleCountSoFar() { return graphResultSet.getTripleCountSoFar(); }
@Override public boolean hasNext() { try { return graphResultSet.hasNext(); } catch (OntopConnectionException | OntopQueryAnsweringException e) { throw new RuntimeException(e); } } @Override
@Override public Assertion next() { try { return graphResultSet.next(); } catch (OntopQueryAnsweringException e) { throw new RuntimeException(e); } } });
@Override public boolean hasEncounteredProblemsSoFar() { return graphResultSet.hasEncounteredProblemsSoFar(); }
@Override public void close() throws QueryEvaluationException { try { this.graphResultSet.close(); } catch (OntopConnectionException e) { throw new QueryEvaluationException(e); } }
@Override public boolean hasNext() throws QueryEvaluationException { try { return graphResultSet.hasNext(); } catch (OntopConnectionException | OntopQueryAnsweringException e) { throw new QueryEvaluationException(e); } }
@Override public Statement next() throws QueryEvaluationException { try { return RDF4JHelper.createStatement(graphResultSet.next()); } catch (OntopQueryAnsweringException e) { throw new QueryEvaluationException(e); } }
@Override public boolean hasEncounteredProblemsSoFar() { return graphResultSet.hasEncounteredProblemsSoFar(); }
@Override public void close() throws QueryEvaluationException { try { this.graphResultSet.close(); } catch (OntopConnectionException e) { throw new QueryEvaluationException(e); } }
@Override public ImmutableList<IRI> getPossiblyIncompleteRDFPropertiesAndClassesSoFar() { return graphResultSet.getPossiblyIncompleteRDFPropertiesAndClassesSoFar(); }
@Override public boolean hasNext() throws QueryEvaluationException { try { return graphResultSet.hasNext(); } catch (OntopConnectionException | OntopQueryAnsweringException e) { throw new QueryEvaluationException(e); } }
@Override public ImmutableSet<IRI> getSelectedVocabulary() { return graphResultSet.getSelectedVocabulary(); } }
@Override public Statement next() throws QueryEvaluationException { try { return RDF4JHelper.createStatement(graphResultSet.next()); } catch (OntopQueryAnsweringException e) { throw new QueryEvaluationException(e); } }
@Override public long getTripleCountSoFar() { return graphResultSet.getTripleCountSoFar(); }
@Override public ImmutableList<URI> getPossiblyIncompleteRDFPropertiesAndClassesSoFar() { return graphResultSet.getPossiblyIncompleteRDFPropertiesAndClassesSoFar(); }
@Override public ImmutableSet<URI> getSelectedVocabulary() { return graphResultSet.getSelectedVocabulary(); } }
@Override public long getTripleCountSoFar() { return graphResultSet.getTripleCountSoFar(); }
/** * Returns true if a problem has occurred so far. * * May evolve until the materialization completes. * */ default boolean hasEncounteredProblemsSoFar() { return !getPossiblyIncompleteRDFPropertiesAndClassesSoFar().isEmpty(); }