Version 9 (modified by 14 years ago) (diff) | ,
---|
latest version of d2rq
http://d2rqupdate.cs.technion.ac.il/tutorial
also needed: jsqlparser (http://jsqlparser.sourceforge.net/home.php)
and JGraphT from http://www.jgrapht.org/
http://sw.cs.technion.ac.il/d2rq/tutorial
- create test d2r DB
- download mapping from : http://www4.wiwiss.fu-berlin.de/bizer/D2RQ/example/mapping-iswc.n3
- 3.$ d2r-server -p 8080 mapping-iswc.n3
- 13:25:50 WARN log :: failed SocketConnector@0.0.0.0:8080
- try different port : ...$ d2r-server -p 8090 mapping-iswc.n3
- http://localhost:8090/snorql/?query=SELECT+DISTINCT+*+WHERE+{%0D%0A++%3Fs+%3Fp+%3Fo%0D%0A}%0D%0ALIMIT+10
- generate a new mapping : generate-mapping -u root -p root -d com.mysql.jdbc.Driver -o molgenis-rdf-mapping-GCC.n3 jdbc:mysql://127.0.0.1/bbmri
- * d2r-server -p 8091 molgenis-rdf-mapping-GCC.n3 *
problems with d2r-update version .
In previous version :$ d2r-server -p 8070 mapping-iswc.n3 -
SELEct ?phone where { ?person !foaf:name 'Yolanda Gil'; !iswc:phone ?phone }