The Linked Art Exhibition Browser Data Analysis is used to examine the 'shape' of exhibition data expressed as Linked Art JSON-LD.
The application includes Jupyter notebooks that can be viewed via various means, including via a web app interface using Mercury.
The app was created for use with the Linked Art Exhibition Browser and the Linked Art Exhibition MoMA dataset.
This repository also contains notebooks that create summary data files for us with the Linked Art Exhibition Browser
- data variables file - A Jupyter notebook that defines variables that are reused in other notebooks. This notebook needs to be executed before the other notebooks, to initialise these variables.
- exhibition summary file creator
- person summary file creator
- person linked data - queries wikidata for image files and writes URLs to data/wikidata files
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
If you have the Jupyter notebook extension, you can run the notebooks in Visual Studio Code editor:
- open and run the
variables.ipynb
notebook - open and run the
persons.ipynb
notebook
The run the Jupyter notebook in the browser, use the following command:
jupyter notebook
- open and run the
variables.ipynb
notebook - open and run the
persons.ipynb
notebook
https://github.com/mljar/mercury
Mercury provides a web app interface to the Jupyter notebooks.
- To start Mercury enter on the command line:
mercury watch variables.ipynb
- This will start Mercury.
- To add notebooks to the web app, enter the following in the command line
mercury watch person.ipynb
mercury watch person_nationality.ipynb
mercury watch person_name.ipynb
mercury watch person_born.ipynb
mercury watch person_exhibitions.ipynb
mercury watch exhibitions_year.ipynb
mercury watch exhibitions.ipynb
Use the command mercury list
to list the notebooks available in the app.
Use the commend mercury delete <notebook filename>
to remove a notebook from the mercury web app
- Navigate to the URL provided e.g. http://127.0.0.1:8000/
- Importantly, first action should be to open the
variables
notebook and pressrun
. - Click on the Mercury logo to return to the home page
- You are now ready to view the other notebooks available
This notebook contains two interactive widgets that allow you to change input values to the notebooks
- birth year
- updates the
Selected birth year / first letter of surname
histogram
- updates the
- nationality
- updates the
Selected nationality - American / Birth year
histogram
- updates the
Enter a valid nationality or birth year and press run
to view an updated output.
- Mercury https://github.com/mljar/mercury
- Mercury documentation https://mercury-docs.readthedocs.io/en/latest/
- Jupyter notebooks https://jupyter.org/
- Linked Art https://linked.art
- Linked Art Exhibition Browser
- Linked Art Exhibition MoMA dataset