d2rq-0.8.1

所属分类:数据库编程
开发工具:Java
文件大小:18696KB
下载次数:23
上传日期:2015-09-27 16:02:24
上 传 者Romanticone
说明:  这是一个将数据库数据转换成sparql查询的工具,很强大!
(This is a tool to convert the data into a query sparql, very powerful!)

文件列表:
d2rq-0.8.1\b1.ttl (1568, 2015-05-23)
d2rq-0.8.1\build.xml (8253, 2012-06-22)
d2rq-0.8.1\d1.n3 (7480, 2015-06-13)
d2rq-0.8.1\d1.RDF (7516, 2015-06-13)
d2rq-0.8.1\d1.ttl (2464, 2015-06-13)
d2rq-0.8.1\d2.n3 (8157, 2015-06-13)
d2rq-0.8.1\d2.rdf (8197, 2015-06-13)
d2rq-0.8.1\d2.ttl (2536, 2015-06-13)
d2rq-0.8.1\d2r-query (428, 2012-06-22)
d2rq-0.8.1\d2r-query.bat (364, 2012-06-22)
d2rq-0.8.1\d2r-server (536, 2012-06-22)
d2rq-0.8.1\d2r-server.bat (478, 2012-06-22)
d2rq-0.8.1\dd1.rdf (8486, 2015-06-13)
d2rq-0.8.1\dd1.ttl (2703, 2015-06-13)
d2rq-0.8.1\dd2.rdf (8407, 2015-06-13)
d2rq-0.8.1\dd2.ttl (2751, 2015-06-13)
d2rq-0.8.1\doc\.htaccess (81, 2012-06-22)
d2rq-0.8.1\doc\archive.html (8445, 2012-06-22)
d2rq-0.8.1\doc\d2r-query.html (3616, 2012-06-22)
d2rq-0.8.1\doc\d2r-server.html (25269, 2012-06-22)
d2rq-0.8.1\doc\d2rq-language.html (73443, 2012-06-22)
d2rq-0.8.1\doc\dump-rdf.html (3533, 2012-06-22)
d2rq-0.8.1\doc\example\assembler.ttl (290, 2012-06-22)
d2rq-0.8.1\doc\example\config-iswc.ttl (8844, 2012-06-22)
d2rq-0.8.1\doc\example\iswc-mysql.sql (21733, 2012-06-22)
d2rq-0.8.1\doc\example\iswc.daml (35618, 2012-06-22)
d2rq-0.8.1\doc\example\mapping-iswc.ttl (9794, 2012-06-22)
d2rq-0.8.1\doc\example\simple.sql (209, 2012-06-22)
d2rq-0.8.1\doc\example\wordpress.ttl (7142, 2012-06-22)
d2rq-0.8.1\doc\generate-mapping.html (8430, 2012-06-22)
d2rq-0.8.1\doc\getting-started.html (5509, 2012-06-22)
d2rq-0.8.1\doc\images\architecture.png (37623, 2012-06-22)
d2rq-0.8.1\doc\images\d2rs-screenshot-start.png (121275, 2012-06-22)
d2rq-0.8.1\doc\images\deri-logo.png (15297, 2012-06-22)
d2rq-0.8.1\doc\images\fu-logo.gif (6349, 2012-06-22)
d2rq-0.8.1\doc\images\mapping.png (62452, 2012-06-22)
d2rq-0.8.1\doc\index.html (11460, 2012-06-22)
d2rq-0.8.1\doc\javadoc\allclasses-frame.html (29111, 2012-06-22)
d2rq-0.8.1\doc\javadoc\allclasses-noframe.html (25391, 2012-06-22)
d2rq-0.8.1\doc\javadoc\constant-values.html (61076, 2012-06-22)
... ...

# 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 The project's mailing list is here: https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel Also check the open issues here on GitHub for feature/bug discussion. ## 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 allGenerate distribution files in zip and tar.gz formats
ant cleanDeletes all generated artefacts
ant compileCompile project classes
ant compile.testsCompile test classes
ant jarGenerate project jar file
ant javadocGenerate Javadoc API documentation
ant tarGenerate distribution file in tar.gz format
ant testRun tests
ant vocab.configRegenerate Config vocabulary files from Turtle source
ant vocab.d2rqRegenerate D2RQ vocabulary files from Turtle source
ant warGenerate war archive for deployment in servlet container
ant zipGenerate distribution file in zip format
## Running D2RQ After building with `ant jar`, you can test-run the various components. Let's assume you have a MySQL database called `mydb` on your machine. ### Generating a default mapping file ```./generate-mapping -u root -o mydb.ttl jdbc:mysql:///mydb``` This generates a mapping file `mydb.ttl` for your database. ### Dumping the database ```./dump-rdf -m mydb.ttl -o dump.nt``` This creates `dump.nt`, a dump containing the mapped RDF in N-Triples format. ### Running D2R Server ```./d2r-server mydb.ttl``` This starts up a server at http://localhost:2020/ ### Deploying D2R Server into a servlet container Edit `/webapp/WEB-INF/web.xml` to point the `configFile` parameter to the location of your mapping file. Build a war file with `ant war`. Deploy the war file, e.g., by copying it into the servlet container's `webapps` directory. ### Running the unit tests The unit tests can be executed with `ant test`. Some unit tests rely on MySQL being present, and require that two databases are created: 1. A database called `iswc` that contains the data from `/doc/example/iswc-mysql.sql`: echo "CREATE DATABASE iswc" | mysql -u root mysql -u root iswc < doc/example/iswc-mysql.sql 2. An empty database called `D2RQ_TEST`.

近期下载者

相关文件


收藏者