Skip to content

Commit

Permalink
Fix problematic SPARQL query ordering. (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff authored Feb 22, 2022
1 parent cda85b8 commit 3496bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/org/monarchinitiative/dosdp/SPARQL.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ORDER BY ?defined_class_label
else ZIO.succeed(Nil)
axiomTriples <- if (queryLogical) for {
filledAxioms <- dosdp.filledLogicalAxioms(None, None)
triples <- ZIO.foreach(filledAxioms)(triples(_, props))
triples <- ZIO.foreach(filledAxioms.to(Seq))(triples(_, props))
} yield triples.flatten
else ZIO.succeed(Nil)
varExpressions <- dosdp.varExpressions
Expand Down

0 comments on commit 3496bee

Please # to comment.