- problem in molgenis rdf_test :
- delete digital_identity entries in moglenis.n3
- run again :
- new errors:
- * The import org.erasmusmc cannot be resolved
- remove all references in Peregrine in /molgenis_rdf_test/handwritten/java/plugin/MainPage/MainPage.java
- peregrine should run separately ! Needs a lot of memory !
- run again , ok!
- Now we got there : http://localhost:2020/ is actually showing molgenis data !
- Now we need some real data : Form Joery : xgap_1_2_distro_15jan2010.sql
- Mysqlimport data into xgap_15_January:
- * mysql> create database xgap_15_January
- grant all privileges on xgap_15_January.* to molgenis@localhost identified by 'molgenis'; flush privileges; *
- * $ mysql5 -u root -p xgap_15_January < /Users/despoina/Documents/xgap_1_2_distro_15jan2010.sql
-
- Change database setting in molgenis.properties
- Run generate model
- copy model to file xgap_15_January_db.xml
- add :
- <?xml version="1.0" encoding="UTF-8"?>
- <molgenis name="xgap_15_January">
- Field name was missing in some table in DB so error :
- /molgenis/src/org/molgenis/model/jaxb/Model.java : add a check at if :
- * if (entity.getName().toLowerCase().equals(name.toLowerCase()))
- After the model is created we detect the missing field name :
- mref field descriptionId
- Material : added name="Material_id"
- OntologyTerm? : added name="OntologyTerm?"
- Strain: name="StrainId?"
- this could produce a lot of crap errors...import models form Joery (
- fuge_db.xml, xgap_db_nochromosome.xml
- these models work.
-
- In order to see your data in http://localhost:2020/ first build the mapping .:
- $ generate-mapping -d com.mysql.jdbc.Driver -u root -p ... jdbc:mysql://127.0.0.1/xgap_15_January > xgap_15_January.n3
- In file : * /Users/despoina/Documents/workspace/molgenis_rdf_test/WebContent/WEB-INF/molgenis.n3
- TODO : the data showed in d2r browser are stack on address book . Where are they hiddenly cached?
Download in other formats: