Skip to content

CSV2RDF4LOD_CONVERT_PERSON_URI

timrdf edited this page Feb 20, 2011 · 49 revisions

CSV2RDF4LOD_CONVERT_MACHINE_URI and CSV2RDF4LOD_CONVERT_PERSON_URI are environment variables used to cite yourself for the work that you do to produce high-quality data from a sea of chaotic ambiguity. To see the current values, use [cr-vars.sh](/~https://github.com/timrdf/csv2rdf4lod-automation/wiki/Script: cr-vars.sh). We recommend adding values to your [source-me.sh](/~https://github.com/timrdf/csv2rdf4lod-automation/wiki/Script: source-me.sh) as soon as you can after installation. To do that, just fill values into the variable declarations already provided:

export CSV2RDF4LOD_CONVERT_MACHINE_URI=""
...
export CSV2RDF4LOD_CONVERT_PERSON_URI=""

If neither are set

whoami is asserted as a foaf:accountName of an anonymous foaf:OnlineAccount. The foaf:OnlineAccount becomes the dc:creator of the conversion:EnhancementConversionProcess.

:dataset a void:Dataset;
   conversion:base_uri           "http://logd.tw.rpi.edu"^^xsd:anyURI;
   conversion:source_identifier  "source";
   conversion:dataset_identifier "scraperwiki-com";
   conversion:version_identifier "2011-Jan-24";
   conversion:conversion_process [
      a conversion:EnhancementConversionProcess;
      conversion:enhancement_identifier "1";

      dcterms:creator [ a foaf:OnlineAccount; foaf:accountName "lebot" ];                                            #
      dcterms:created "2011-02-20T10:28:47-05:00"^^xsd:dateTime;

If both are set

whoami is appended to $CSV2RDF4LOD_CONVERT_MACHINE_URI to name the dcterms:creator of the conversion:EnhancementConversionProcess, while $CSV2RDF4LOD_CONVERT_PERSON_URI is asserted to hold the foaf:OnlineAccount that created the conversion:EnhancementConversionProcess. sioc:account_of (foaf:holdsAccount's inverse) is also asserted between the foaf:OnlineAccount and Person.

<http://tw.rpi.edu/instances/TimLebo> foaf:holdsAccount <http://tw.rpi.edu/web/inside/machine/lebot_macbook#lebot> . #
<http://tw.rpi.edu/web/inside/machine/lebot_macbook#lebot>                                                           #
   a foaf:OnlineAccount;                                                                                             #
   foaf:accountName "lebot";                                                                                         #
   sioc:account_of <http://tw.rpi.edu/instances/TimLebo>;                                                            #
.

:dataset a void:Dataset;
   conversion:base_uri           "http://logd.tw.rpi.edu"^^xsd:anyURI;
   conversion:source_identifier  "source";
   conversion:dataset_identifier "scraperwiki-com";
   conversion:version_identifier "2011-Jan-24";
   conversion:conversion_process [
      a conversion:EnhancementConversionProcess;
      conversion:enhancement_identifier "1";

      dcterms:creator <http://tw.rpi.edu/web/inside/machine/lebot_macbook#lebot>;                                    #
      dcterms:created "2011-02-20T10:26:45-05:00"^^xsd:dateTime;

If just person URI is set

<http://tw.rpi.edu/instances/TimLebo> dcterms:identifier "lebot" .                                                   #

:dataset a void:Dataset;
   conversion:base_uri           "http://logd.tw.rpi.edu"^^xsd:anyURI;
   conversion:source_identifier  "source";
   conversion:dataset_identifier "scraperwiki-com";
   conversion:version_identifier "2011-Jan-24";
   conversion:conversion_process [
      a conversion:EnhancementConversionProcess;
      conversion:enhancement_identifier "1";

      dcterms:creator [ a foaf:OnlineAccount; foaf:accountName "lebot";                                              #
                        sioc:account_of <http://tw.rpi.edu/instances/TimLebo> ];                                     #

If just machine URI is set

<http://tw.rpi.edu/web/inside/machine/lebot_macbook#lebot>                                                           #
   a foaf:OnlineAccount;                                                                                             #
   foaf:accountName "lebot";                                                                                         #
.

:dataset a void:Dataset;
   conversion:base_uri           "http://logd.tw.rpi.edu"^^xsd:anyURI;
   conversion:source_identifier  "source";
   conversion:dataset_identifier "scraperwiki-com";
   conversion:version_identifier "2011-Jan-24";
   conversion:conversion_process [
      a conversion:EnhancementConversionProcess;
      conversion:enhancement_identifier "1";

      dcterms:creator <http://tw.rpi.edu/web/inside/machine/lebot_macbook#lebot>;                                    #
      dcterms:created "2011-02-20T10:49:35-05:00"^^xsd:dateTime;
Clone this wiki locally