Distinct-values-2-symbol-interps.pl

From Data-gov Wiki

Jump to: navigation, search
Infobox (Technology) edit with form
  • name: Distinct-values-2-symbol-interps.pl
  • modified: 2010-7-23


Distinct-values-2-symbol-interps.pl queries a SPARQL endpoint for all distinct values of a predicate within a certain named graph and creates a fragment of the enhancement parameters needed to use csv2rdf4lod's codebook enhancement.

$ distinct-values-2-symbol-interps.pl \
    --endpoint  http://localhost:2020/sparql \
    --graph     http://tw2.tw.rpi.edu/source/cordad-at-rpi-edu/dataset/eia/version/2010-Jul-14 \
    --predicate http://tw2.tw.rpi.edu/source/cordad-at-rpi-edu/dataset/eia/vocab/enhancement/1/primemover
        conv:interpret [
           conv:symbol         "ST";
           conv:interpretation "ST";
        ];
        conv:interpret [
           conv:symbol         "HY";
           conv:interpretation "HY";
        ];
        conv:interpret [
           conv:symbol         "IC";
           conv:interpretation "IC";
        ];
        conv:interpret [
           conv:symbol         "CT";
           conv:interpretation "CT";
        ];
        conv:interpret [
           conv:symbol         "CA";
           conv:interpretation "CA";
        ];
        conv:interpret [
           conv:symbol         "GT";
           conv:interpretation "GT";
        ];
        conv:interpret [
           conv:symbol         "CE";
           conv:interpretation "CE";
        ];
        conv:interpret [
           conv:symbol         "WT";
           conv:interpretation "WT";
        ];
        conv:interpret [
           conv:symbol         "CS";
           conv:interpretation "CS";
        ];
        conv:interpret [
           conv:symbol         "PS";
           conv:interpretation "PS";
        ];
        conv:interpret [
           conv:symbol         "PV";
           conv:interpretation "PV";
        ];
        conv:interpret [
           conv:symbol         "OT";
           conv:interpretation "OT";
        ];
        conv:interpret [
           conv:symbol         "FC";
           conv:interpretation "FC";
        ];
        conv:interpret [
           conv:symbol         "BT";
           conv:interpretation "BT";
        ];
Facts about Distinct-values-2-symbol-interps.plRDF feed
Dcterms:modified2010-7-23
Foaf:nameDistinct-values-2-symbol-interps.pl
Skos:altLabelDistinct-values-2-symbol-interps.pl  +, distinct-values-2-symbol-interps.pl  +, and DISTINCT-VALUES-2-SYMBOL-INTERPS.PL  +
Personal tools
internal pages