wiki:DespoinaLog/2010/12/21

Version 6 (modified by antonak, 14 years ago) (diff)

--

http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/#quickstart

delete  WorkflowElement_WorkflowElements,  WorkflowElement_Workflow; !WorkflowElement_PreviousSteps; WorkflowElement?;

create 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

Warning Sorry, I don't know which columns to put into the uriPattern

for "biobank_new" because the table doesn't have a primary key.

Please specify it manually.



 

Server run without problem : $ d2r-server -p 8070 molgenis_rdf_mapping_GCC.n3

Upload to server :

1) upload latest version of d2r server. 2) create mapping from local db (bbmri) 3) antonakd@vm7:~/d2r-server-0.7$ ./generate-mapping -u molgenis -p molgenis -d com.mysql.jdbc.Driver -o molgenis_rdf_mapping_GCC.n3 jdbc:mysql://127.0.0.1/bbmri 4)./d2r-server -p 8070 molgenis_rdf_mapping_GCC.n3 5)ClassMap? not found at d2rq:PropertyBridge map:BiobankContact_Biobank (E21), related to ERROR 1146 (42S02): Table 'bbmri.BiobankContact_Biobank' doesn't exist