In Scala, we have libraries that allow you to write SQL and get back immutable collections. For example, Doobie and ScalikeJDBC. Is there anything like that, but for SPARQL or Apache TinkerPop Gremlin? I have a Java/Scala based Graph Database instead of a relational database.
There are two well maintained Scala libraries:
Gremlin-Scala for Apache Tinkerpop 3
banana-rdf
for RDF, SPARQL, and Linked Data technologies in Scala