Skip to content
Snippets Groups Projects
Commit e14f509b authored by Andreas Schärtl's avatar Andreas Schärtl
Browse files

uloapi: use full ULO.java

This will be very useful for further integration w/ JVM tech.
parent a79d856a
No related branches found
No related tags found
No related merge requests found
......@@ -67,14 +67,14 @@ public class Query {
}
/**
* Return a list of triplets that define some kind of {@link ULO#INDUCTIVE_ON} relationship.
* Return a list of triplets that define some kind of {@link ULO#inductive_on} relationship.
*
* @return The triplets. Limited to a small number, the actual number of matching triplets in the
* underlying RDF4j repository might be way bigger.
*/
public List<Statement> getInductiveStatements() {
final GraphDB.Operation<List<Statement>> operation = (manager, repository, connection) -> {
final RepositoryResult<Statement> result = connection.getStatements(null, ULO.INDUCTIVE_ON, null);
final RepositoryResult<Statement> result = connection.getStatements(null, ULO.inductive_on, null);
final Iterator<Statement> iterator = result.iterator();
final List<Statement> statements = new ArrayList<>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment