timrdf/csv2rdf4lod-automation — Issue #257: range_name on object_search
Author: timrdf
Created: 2011-12-30 20:15:55+00:00
State: open

```
conversion:enhance [
ov:csvCol 5;
ov:csvHeader "DESCRIPTION";
#conversion:label "DESCRIPTION";
conversion:equivalent_property rdfs:label;
conversion:comment "";
conversion:range rdfs:Literal;
conversion:object_search [
conversion:regex "([^,]+), ";
conversion:predicate dcterms:subject;
conversion:object "[/sd]dimension/[\\1]";
conversion:range_name "Dimension";
];
conversion:object_search [
conversion:regex ", ([^,]+)$"; # If you have a single regex, feel free to email me.
conversion:predicate dcterms:subject;
conversion:object "[/sd]dimension/[\\1]";
conversion:range_name "Dimension";
];
];
```