-
Notifications
You must be signed in to change notification settings - Fork 36
conversion:subject_template
timrdf edited this page Feb 27, 2011
·
15 revisions
(NOTE: subject_template will be the new predicate but is not recognized yet; use domain_template for now)
@prefix conversion: <http://purl.org/twc/vocab/conversion/> .
@prefix : <http://logd.tw.rpi.edu/source/data-gov/dataset/financial-yahoo/version/2009-May-18/params/enhancement/1/> .
:dataset a void:Dataset;
conversion:base_uri "http://logd.tw.rpi.edu"^^xsd:anyURI;
conversion:source_identifier "data-gov";
conversion:dataset_identifier "financial-yahoo";
conversion:dataset_version "2009-May-18";
conversion:conversion_process [
a conversion:RawConversionProcess;
conversion:enhancement_identifier "1";
conversion:enhance [
<font color="#FF0000">conversion:domain_template "[#1]-[#3]-[#4]"</font>; # Only one is needed; they are equivalent.
];
conversion:enhance [
ov:csvCol 1;
<font color="#FF0000">conversion:domain_template "[.]-[#3]-[#4]"</font>; # Only one is needed; they are equivalent.
];
@prefix financial-yahoo: <http://logd.tw.rpi.edu/source/data-gov/dataset/financial-yahoo/version/2009-May-18/> .
@prefix raw: <http://logd.tw.rpi.edu/source/data-gov/dataset/financial-yahoo/vocab/raw/> .
financial-yahoo:thing_2
raw:symbol "CLK10.NYM" ;
raw:last_trade_date "4/7/2010" ;
raw:last_trade_time "8:48am" ;
ov:csvRow 2 .
becomes
@prefix e1: <http://logd.tw.rpi.edu/source/data-gov/dataset/financial-yahoo/vocab/enhancement/1/> .
<font color="#FF0000">financial-yahoo:CLK10_NYM_4_7_2010_8_48am</font>
raw:symbol "CLK10.NYM" ;
raw:last_trade_date "4/7/2010" ;
raw:last_trade_time "8:48am" ;
ov:csvRow 2 .
The special case conversion:domain_template "[.]" is equivalent to a conversion:PrimaryKeyEnhancement
domain_templates can not be conversion:bundled_by any bundle.
conversion:domain_template
rdfs:domain [ owl:onProperty conversion:bundled_by; owl:cardinality 0; a owl:Restriction ] .
https://github.com/timrdf/csv2rdf4lod-automation/issues#issue/67