richesraphaelmodelling

Copy of SSHOC for further development

https://github.com/jpadfield/richesraphaelmodelling

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Copy of SSHOC for further development

Basic Info
  • Host: GitHub
  • Owner: jpadfield
  • License: other
  • Language: Python
  • Default Branch: main
  • Size: 117 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 8 months ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

DOI

SSHOC - Mapping Raphael to the CIDOC CRM

Please note the content of the Inputs and Outputs is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

CC BY-NC-SA 4.0

In 2007 the Raphael Research Resource project began to examine how complex conservation, scientific and art historical research could be combined in a flexible digital form. Exploring the presentation of interrelated high resolution images and text, along with how the data could be stored in relation to an event driven ontology in the form of RDF triples. The original main user interface is still live and the data stored within the system has been mapped tot he CIDOC CRM using the code presented here. The SSHOC work aimed to make this data more FAIR so in addition to mapping it to a standard ontology, to increase Interoperability, it has also been made available in the form of open linkable data combined with a SPARQL end-point. This live data presentation can been found Here.

This repo contains code that parses an old XML export of the Raphael Research Resource, along with pulling additional data from some of the National Gallery internal data sources and maps the data to CIDOC-CRM. As the code currently connects to some internal systems some aditional work may be required for it to run externally.

Running the code

  • To run the code in this repo simply run '''raphael_mapping.py''' from the command line.
  • Certain inputs (AAT references) appear in the inputs folder as Excel spreadsheets; others are included as XML files.
  • Copies of each section of the code are saved in the outputs folder as they are generated. There are seven sub-graphs which combined make up a full graph. Outputs are saved in XML, TTL and TRIG formats.
  • A partial rebuild can be initiated by deleting the relevant files in the outputs folder and rerunning the code (e.g. to rebuild all objects, delete the grounds_object files). The code checks for these output files before it decides which parts of the graph to build.
  • A full rebuild can be initiated by passing the command line argument 'fullrebuild' when running grounds_mapping. This will take a long time to run so it's not recommended unless absolutely necessary.
  • Run inferencing.py with a graph TTL file as the input to output an inferenced version of the RDF graph.

Acknowledgement

This project was developed and tested as part of the work of the following project:

H2020 EU project SSHOC

SSHOC Grant Info SSHOC Grant Info

Owner

  • Name: Joseph Padfield
  • Login: jpadfield
  • Kind: user
  • Company: The National Gallery

Citation (citation_parser.rb)

require 'anystyle'

ARGV.each do|reference|
parsed_version = AnyStyle.parse "#{reference}"

require 'json'
json_version = parsed_version.to_json

puts json_version
end

GitHub Events

Total
  • Delete event: 1
  • Push event: 2
  • Create event: 4
Last Year
  • Delete event: 1
  • Push event: 2
  • Create event: 4

Dependencies

requirements.txt pypi