Skip to content

Triplestore, using a SPARQL like Clojure DSL for quering (educational project)

License

Notifications You must be signed in to change notification settings

tkaryadis/lounadb

Repository files navigation

λouna-local

Clojars [louna/louna-local "0.1.0-SNAPSHOT"]
Documentation https://tkaryadis.github.io/louna-local

Experimental project for educational purposes only

  1. Performs SPARQL like queries from data give in text files.
  2. Queries use s-expressions syntax
  3. Includes a query processor to answer those queries
    A large part of SPARQL language is supported.
    joins/groupby/sortby/etc

Other features

  1. SPARQL generation
    Louna queries can generate SPARQL
  2. 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.

Examples

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 .  
}

About

Triplestore, using a SPARQL like Clojure DSL for quering (educational project)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published