Skip to content

conversion:includes

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

See conversion:Enhancement and Reusing enhancement parameters for multiple versions or datasets.

Definition

If the converter uses conversion parameters represented in an RDF Model CP, and CP contains a triple ?s conversion:includes E, then CP = CP union E.

In other words, if the conversion parameters use conversion:include E, then retrieve E (a web resource) and include it into the rest of the conversion parameters. Although this should work transitively/recursively, the implementation currently performs a single step (if you want it, go vote for issue 91).

Example

The most extensive use of conversion:includes was for NITRD's dataset; see the enhancement parameters in it's provenance directory. In there, you'll find that FY00_Supp_HPCC_Budget_Cross_Cut.csv.csv.e1.params.ttl conversion:includes agency-footnote-symbol-interpretations.params.ttl and column-style-1-3-FY94-FY11.e1.params.ttl.

   conversion:conversion_process [
      a conversion:EnhancementConversionProcess;
      conversion:enhancement_identifier "1";
      conversion:subject_discriminator  "fy00_supp_hpcc_budget_cross_cut";

      dcterms:creator <http://tw.rpi.edu/web/inside/machine/lebot_macbook#lebot>;                       

      conversion:includes <agency-footnote-symbol-interpretations.params.ttl>,
                          <column-style-1-3-FY94-FY11.e1.params.ttl>;

Example

  conversion:enhance [
     ov:csvCol         1;
     ov:csvHeader     "Agency";
     conversion:includes <agency-footnote-symbol-interpretations.params.ttl>;
     conversion:domain_name "AgencyBudgetDistribution";
     conversion:label "Agency";
     conversion:comment "";
     conversion:range  rdfs:Resource;
     conversion:range_name "Agency";
  ];

Ontology definition

conversion:includes rdfs:domain [ owl:unionOf ( conversion:ConversionProcess conversion:Enhancement ) ] .

See also

Clone this wiki locally