OregonDigital / ControlledVocabularyManager

Rails application with Blazegraph for managing controlled vocabularies in RDF.
http://opaquenamespace.org
GNU General Public License v3.0
21 stars 4 forks source link

same_as is not supported in csv_to_jsonld Rake task #580

Closed wickr closed 4 years ago

wickr commented 4 years ago

Describe the bug same_as is not a supported header in the transform:csv_to_jsonld Rake task. While it's not a commonly used property, especially on new names to import in, a need came up when creating names for the Middle East Waters collection.

To Reproduce Steps to reproduce the behavior:

  1. Have CSV file with same_as as one of the headers.
  2. Run the transform:csv_to_jsonld Rake task with CSV file.
  3. Receive NoMethodError: undefined methodsame_as' for main:Object`

Expected behavior same_as is valid as a header, mapped to the correct predicate and output is included with other properties in the resulting JSON-LD file.