wiki:DespoinaLog/2010/10/28

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

--

  • molgenis3_3 is not connected to svn (probably after helios installation) . molgenis4pheno is working.
  • New molgenis project in molgenis4phenotypeWorkspaceHeliosCocoa32 with name molgenis ...and it's working with molgenis4pheno

External Ontology

(see relative message including Pedro Lopes, Richard Cyganiak)

  • How to connect multiple semantic systems, some using D2R and some purely semantic :
    • learn basics of D2RQ mapping language, modify the mapping file that you probably created using generate-
      mapping. This is probably the file that lives in molgenis_distro (generated by d2rq) : WebContent/WEB-INF/molgenis-rdf-mapping.n3
  • For instance how to define mappings that explicitly say that a table column corresponds to an element of the FOAF ontology ?
    • In the mapping file there is a class map corresponding to each table . Find the right class map . below the class map , 

there is a property bridge for each column . 

Find the right class map. Below the class map, there's a property
bridge for each column. Find the right one. Change its d2rq:property
value to the FOAF term, e.g., foaf:name. You also have to make sure
that the FOAF namespace is declared in the @prefix section at the very
beginning of the file.

> Or that I have a
> table column whose values map elements from the DailyMed D2R database?
Instead of mapping the column to a literal with d2rq:column, use a
d2rq:uriPattern that produces URIs that match the URIs in the other
dataset.