Now that the installers and new system architecture are in place, we need to make sure all of the sparql queries work with Fuseki, and get the unit tests and CI functional again. The CI should probably just build the package, run the tests, and confirm a working system install rather than go through the docker automation, which has become brittle.
[ ] SPARQL Queries Working
[x] Resource View queries:
[x] attributes
[x] incoming
[x] outgoing
[ ] full text search (Jamie)
[ ] nanopublications list
[ ] ontology view
[ ] vega editor (maybe check implementations like materialsmine for nonconformant queries)
[ ] ... (there are others, add as we think of them/ see them.
[ ] Unit Tests Pass
[ ] CI is functional
[ ] fix base page rendering
[ ] (optional) update default home page to be a bit more useful
Here's how to build whyis now for development:
Prerequisites:
Python 3.7+ (for Ubuntu 18.04 you'll need to add the deadsnakes ppa)
libdb or equivalent (berkeley-db@4 through homebrew)
Python dev package, pip, and venv
Nodejs and NPM.
To build:
Clone the project and check out the fuseki_integration branch.
Create a virtual environment called venv in the whyis repo with python 3.7 or later:
python3.9 -m venv venv
Activate the virtual environment:
source venv/bin/activate
Install setup requirements:
pip install wheel requests
Install whyis in developer mode:
pip install -e .
You'll need a test KG application to work with. You can do this by making a directory, cd'ing into it, and running whyis.
mkdir test_kg
cd test_kg
whyis
This will generate an app and run whyis on it. The app will be available at http://localhost:5000 of the machine you loaded it on. If you're running it in a VM, you'll need to add the -h 0.0.0.0 argument to whyis to tell it to not be localhost only.
Now that the installers and new system architecture are in place, we need to make sure all of the sparql queries work with Fuseki, and get the unit tests and CI functional again. The CI should probably just build the package, run the tests, and confirm a working system install rather than go through the docker automation, which has become brittle.
Here's how to build whyis now for development:
Prerequisites:
To build:
fuseki_integration
branch.venv
in the whyis repo with python 3.7 or later:You'll need a test KG application to work with. You can do this by making a directory, cd'ing into it, and running
whyis
.This will generate an app and run whyis on it. The app will be available at http://localhost:5000 of the machine you loaded it on. If you're running it in a VM, you'll need to add the
-h 0.0.0.0
argument to whyis to tell it to not be localhost only.