-
Notifications
You must be signed in to change notification settings - Fork 36
Enhancement pattern: using a cell value to rdf:type a row or another cell
Timothy Lebo edited this page Feb 14, 2012
·
10 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)
conversion:enhance [
ov:csvCol 3;
ov:csvHeader "Type";
conversion:equivalent_property rdf:type;
conversion:range rdfs:Resource;
conversion:range_template "[/sd]vocab/[.]";
conversion:interpret [
conversion:symbol "a";
conversion:interpretation "Apple";
];
conversion:interpret [
conversion:symbol "B";
conversion:interpretation "Banana";
];
];
input:
Name,Mood,Type
joe,happy,a
sally,sad,B
result:
@prefix local_vocab: <http://logd.tw.rpi.edu/source/lebot/dataset/enhancement-pattern-type-from-cell/vocab/> .
:thing_2
e1:name "joe" ;
e1:mood "happy" ;
a local_vocab:Apple ;
.
todo