Skip to content

CSV2RDF4LOD_CONVERT_PERSON_URI

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

[up](CSV2RDF4LOD environment variables)

See also Provenance.

Introduction

When the default [enhancement parameters are created](Generating enhancement parameters), the environment variables CSV2RDF4LOD_CONVERT_MACHINE_URI and CSV2RDF4LOD_CONVERT_PERSON_URI are used to capture information about the person responsible. With this extra information, you cite yourself for the time and consideration that you spend producing high-quality data from a sea of chaotic ambiguity. It can also be used to calculate the impact your data curation efforts have on subsequent data products, web applications, and the people that use them.

Setting up to get attribution

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=""

These values are used to annotate the enhancement parameters (manual/*.e1.params.ttl) when they are created. Since the converter includes the conversion parameters into its output dataset and metadata, the citation will carry through to those consuming the data.

Getting credit - 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;

Getting credit - 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;

Getting credit - 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> ];                                     #

Getting credit - 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;

See also

Clone this wiki locally