Skip to content

conversion:Unlabeled

Tim L edited this page Jun 21, 2013 · 1 revision

If you have a table like:

040874,Brooktrout

where the goofy string is an identifier, the converter automatically provides rdfs:label and dcterms:identifier properties to the promoted resource, like:

<http://purl.org/twc/semantgeo/source/aeap_nys/dataset/dfw_lake_samples/typed/lake/040874>
 a water:WaterSite;
 rdfs:label "Brooktrout";
 dcterms:identifier "040874";
 rdfs:label "040874" ;
.

But, if you have a naive user interface that gets confused by two rdfs:labels, this can be troublesome.

So, adding a conversion:Unlabeled to the enhancement will suppress this labeling:

      conversion:enhance [
         ov:csvCol          1;
         ov:csvHeader       "DEC Code";
         conversion:label   "DEC Code";
         conversion:range   rdfs:Resource;
         conversion:range_name     "Lake";
         conversion:range_template "[/sd]typed/lake/[.]";
         a conversion:Unlabeled;
      ];
Clone this wiki locally