Changes between Version 2 and Version 3 of DespoinaLog/2010/10/28


Ignore:
Timestamp:
2010-10-28T14:04:33+02:00 (14 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DespoinaLog/2010/10/28

    v2 v3  
    22 * New molgenis project in molgenis4phenotypeWorkspaceHeliosCocoa32 with name  molgenis  ...and it's working with molgenis4pheno
    33
    4 == External Ontology  ==
    5 (see relative message including Pedro Lopes, '''Richard Cyganiak) '''
     4== External Ontology ==
     5(see relative message including Pedro Lopes, '''Richard Cyganiak) '''
    66
    7  * How  to connect multiple semantic systems, some using D2R and some purely semantic : 
    8    * learn basics of D2RQ mapping language, modify the mapping file that you probably created using generate-[[BR]]mapping.  This is probably the file that lives in molgenis_distro (generated by d2rq) : WebContent/WEB-INF/molgenis-rdf-mapping.n3
    9    *  
     7 * How  to connect multiple semantic systems, some using [http://www4.wiwiss.fu-berlin.de/bizer/D2RQ/spec/#specification D2R] and some purely semantic :
     8   * learn basics of D2RQ mapping language, modify the mapping file that you probably created using generate-[[BR]]mapping.  This is probably the file that lives in molgenis_distro (generated by d2rq) : WebContent/WEB-INF/molgenis-rdf-mapping.n3
     9 * For instance how to define mappings that explicitly say that a table column corresponds to an element of the FOAF ontology ?
     10   * In the mapping file there is a class map corresponding to each table . Find the right class map . below the class map , 
     11
     12there is a property bridge for each column . 
     13
     14
     15
     16Find the right class map. Below the class map, there's a property[[BR]]bridge for each column. Find the right one. Change its !d2rq:property [[BR]]value to the FOAF term, e.g., !foaf:name. You also have to make sure[[BR]]that the FOAF namespace is declared in the @prefix section at the very[[BR]]beginning of the file.[[BR]][[BR]]> Or that I have a[[BR]]> table column whose values map elements from the !DailyMed D2R database?[[BR]]Instead of mapping the column to a literal with !d2rq:column, use a[[BR]]!d2rq:uriPattern that produces URIs that match the URIs in the other[[BR]]dataset.