Hi bocai, This means that generate-mapping is filtering out *all* tables in the database. Try it without the --schemas and --tables options. Also, try using the schema.table notation instead of just table names in --tables.
Best, Richard > On 10 Mar 2015, at 13:14, Jiangenbo <jian...@clas.ac.cn> wrote: > > Hi, > Sorry for disturbing you. > I am a newer of D2RQ and want to generate a mapping file using this tool, but > failed. > My database is Mircrosoft SQL Server 2000 and my D2RQ version is 0.8.1. My > command and result are below: > > Command: > D:\d2rq-0.8.1>generate-mapping -u confuser -p 123456 -d > com.microsoft.sqlserver.jdbc.SQLServerDriver --schemas meeting --tables > t_conference,t_location,t_subject -o mapping.ttl > jdbc:sqlserver://localhost:1433 > > Result: > @prefix map: <#> . > @prefix db: <> . > @prefix vocab: <vocab/> . > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . > @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . > @prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> . > @prefix jdbc: <http://d2rq.org/terms/jdbc/> . > > map:database a d2rq:Database; > d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; > d2rq:jdbcDSN "jdbc:sqlserver://localhost:1433"; > d2rq:username "confuser"; > d2rq:password "123456"; > . > I don't know why there only have the database information and does not > include the table information (t_conference, t_location et.al). The database > user "confuser" is the db owner of "meeting" database and all these tables > are exit. I want to get the advice how can I modify it and get the right > result. > > Thank you very much! > > > bocai > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. > http://goparallel.sourceforge.net/_______________________________________________ > d2rq-map-devel mailing list > d2rq-map-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ d2rq-map-devel mailing list d2rq-map-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel