Code Monkey home page Code Monkey logo

convex's Introduction

CONVEX

CONVEX is an unsupervised method that can answer incomplete questions over knowledge graphs (Wikidata in our case) by maintaining conversation context using entities and predicates seen so far and automatically inferring missing or ambiguous pieces for follow-up questions. The core of our method is a graph exploration algorithm that judiciously expands a frontier to find candidate answers for the current question. For details, please refer to the paper.

The website of our work is available here: http://qa.mpi-inf.mpg.de/convex/
A preprint of our corresponding CIKM'19 paper can be found here: https://arxiv.org/abs/1910.03262

Requirements

  • Python 2.7 (Python 3 should also work) and the following modules:
    • Install all needed modules:
      pip install spacy requests hdt networkx
    • Install the spacy model:
      python -m spacy download en_vectors_web_lg
  • wget utility

(If there are any issues installing hdt, please check out issue #5).

Run CONVEX on ConvQuestions

(with new train-dev-test split)

  1. Adjust the settings file of the project.
  1. Download the data folder and initialize the project.
  bash initialize.sh
  1. Run CONVEX on the ConvQuestions benchmark. The results will be printed into a results.txt file.
  nohup python convex.py &

Run CONVEX on another benchmark

  1. Adjust the settings file of the project.
  1. Download the data folder and initialize the project.
  bash initialize.sh
  1. Run CONVEX on the given benchmark. The results will be printed into a results.txt file.
  nohup python convex.py &

License

The CONVEX project by Philipp Christmann is licensed under MIT license.

convex's People

Contributors

kartavyakothari avatar philippchr avatar romainclaret avatar

Watchers

James Cloos 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.