timrdf/csv2rdf4lod-automation

inappropriate labels on promoted resources when not named with cell

Closed this issue · 1 comments

name,knows
Joe,Suzy
Sam,Joel
Harry,George
Sally,Tom

with a range_template that does NOT use the cell value:

      conversion:enhance [
         ov:csvCol          2;
         ov:csvHeader       "knows";
         #conversion:bundled_by [ ov:csvCol 1 ];
         conversion:label   "knows";
         conversion:interpret [
            conversion:symbol        "Joel";
            conversion:interpretation conversion:null; 
         ];
         #conversion:equivalent_property dcterms:identifier;
         #conversion:subproperty_of      dcterms:identifier;
         conversion:comment "";
         conversion:range_template  "[/]thing-no-cell-value-needed";

includes labels with the cell value:

<http://localhost/thing-no-cell-value-needed> dcterms:identifier "Suzy" ;
   rdfs:label "Suzy" ;
   dcterms:identifier "George" ;
   rdfs:label "George" ;
   dcterms:identifier "Tom" ;
   rdfs:label "Tom" .

conversion:range_template "[/]thing-no-cell-value-needed/[.]"; now produces:

<http://localhost/thing-no-cell-value-needed/Suzy> dcterms:identifier "Suzy" ;
   rdfs:label "Suzy" .

<http://localhost/thing-no-cell-value-needed/George> dcterms:identifier "George" ;
   rdfs:label "George" .

<http://localhost/thing-no-cell-value-needed/Tommy> dcterms:identifier "Tom" ;
   conversion:symbol "Tom" ;
   conversion:interpretation "Tommy" ;
   rdfs:label "Tommy" .

and

conversion:range_template "[/]thing-no-cell-value-needed"; now produces:

<http://localhost/thing-no-cell-value-needed> conversion:symbol "Tom" ;
   conversion:interpretation "Tommy" .