Hi ????,

On 31 Mar 2014, at 10:07, ???? <1124250...@qq.com> wrote:
> First,my english is not good

You??re doing fine!

> 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




> 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
> d2rq-map-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
_______________________________________________
d2rq-map-devel mailing list
d2rq-map-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to