Git Product home page Git Product logo

qald's Introduction

Question Answering over Linked Data

An attempt to build an automatic system to answer natural language queries

Gitter chat

The natural language queries are processed and transformed into SPARQL queries, which is used to lookup DBpedia to find a solution.

Install requirements using:
pip3 install -r req.txt

Create a folder data/ and place datasets there.
Run the standalone implementation using python3 Sparql.py "u<query>".
Otherwise, run the flask app using python3 app.py and answer interact from the frontend.

Sample dataset used can be found at https://github.com/ag-sc/QALD/blob/master/7/data/qald-7-train-largescale.json .

To open the front end, simply open index.html when inside the folder qald-interface from a browser.

A partial implementation which uses Blazegraph hosted over a local network is available under kmst.py.

qald's People

Contributors

americast avatar sarthak-chakraborty avatar kodercat avatar shmundhra avatar rishitsinha avatar

Stargazers

 avatar Troisliu avatar

Watchers

James Cloos avatar Troisliu avatar  avatar  avatar

qald's Issues

Bring out support for unsupported queries

Firstly, it is needed that we know which types of queries are unsupported, hence working out #2 first would be advisable. Next, run the SPARQL queries being generated by unsupported queries and run them at https://dbpedia.org/sparql. This would give an idea if the SPARQL query being generated is incorrect or the issue is with the result parser. Individual PRs for each of the unsupported types of queries would be nice to have.

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.