Git Product home page Git Product logo

asknownqs's Introduction

AskNow

AskNow is a Question Answering (QA) system for RDF data sets. The system first normalizes Natural Language (English) query into an intermediary canonical syntactic form, called Normalized Query Structure (NQS), and then translated into SPARQL queries. NQS helps in identifying the desire (or expected output information) and the user-provided input information, and establishing their mutual semantic relationship. At the same time, it is sufficiently adaptive to query paraphrasing.


To run the code

AskNow relies on word2vec for relation annotation and ranking. To start the word2vec server in the resource folder execute the basic_server.py file.The file also needs pre-trained google news corpus vector model. The file are available here .

Replace the file location at line 11 in the basic_server.py file with your local file location.

To execute basic_server.py, install all the python dependency. Json, requests, gensim, bottle, pprint are few of the dependencies.

and then simply,

python basic_server.py

Note : basic_server.py file is avaialbe at src/main/. If things break here ๐Ÿ”ฅ , ping "[email protected]"

After the word2vec server is ๐Ÿƒ

Build the project using maven and execute the src/main/java/benchmark/executeQuestion.java file. This runs the qald6 file. There is only a certan subset which works. Also AskNow needs an active internet connection as it relies on external API.

asknownqs's People

Contributors

konradhoeffner avatar mohnish-rygbee avatar ricardousbeck avatar saist1993 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.