The goal is to build a knowledge graph to explore regularities, patterns, and trends in UFO sightings.
Before you begin, ensure you have the following installed:
- Python 3.6 or higher
- Jupyter Notebook
- Any dependencies listed in
requirements.txt
You can install Jupyter Notebook and other dependencies using pip:
pip install jupyter notebook
pip install -r requirements.txt
- Preprocessing.ipynb: Used for managing and visualizing the ontology.
- SPQRQL.ipynb: Contains SPARQL queries for interacting with the knowledge graph.
- Navigate to the root directory of the project where the notebooks are located.
- Start the Jupyter Notebook server:
jupyter notebook
-
Your default web browser should open automatically with a list of files in the project directory. If it doesn't, copy and paste the URL from the terminal into your browser.
-
Click on the notebook you wish to run (Preprocessing.ipynb then SPQRQL.ipynb).
-
Run the cells in the notebook by selecting each and pressing Shift + Enter, or by using the "Run" button in the toolbar.
- Preprocessing.ipynb: Contains code for cleaning our data
- SPQRQL.ipynb: Contains some of the queries which can be run against our knowledge graph