Skip to content

conversion:comment

Tim L edited this page May 30, 2013 · 6 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)

See conversion:Enhancement.

passes through conversion to a rdfs:comment on the predicate created for this column.

      conversion:enhance [
         ov:csvCol          1;
         ov:csvHeader       "Accession Code (sample#)";
         conversion:label   "Accession Code (sample#)";
         conversion:equivalent_property <http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#ofEntity>;
         conversion:comment "A unique numeric reference to a specific water sample taken from a lake";
         conversion:range   rdfs:Resource;
         conversion:range_name  "WaterSample";
      ];

leads a conversion output containing an rdfs:comment with the same value as the enhancement's conversion:comment:

e1:accession_code_sample
   a rdf:Property ;
   ov:csvRow "1"^^xsd:integer ;
   ov:csvCol "1"^^xsd:integer ;
   ov:csvHeader "Accession Code (sample#)" ;
   conversion:enhancement_layer "1" ;
   rdfs:label "Accession Code sample#" ;
   rdfs:range rdfs:Resource ;
   rdfs:comment "A unique numeric reference to a specific water sample taken from a lake" ;
   conversion:enhances raw:accession_code_sample .
Clone this wiki locally