Clojars [louna/louna-local "0.1.0-SNAPSHOT"]
Documentation https://tkaryadis.github.io/louna-local
Experimental project for educational purposes only
- Performs SPARQL like queries from data give in text files.
- Queries use s-expressions syntax
- Includes a query processor to answer those queries
A large part of SPARQL language is supported.
joins/groupby/sortby/etc
Other features
- SPARQL generation
Louna queries can generate SPARQL - RDF transformations,rdf files are transformed to louna files
Louna can query RDF data,but before that it transform them to louna-data
For a faster implementation look at [louna/louna-spark "0.1.0-SNAPSHOT"]
That is a Clojure spark library with similar to louna-local syntax,that runs on Apache Spark.
Apache Spark provides fast query processor, binary data etc.
Most of the examples in test are solution to this book
Learning SPARQL
Example of louna query
(q (:person.city ?person ?city)
(:city.country ?city ?country)
(:country.continent ?country ?continent))
Can auto-generate
SELECT *
WHERE
{
?person person:city ?city .
?city city:country ?country .
?country country:continent ?continent .
}