Skip to content

Commit

Permalink
Update N2OExportService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 committed Aug 31, 2024
1 parent 9ae2b9e commit 0528551
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public N2OReturnValue owl2ExportNodes(Long skip, Long limit) {
return returnValue;
}

public N2OReturnValue owl2ExportEdges() {
public N2OReturnValue owl2ExportEdges(Long skip, Long limit) {
n2OEntityManager = new N2OExportManager();
qsls_with_no_matching_properties = new HashSet<>();
logger.resetTimer();
Expand All @@ -125,7 +125,7 @@ public N2OReturnValue owl2ExportEdges() {
OWLOntologyManager man = OWLManager.createOWLOntologyManager();

OWLOntology o = man.createOntology();
findEntities(0L, Long.MAX_VALUE);
findEntities(o, skip, limit);
addRelation(o, N2OStatic.RELTYPE_SUBCLASSOF);
addRelation(o, N2OStatic.RELTYPE_INSTANCEOF);
for (String rel_qsl : getRelations(OWLAnnotationProperty.class)) {
Expand Down

0 comments on commit 0528551

Please sign in to comment.