mhbeals / nisaba

A tool for multi-modal annotation
GNU Affero General Public License v3.0
5 stars 2 forks source link

Change Metadata to Open Citations Format (SPAR) #2

Closed mhbeals closed 5 years ago

mhbeals commented 5 years ago

More elastic and up-to-date model is available at Open Citations and their data model

mhbeals commented 5 years ago

@albertmeronyo A way needs to be included to attach URI information for metadata to config schema. I "think" the best way would the best way be to have to have another config file / config screen for listing "used ontologies" and then pull from that. What do you think?

albertmeronyo commented 5 years ago

Sounds good (eventually this could pull from the DH ontology repo, but for now a config screen with preferred namespaces/vocabulary terms to map to should be fine)

mhbeals commented 5 years ago

Okay. Great! I have now officially broken most of the rdf_mapper function by changing all the field names in collection/item/segment bibliographic files to SPAR standards. I will be doing to final-ish edits to the naming conventions this week so best not to re-map just yet.

The final aim will be a drop down on the screen that let's you choose a bibliographic entry type (book, article, etc) and then display those fields (Zotero like) so that people can use our standard types or add files of their own. This means being able to package classes/properties "on the fly" and will require some thought on the most streamlined way to do it.

mhbeals commented 5 years ago

This has largely been implemented for JSON

While most collections/items/segment information is flat (all under the same level "object") there is some difficulty for certain types (book chapters/journal articles) where the dc:title of the chapter / article should be nested as "part of" dc:title'ed book / journal. I am not sure how best to inform the RDF parser of this structure since all of it will be under "collection"

My initial thought is that this structure should be encoded in the configuration file (changing these from YAML to .ini?)

Thoughts @albertmeronyo ?