This repo contains the resources (data and scripts) for the workshop entitled "Providing new views on textual data with knowledge graphs" held at the [2nd Heidelberg Summer School of Computing Humanities](https://hch19.cl.uni-heidelberg.de) on July 19th, 2019 by Juri Opitz and Leo Born.
## Repo structure
* _data/_ contains the untagged -- but annotated -- files of the [Old Bailey Corpus](http://fedora.clarin-d.uni-saarland.de/oldbailey/index.html)
* _output/_ is used as the default output directory for created knowledge graphs
* _output/gold/_ contains some sample knowledge graphs for the years 1720, 1820, and 1913
* _src/_ contains all scripts
* _visualization/_ contains the visualization suite (see separate README)
## Requirements
Python >3.0 is recommended. This repo was tested on Ubuntu and macOS (10.14).
This directory contains the visualization suite for the workshop ""Providing new views on textual data with knowledge graphs". It is written in JavaScript and based on [Angular JS v1](https://angularjs.org). The main visualization component is based on [visjs](https://visjs.org).
## Requirements
1. Active internet connection as some of the dependencies are loaded via CDNs
2. If you use _Firefox_, just open the file index.html in it
3. If you use a different browser, you need to set up a simple web server; with python for example, you just need to run "python -m SimpleHTTPServer" (python v2) or "python -m http.server" (python v3) in this directory
3. If you use a different browser, you need to set up a simple web server; with Python 3, you just need to run "python -m http.server" in this directory
* Per default, this should serve the app on port 8000 of localhost (access via 0.0.0.0:8000 or localhost:8000 in your browser)