| 1 | * problem in molgenis rdf_test : |
| 2 | * delete digital_identity entries in moglenis.n3 |
| 3 | * run again : |
| 4 | * new errors: |
| 5 | * * The import org.erasmusmc cannot be resolved |
| 6 | * remove all references in Peregrine in /molgenis_rdf_test/handwritten/java/plugin/MainPage/MainPage.java |
| 7 | * '''peregrine should run separately ! Needs a lot of memory ! ''' |
| 8 | * run again , ok! |
| 9 | * Now we got there : http://localhost:2020/ is actually showing molgenis data ! |
| 10 | * Now we need some real data : Form Joery : xgap_1_2_distro_15jan2010.sql |
| 11 | 1. Mysqlimport data into xgap_15_January: |
| 12 | 1. * mysql> create database xgap_15_January |
| 13 | * grant all privileges on xgap_15_January.* to molgenis@localhost identified by 'molgenis'; flush privileges; * |
| 14 | * * $ mysql5 -u root -p xgap_15_January < /Users/despoina/Documents/xgap_1_2_distro_15jan2010.sql |
| 15 | * |
| 16 | 1. Change database setting in molgenis.properties |
| 17 | 1. Run generate model |
| 18 | 1. copy model to file xgap_15_January_db.xml |
| 19 | 1. add : |
| 20 | 1. <?xml version="1.0" encoding="UTF-8"?> |
| 21 | 1. <molgenis name="xgap_15_January"> |
| 22 | * Field name was missing in some table in DB so error : |
| 23 | |
| 24 | 1. /molgenis/src/org/molgenis/model/jaxb/Model.java : add a check at if : |
| 25 | 1. * if (entity.getName().toLowerCase().equals(name.toLowerCase())) |
| 26 | |
| 27 | * After the model is created we detect the missing field name : |
| 28 | |
| 29 | 1. mref field descriptionId |
| 30 | 1. Material : added name="Material_id" |
| 31 | 1. OntologyTerm : added name="OntologyTerm" |
| 32 | 1. Strain: name="StrainId" |
| 33 | |
| 34 | * this could produce a lot of crap errors...import models form Joery ( |
| 35 | * fuge_db.xml, xgap_db_nochromosome.xml |
| 36 | * these models work. |
| 37 | * |
| 38 | * ''' In order to see your data in http://localhost:2020/ first build the mapping .: ''' |
| 39 | * $ generate-mapping -d com.mysql.jdbc.Driver -u root -p ... !jdbc:mysql://127.0.0.1/xgap_15_January > xgap_15_January.n3 |
| 40 | * In file : * /Users/despoina/Documents/workspace/molgenis_rdf_test/!WebContent/WEB-INF/molgenis.n3 |
| 41 | * TODO : the data showed in d2r browser are stack on address book . Where are they hiddenly cached? |
| 42 | |
| 43 | * Misc : There are three different kinds of Web agents that can access data through simple HTTP-based interfaces: |
| 44 | * RDF browsers, traditional HTML browsers, and SPARQL query clients. |
| 45 | * http://www4.wiwiss.fu-berlin.de/bizer/d2r-server/publishing/ * |
| 46 | * http://www.mecheng.adelaide.edu.au/~will/texstart/ : Download this as a start : http://www.mecheng.adelaide.edu.au/~will/texstart/ |
| 47 | * http://ii2.sourceforge.net/tex-index.html |