-
Notifications
You must be signed in to change notification settings - Fork 36
conversion:DataStartRow
Timothy Lebo edited this page Feb 14, 2012
·
18 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)
Structural conversion:Enhancements:
- conversion:HeaderRow - to specify the row that contains header data (or [dimensional values](Converting with cell based subjects)).
-
conversion:DataStartRow - to specify the first (inclusive) row that contains data.
- conversion:delimits_cell - to specify the character that terminates a cell.
- conversion:Only_if_column - to omit processing a row if a certain column's value is missing.
- conversion:Repeat_previous_if_empty_column - to "downfill" an empty cell with the value from above.
- conversion:repeat_previous - to specify a value that indicates repetition (instead of just an empty value).
- conversion:Omitted - to specify a column to omit.
- conversion:DataEndRow - to specify the last (inclusive) row that contains data.
See conversion:HeaderRow.
7 is the first row with data.
conversion:conversion_process [
conversion:enhance [
ov:csvRow 7;
a conversion:DataStartRow;
];
See also conversion:DataEndRow.
Which datasets start data rows at positions other than immediately after the header (results):
PREFIX ov: <http://open.vocab.org/terms/>
prefix geonames: <http://www.geonames.org/ontology#>
prefix conversion: <http://purl.org/twc/vocab/conversion/>
select distinct ?dataset ?row
where {
graph <http://purl.org/twc/vocab/conversion/ConversionProcess> {
?dataset conversion:conversion_process [
conversion:enhancement_identifier ?e;
conversion:enhance [
ov:csvRow ?row;
a conversion:DataStartRow;
]
]
}
}