Skip to content

conversion:i18n

Timothy Lebo edited this page Feb 14, 2012 · 9 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)

conversion:Enhancement inspired by request.

Example

https://github.com/timrdf/csv2rdf4lod-automation/blob/master/doc/examples/source/lebot/i18n/version/2011-Apr-19/manual/demo-i18n.csv.e1.params.ttl

[] conversion:includes <https://github.com/timrdf/csv2rdf4lod-automation/raw/master/doc/i18n/es.params.ttl>;

https://github.com/timrdf/csv2rdf4lod-automation/raw/master/doc/i18n/es.params.ttl contains:

# See https://github.com/timrdf/csv2rdf4lod-automation/wiki/conversion:i18n

@prefix conversion: <http://purl.org/twc/vocab/conversion/> .

[] conversion:conversion_process [
   conversion:i18n [
      ...
      conversion:interpret [
          conversion:symbol         "_page"@en;
          conversion:interpretation "_pagina"@es;
      ];
  ]
] .  

results in:

<http://logd.tw.rpi.edu/source/lebot/dataset/i18n/version/2011-Apr-19/conversion/enhancement/1> 
   foaf:isPrimaryTopicOf 
   <http://logd.tw.rpi.edu/source/lebot/dataset_pagina/i18n/version/2011-Apr-19/conversion/enhancement/1> ;

Reducing copy/paste with conversion:includes

To avoid re-producing the mappings in each parameters file, they can be referenced using conversion:includes:

   conversion:includes <https://github.com/timrdf/csv2rdf4lod-automation/raw/master/doc/i18n/es.params.ttl>;

Ontology

domain: conv:ConversionProcess

range: a bucket of symbol/interps.

Clone this wiki locally