wiki:DespoinaLog/2010/12/21

Version 8 (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 Table 'bbmri.BiobankContact?_Biobank' doesn't exist in db  - delete map in n3 file .  

  • Same for : 
    • map:Person_Roles_Roles
    • map:Contact_Affiliations_Affiliations
    • map:ObservationElement_ontologyReference
    • map:ObservationElement_ontologyReference
    • map:ObservationElement_ontologyReference