Skip to content

Commit

Permalink
Reverted to OWLAPI 4 so we can support Elk 0.4.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Mar 17, 2024
1 parent 079fda4 commit 3d04c30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<dependency>
<groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi-apibinding</artifactId>
<version>5.5.0</version>
<version>4.5.26</version>
</dependency>

<!-- To support JSON-LD input -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public static Map<String, Set<String>> getAnnotationLiteralsForEntity(

// Go through all known annotations, looking for OWLLiterals.
EntitySearcher.getAnnotations(entity, ontology, annotationProperty)
.stream()
.filter(annotation -> annotation.getValue() instanceof OWLLiteral)
.forEach(
annotation -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ public static List<PhylorefStatus> getStatusesForPhyloref(

// Retrieve holdsStatusInTime to determine the active status of this phyloreference.
List<OWLAnnotation> holdsStatusInTime =
EntitySearcher.getAnnotations(phyloref, ontology, pso_holdsStatusInTime)
.collect(Collectors.toList());
new ArrayList<>(EntitySearcher.getAnnotations(phyloref, ontology, pso_holdsStatusInTime));

// Read through the list of OWLAnnotations to create corresponding PhylorefStatus objects.
for (OWLAnnotation statusInTime : holdsStatusInTime) {
Expand Down

0 comments on commit 3d04c30

Please sign in to comment.