ofilangi / askomics

AskOmics is a visual SPARQL query builder for RDF database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AskOmics

Build Status Coverage Status Docker Build

Askomics logo

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

Askomics Homepage

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 :

AskOmics also uses the following bundled libraries:

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

About

AskOmics is a visual SPARQL query builder for RDF database.

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 57.0%Language:Python 35.7%Language:HTML 4.4%Language:CSS 2.6%Language:Shell 0.3%