timrdf / csv2rdf4lod-automation

Shell script automation to support csv2rdf4lod converter
https://github.com/timrdf/csv2rdf4lod-automation/wiki
Apache License 2.0
109 stars 36 forks source link

Skipping E1 conversion b/c enhancement parameters #307

Closed timrdf closed 11 years ago

timrdf commented 11 years ago
bash-3.2$ ./convert-ebird-data.sh 
--------------------------------------------------------------------------------
ebd_relAug-2012-1000.txt
   Skipping E1 conversion b/c enhancement parameters do not provide any useful enhancements: (manual/ebd_relAug-2012-1000.txt.e1.params.ttl)

even though:

      conversion:enhance [
         ov:csvCol          2;
         ov:csvHeader       "TAXONOMIC ORDER";
         #conversion:label   "TAXONOMIC ORDER";
         conversion:comment "";
   conversion:equivalent_property geospecies:inOrder;
   conversion:range_name geospecies:OrderConcept;
         conversion:range  rdfs:Resource;
      ];

and many other enhancements.

timrdf commented 11 years ago

This wan't a UsefulEnhancements problem, it was a syntax error on the eparams. So the syntax checking error is not surfacing.

timrdf commented 11 years ago

Added check in https://github.com/timrdf/csv2rdf4lod-automation/commit/64765594aa91b8b3a656eab59d46f835ac593841

bash-3.2$ ./convert-ebird-data.sh 
--------------------------------------------------------------------------------
ebd_relAug-2012-1000.txt

WARNING; invalid RDF syntax in manual/ebd_relAug-2012-1000.txt.e1.params.ttl

   Skipping E1 conversion b/c enhancement parameters do not provide any useful enhancements: (manual/ebd_relAug-2012-1000.txt.e1.params.ttl)
   convert.sh done
convert-aggregate.sh not publishing b/c $CSV2RDF4LOD_PUBLISH=false.
===========================================================================================