Corese / KGRAM
Contact: Olivier Corby
Corese is a Semantic Web Factory implementing W3C RDF, RDFS, SPARQL 1.1 Query & Update, SPARQL Rules for RDF.
It has been redesigned (2011) as a set of libraries and is now based on kgram and on a new graph implementation named kgraph. It is distribued as open source software with Licence CeCILL-C (aka LGPL).
KGRAM stands for Knowledge Graph Abstract Machine. It is a generic SPARQL 1.1 interpreter designed to process labelled graphs including, but not limited to, RDF.
The target graph must implement a simple Edge/Node API (Java interface).
In order to process SPARQL queries, KGRAM is provided with four brokers:
- Producer: enumerates candidate edges from target graph
- Provider: interprets the service SPARQL clause
- Matcher: checks that candidates edges match query edges, may be using an ontology
- Evaluator: evaluates filters given an environment for variable bindings
KGRAM comes with a lightweight implementation of RDF/S using the Edge/Node API and is the core of Corese 3.0, including the following packages:
- kgram: SPARQL Abstract Interpreter
- sparql: SPARQL Parser, AST, XSD
- kgenv: SPARQL Compiler
- kgtool: RDF/S Graph, Loader, Printer, kgram brokers
- engine: Inference Rule Engine
- kgengine: Corese API
- kggui: GUI