Changes between Version 6 and Version 7 of DespoinaLog/2010/10/28
- Timestamp:
- 2010-10-28T14:20:50+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DespoinaLog/2010/10/28
v6 v7 5 5 (see relative message including Pedro Lopes, '''Richard Cyganiak) ''' 6 6 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 9 * 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 7 === How to connect multiple semantic systems, some using [http://www4.wiwiss.fu-berlin.de/bizer/D2RQ/spec/#specification D2R] and some purely semantic : ===[[BR]] 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 10 9 * === For instance how to define mappings that explicitly say that a table column corresponds to an element of the FOAF ontology ? === 11 10 12 * 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 .11 * 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 . 13 12 14 13 {{{ … … 59 58 . 60 59 }}} 61 * Find the right class map. Below the class map, there's a propertybridge for each column. Find the right one.62 * '''Change its !d2rq:property value to the FOAF term, e.g.,foaf:name.'''63 * '''You also have to make sure that the FOAF namespace is declared in the @prefix section at the very beginning of the file.'''60 * Find the right class map. Below the class map, there's a property bridge for each column. Find the right one. 61 * '''Change its !d2rq:property value to the FOAF term, e.g., foaf:name.''' 62 * '''You also have to make sure that the FOAF namespace is declared in the @prefix section at the very beginning of the file.''' 64 63 65 64 * === When there is a table column whose values map elements from the !DailyMed D2R database? === 66 65 67 * Instead of mapping the column to a literal with !d2rq:column, use a !d2rq:uriPattern that produces URIs that match the URIs in the otherdataset.66 * 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. 68 67 69 = next todos: = 70 * '''Change its !d2rq:property value to the FOAF term, e.g., !foaf:name.''' 71 * '''You also have to make sure that the FOAF namespace is declared in the @prefix section at the very beginning of the file.''' 72 * 68 = next todos: = 69 * '''Change its !d2rq:property value to the FOAF term, e.g., !foaf:name.''' 70 * '''You also have to make sure that the FOAF namespace is declared in the @prefix section at the very beginning of the file.''' *