Discussion:
[d2rq-dev] Hello!
志飞
2014-03-31 09:07:29 UTC
Permalink
First,my english is not good
I have a problem
I want to make all od the tables in the two database mapped to a mapping file(ttl file).
but I could find the method


generate-mapping [-u user] [-p password] [-d driver] [-l script.sql] [--[skip-](schemas|tables|columns) list] [--w3c] [-v] [-b baseURI] [-o outfile.ttl] [--verbose] [--debug] jdbcURLI could create a tll file with the above way,but it is usful to only one databaseI hope to solve this problem,thank you !
Richard Cyganiak
2014-03-31 09:18:31 UTC
Permalink
Hi 志飞,
Post by 志飞
First,my english is not good
You’re doing fine!
Post by 志飞
I have a problem
I want to make all od the tables in the two database mapped to a mapping file(ttl file).
D2RQ can only connect to one single database.

If your data is in multiple different databases, you have a number of options:

1. You can export them all to RDF using dump-rdf, and then load all of the data into a single RDF store such as Virtuoso, Fuseki, etc.

2. You can set up two separate instances of D2R Server, one for each database, and then use a SPARQL federation engine to connect to the SPARQL endpoints of both D2R Server instances. See here for a recent comparison of SPARQL federation engines:

http://www.semantic-web-journal.net/system/files/swj625.pdf
http://svn.aksw.org/papers/2014/HiBISCuS_ESWC/public.pdf

Best,
Richard
Post by 志飞
but I could find the method
generate-mapping [-u user] [-p password] [-d driver]
[-l script.sql] [--[skip-](schemas|tables|columns) list]
[--w3c] [-v] [-b baseURI] [-o outfile.ttl]
[--verbose] [--debug]
jdbcURL
I could create a tll file with the above way,but it is usful to only one database
I hope to solve this problem,thank you !
------------------------------------------------------------------------------
_______________________________________________
d2rq-map-devel mailing list
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel
Loading...