AskOmics
AskOmics is a visual SPARQL query interface supporting both intuitive data integration and querying while shielding the user from most of the technical difficulties underlying RDF and SPARQL
Run AskOmics
AskOmics is available under two supports : Docker and VM Virtualbox.
https://github.com/askomics/askomics/wiki
Development information
Requirements
If you want to use AskOmics, you will need :
- Python 3.3 (or greater)
- Pyramid 1.5 (or greater)
- SPARQLWrapper 1.6.4 (or greater)
AskOmics also uses the following bundled libraries:
- Bootstrap
- D3.js
- jQuery
- jQuery-File-Upload
- Handlebars.js
- Google Material icons
- Font Awesome icons
- DataTables
- jQuery contextMenu
Browser compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
38+ | 13+ | Not supported | 25+ | 7.1+ |
Install Askomics
Requirements
- python3.3
- pip
- venv
- npm
- gulp
- docker
Manual installation
- Install Virtuoso
docker run -d --name virtuoso \
-e VIRT_Parameters_TN_MAX_memory=4000000000 \
-e VIRT_SPARQL_ResultSetMaxRows=100000 \
-e VIRT_SPARQL_MaxQueryCostEstimationTime=300 \
-e VIRT_SPARQL_MaxQueryExecutionTime=300 \
-e VIRT_SPARQL_MaxDataSourceSize=1000000000 \
-e VIRT_Flags_TN_MAX_memory=4000000000 \
-e DBA_PASSWORD=dba \
-e SPARQL_UPDATE=true \
-e DEFAULT_GRAPH=http://localhost:8890/DAV \
--net="host" -t askomics/virtuoso
- Run
startAskomics.sh
./startAskomics -t <triplestore> -d <mode>
with:
- triplestore: fuseki or virtuoso
- mode: prod (production) or dev (development)
Running tests
AskOmics comes with some unit and functional tests.
Python tests
To run tests, AskOmics need a triplestore and a Galaxy instance.
The testing configuration is set in the test.virtuoso.ini
file.
To get a Galaxy instance, you can run a docker galaxy with the following lines
docker pull bgruening/galaxy-stable
docker run -d -p 8080:80 -p 8021:21 -p 8022:22 bgruening/galaxy-stable
Then, test can be run with
All tests
./venv/bin/python setup.py nosetests
Without Galaxy Tests
./venv/bin/python setup.py nosetests -a '!galaxy'
Target a single file test
./venv/bin/python setup.py nosetests -a '!galaxy' --tests askomics/test/askView_test.py
With a html report coverage
./venv/bin/python setup.py nosetests -a '!galaxy' --with-coverage --cover-erase --cover-html
Javascript tests
gulp test