# d2rq **Repository Path**: mask100/d2rq ## Basic Information - **Project Name**: d2rq - **Description**: Database to RDF mapping engine and SPARQL server - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-25 - **Last Updated**: 2024-11-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # D2RQ – A Database to RDF Mapper D2RQ exposes the contents of relational databases as RDF. It consists of: * The **D2RQ Mapping Language**. Use it to write mappings between database tables and RDF vocabularies or OWL ontologies. * The **D2RQ Engine**, a SPARQL-to-SQL rewriter that can evaluate SPARQL queries over your mapped database. It extends ARQ, the query engine that is part of Apache Jena. * **D2R Server**, a web application that provides access to the database via the SPARQL Protocol, as Linked Data, and via a simple HTML interface. ## Homepage and Documentation Learn more about D2RQ at its homepage: http://d2rq.org/ ## License Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0.html ## Contact, feedback, discussion Please use the issue tracker here on GitHub for feature/bug discussion and support requests. ## Building from source ### Prerequisites You need some tools in order to be able to build D2RQ. Depending on your operating system, they may or may not be already installed. * [git](http://git-scm.com/), for forking the source code repository from GitHub. Run `git` on the command line to see if it's there. * [Java JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html) v5 or later, for compiling Java sources. Run `java -version` and `javac` on the command line to see if it's there. * [Apache Ant](http://ant.apache.org/), for building D2RQ. Run `ant` on the command line to see if it's there. ### Getting the source Get the code by forking the GitHub repository and cloning your fork, or directly clone the main repository: ```git clone git@github.com:d2rq/d2rq.git``` ### Doing Ant builds D2RQ uses Apache Ant as its build system. You can run `ant -p` from the project's main directory to get an overview of available targets: To run the D2RQ tools, you need to do at least `ant jar`.
| ant all | Generate distribution files in zip and tar.gz formats |
| ant clean | Deletes all generated artefacts |
| ant compile | Compile project classes |
| ant compile.tests | Compile test classes |
| ant jar | Generate project jar file |
| ant javadoc | Generate Javadoc API documentation |
| ant tar | Generate distribution file in tar.gz format |
| ant test | Run tests |
| ant vocab.config | Regenerate Config vocabulary files from Turtle source |
| ant vocab.d2rq | Regenerate D2RQ vocabulary files from Turtle source |
| ant war | Generate war archive for deployment in servlet container |
| ant zip | Generate distribution file in zip format |