dbpedia / ontology-time-machine

5 stars 2 forks source link

ontology-time-machine

A time machine proxy. This proxy enables access to specific historical versions of ontologies, ensuring that they can be retrieved even if no longer available at their original source.

Configuration options

defaultOntoVersion (default: originalFailoverLive)

ontoFormat

restrictedAccess (default: disabled)

httpsInterception

IN PROGRESS: authMode (default: off)

Deployed at:

95.217.207.179:8182

Installation

Before building the docker file:

git clone https://github.com/abhinavsingh/proxy.py.git
cd proxy.py
make ca-certificates
cp ca-cert.pem ~/ontology-time-machine/ca-cert.pem
cp ca-key.pem ~/ontology-time-machine/ca-key.pem
cp ca-signing-key.pem ~/ontology-time-machine/ca-signing-key.pem

Install poetry virtual environment

poetry install

Docker command:

Usage

Activate poetry environment

poetry shell

Starting the proxy

python3 ontologytimemachine/custom_proxy.py --ontoFormat ntriples --ontoVersion originalFailoverLiveLatest --ontoPrecedence enforcedPriority

Manual tests

Curl tests:

Not working: