Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kulsingh/OKTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Reference Implementation for Creating Question Answering Systems following the Qanary Methodology

Qanary in a Nutshell

Qanary is a Methodology for Creating Question Answering Systems it is part of the WDAqua project where question answering systems are researched and developed. Here, we are providing our key contributions on-top of the RDF vocabulary qa the reference implementation of the Qanary methodology. This repository contributes several sub-resources for Question Answring Community to build knowledge driven QA systems incorporating a standard RDF vocabulary qa. All the resources are reusable. For detailed description of individual resources, kindly refer to Wiki section of this repository. In brief, the following sub-projects are available all aiming at establishing an ecosystem for question answering systems.

Qanary Pipeline

source

More details follow soon.

Qanary Components

Qanary component template

source

More details follow soon.

Qanary AGDISTIS

source

More details follow soon.

Qanary Alchemy

source

More details follow soon.

Qanary DBpedia Spotlight

  • Qanary DBpedia Spotlight NER: source
  • Qanary DBpedia Spotlight NED: source

More details follow soon.

Qanary FOX

source

More details follow soon.

Qanary Lucene Linker

source

More details follow soon.

Qanary Stanford NER

source

More details follow soon.

Additional Resources

QALD evaluator

source

More details follow soon.

QALD annotated with named entities

source

More details follow soon.

ISWC Resources

For a mapping between the resources presented at ISWC and this repository please refer to the wiki under section "Resources presented at ISWC".

Publications / References

If you want to inform yourself about the Qanary methodology in general, please use this publication: Andreas Both, Dennis Diefenbach, Kuldeep Signh, Saedeeh Shekarpour, Didier Cherix and Christoph Lange: Qanary - A Methodology for Vocabulary-driven Open Question Answering Systems appearing in 13th Extended Semantic Web Conference, 2016.

Stuff used to make this:

How to run the code

Without docker

  • Clone the GitHub repository: git clone https://github.com/WDAqua/Qanary

  • Install Java 8 (see http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html for details)

  • Install maven (see https://maven.apache.org/install.html for details)

  • Compile and package your project using maven: mvn clean install -DskipDockerBuild The install goal will compile, test, and package your project’s code and then copy it into the local dependency repository.

  • Install Stardog Triplestore (http://stardog.com/) and start it in background. Create a database with the name qanary. All the triples generated by the components will be stored in the qanary database.

  • Run the pipeline component:

    cd qanary_pipeline-template/target/
    java -jar target/qa.pipeline-<version>.jar
    
  • After maven build jar files will be generated in the corresponding folders of the Qanary components. For example, to start the Alchemy API components:

    cd qanary_component-Alchemy-NERD
    java -jar target/qa.Alchemy-NERD-0.1.0.jar
    
  • After running corresponding jar files, you can see Springboot application running on http://localhost:8080/#/overview that will tell the status of currently running components.

  • Now your pipeline is ready to use. Go to http://localhost:8080/startquestionansweringwithtextquestion. Here you can find a User Interface to interact for adding question via web interface, and then select the components you need to include in the pipeline via checking a checkbox for each component. Press the start button and you are ready to go!

With docker

  • Clone the GitHub repository: git clone https://github.com/WDAqua/Qanary

  • Install Java 8 (see http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html for details)

  • Install maven (see https://maven.apache.org/install.html for details)

  • Install docker (see https://docs.docker.com/engine/installation/ for details)

  • Start docker service (see https://docs.docker.com/engine/admin/ for details)

  • Compile and package your project using maven: mvn clean install The install goal will compile, test, and package your project’s code and then copy it into the local dependency repository. Additionally, it will generate docker images for each component that will be stored in your local repository.

  • Configure the script start.sh according to the services you want to start. Each service runs inside a docker instance. At least the docker containers stardog, pipeline and one qanary component have to be up and running. Afterwards, run the script initdb.sh that creates the database qanary in the stardog triple store.

  • After executing the run script, you can see Springboot application running on http://localhost:8080/#/overview that will tell the status of currently running components.

  • Now your pipeline is ready to use. Go to http://localhost:8080/startquestionansweringwithtextquestion. Here you can find a User Interface to interact for adding question via web interface, and then select the components you need to include in the pipeline via checking a checkbox for each component. Press the start button and you are ready to go!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5