-
Notifications
You must be signed in to change notification settings - Fork 36
Enhancement pattern: interpreting multi column composition
Tim L edited this page Jul 10, 2013
·
6 revisions
This enhancement pattern combines the following enhancements:
Literal handlers apply the conversion:range_template before they apply symbol/interpretation enhancement.
comp,optional,unknown
0,1,0
1,0,1
1,0,0
0,0,0
conversion:enhance [
ov:csvCol 1;
ov:csvHeader "comp";
#conversion:bundled_by [ ov:csvCol 1 ];
#conversion:label "comp";
#conversion:equivalent_property dcterms:identifier;
#conversion:subproperty_of dcterms:identifier;
conversion:comment "";
conversion:interpret [
conversion:symbol "010";
conversion:interpretation "hello";
];
conversion:range_template "[#1][#2][#3]";
conversion:range todo:Literal;
#conversion:range_name "Thing";
];
conversion:enhance [
ov:csvCol 2;
ov:csvHeader "optional";
a conversion:Omitted;
];
conversion:enhance [
ov:csvCol 3;
ov:csvHeader "optional";
a conversion:Omitted;
];
produces
:thing_2 dcterms:isReferencedBy <http://localhost/source/lebot/dataset/three-column-composite/version/2013-Jul-10> ;
void:inDataset <http://localhost/source/lebot/dataset/three-column-composite/version/2013-Jul-10> ;
e1:comp "hello" ;
ov:csvRow "2"^^xsd:integer .
:thing_3 dcterms:isReferencedBy <http://localhost/source/lebot/dataset/three-column-composite/version/2013-Jul-10> ;
void:inDataset <http://localhost/source/lebot/dataset/three-column-composite/version/2013-Jul-10> ;
e1:comp "101" ;
ov:csvRow "3"^^xsd:integer .