A system to generate SPARQL queries from natural language queries.
JavaScript CSS HTML Ruby PHP
Switch branches/tags
Nothing to show
Clone or download
Latest commit 198bc38 Jun 19, 2018
Permalink
Failed to load latest commit information.
config REVISE the default parser Feb 22, 2018
lib Make the one_by_one_executor a event emitter Jun 18, 2018
log Add log directory Aug 3, 2016
public Bump Jun 19, 2018
spec Refactoring for version 2. Sep 16, 2015
src/js Bugfix: A client error occurs when the rendering of the first answer … Jun 19, 2018
tmp setup for unicorn Dec 8, 2014
views Add the answer media presentation Mar 12, 2018
.bowerrc Add the springy library. Oct 7, 2014
.dockerignore Unresolved module can be detected by the eslint Aug 15, 2017
.eslintignore Add the unhandled-error-message.js Sep 4, 2017
.eslintrc change an eslint rule from error to warning Mar 12, 2018
.gitignore REVISED dashboard revised. Jan 3, 2017
.rspec Refactoring for version 2. Sep 16, 2015
Dockerfile Update ruby version in the Dockerfile Jun 18, 2018
Gemfile REVISED to use ruby 2.5.1 Jun 7, 2018
Gemfile.lock REVISED to use ruby 2.5.1 Jun 7, 2018
README.md Change the application server from the thin to the puma Feb 22, 2018
bower.json Upgrade the graph editor Apr 6, 2018
config.ru Change the application server from the thin to the puma Feb 22, 2018
docker-compose.yml Enable to change the url_forwading_db via the environment variables Mar 14, 2018
lodqa-ws.rb Make the one_by_one_executor a event emitter Jun 18, 2018
package-lock.json Add a new npm command of 'npm run bump' to minify JavaScript files Feb 22, 2018
package.json Add a new npm command of 'npm run bump' to minify JavaScript files Feb 22, 2018

README.md

LODQA

LODQA (Linked Open Data Question-Answering) is a system to generate SPARQL queries from natural language queries.

Dependency

The Current LODQA system is dependent on two external services:

Currently, LODQA is developed and tested in Ruby v2.1.1.

License

Released under the MIT license.

Getting Started

git clone git@github.com:lodqa/lodqa.git
cd lodqa
bundle Install
bundle exec rackup -s puma -E deployment

Prerequisites

LODQA depends on graphviz and some ruby gems. Install them:

Installing

Install the graphviz. For exapmle for the ubuntu.

sudo apt-get install -y graphviz

Install gem packages:

bundle install

Docker guide

docker-compose up

Development

Prerequisites

LODQA depends on some npm packages and some bower packages to develop. Install them:

Installing

Install Node.js. For exapmle for ubuntu:

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs

For other operating systems, see Installing Node.js via package manager | Node.js

Install npm packages:

npm install

Install bower packages:

npm i -g bower
bower install

Deployment

Add additional notes about how to deploy this on a live system