diff --git a/src/main/scala/org/monarchinitiative/dosdp/SPARQL.scala b/src/main/scala/org/monarchinitiative/dosdp/SPARQL.scala index e239119..8000a90 100644 --- a/src/main/scala/org/monarchinitiative/dosdp/SPARQL.scala +++ b/src/main/scala/org/monarchinitiative/dosdp/SPARQL.scala @@ -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