-
Notifications
You must be signed in to change notification settings - Fork 36
conversion:equivalent_property
timrdf edited this page Sep 6, 2012
·
24 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)
if you don't use equiv_prop, then the converter generates a property named after the column header (or conversion:label).
if you DO use equiv_prop, the it uses the given property instead.
First,Last,Location
Tim,Lebo,NY
Jim,McCusker,CT
conversion:enhance [
ov:csvCol 1;
ov:csvHeader "First";
conversion:equivalent_property foaf:givenName;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 2;
ov:csvHeader "Last";
conversion:equivalent_property foaf:familyName;
conversion:range rdfs:Literal;
];
conversion:enhance [
ov:csvCol 3;
ov:csvHeader "Location";
conversion:equivalent_property foaf:based_near;
conversion:range rdfs:Resource;
];
results in:
:thing_2 foaf:firstName "Tim"; foaf:familyName "Lebo" ; foaf:based_near :NY .
:thing_3 foaf:firstName "Jim"; foaf:familyName "McCusker" ; foaf:based_near :CT .
google spreadsheet of prov-xg's vocabulary mappings -> csv export -> interpretation parameters -> enhancement 1 output.
conversion:enhance [
ov:csvCol 19;
ov:csvHeader "Reference Term";
conversion:equivalent_property owl:annotatedSource;
conversion:label "Reference Term";
conversion:range rdfs:Resource;
];
results
:term_Mapping_2
dcterms:isReferencedBy
<http://logd.tw.rpi.edu/source/spreadsheets-google-com/dataset/prov-xgs-vocabulary-mappings/version/2011-Feb-11> ;
a local_vocab:Term_Mapping ;
owl:annotatedSource opm:Process ;
owl:annotatedProperty skos:broadMatch ;
owl:annotatedTarget provenir:process ;
rdfs:seeAlso prov-xg-wiki:Mappings ;
ov:csvRow "2"^^xsd:integer .
- conversion:subproperty_of to include the local property AND the more useful one.
-
Converting with cell based subjects to override
rdf:value
to a specified predicate.