Skip to content

cnikas/elas4rdf_qa

Repository files navigation

Question Answering (QA) Component of Elas4RDF

Overview

overview

This repository contains code for the Question Answering Component of Elas4RDF.

It is used to provide answers for the QA tab of Elas4RDF (demo available here), but it can be used as a REST API as well.

Endpoint: /answer, Parameter: question, Example: /answer?question=who is the father of Obama?

Requirements:

  1. python 3
  2. pip 3
  3. pip modules in requirements.txt (install with: pip3 install -r requirements.txt)
  4. model files (download here to /resources folder)

To start:

  1. development server: flask run --host=0.0.0.0
  2. production server: gunicorn IP:PORT --workers 1 --limit-request-line 0 app:app --daemon --error-logfile gunicorn_error.log --timeout 120

Publication

C. Nikas, P. Fafalios and Y. Tzitzikas, Open Domain Question Answering over Knowledge Graphs using Keyword Search, Answer Type Prediction, SPARQL and Pre-trained Neural Models , International Semantic Web Conference (ISWC) 2021

About

Question Answering (QA) Component of Elas4RDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages