johnson-xu01 / QuestionAnsweringOverFB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuestionAnsweringOverFB

For details, please read our paper:

Kun Xu, Siva Reddy, Yansong Feng, Songfang Huang and Dongyan Zhao. Question Answering on Freebase via Relation Extraction and Textual Evidence. In Proceedings of ACL-2016.

@inproceedings{kun_question_2016, author = {Kun Xu and Siva Reddy and Yansong Feng and Songfang Huang and Dongyan Zhao}, title = {{Question Answering on Freebase via Relation Extraction and Textual Evidence}}, booktitle={Proceedings of the Association for Computational Linguistics (ACL 2016)}, month = {August}, year = {2016}, address = {Berlin, Germany}, publisher = {Association for Computational Linguistics}, url = {http://sivareddy.in/papers/kun2016question.pdf}, }

Preparations to run our code:

  1. This is a maven project, to run our code, please include all necessary jars in the project lib path. If you can not download these jars, you can directly include the jars in the folder target/lib except for the jar "stanford-english-corenlp-2016-01-10-models.jar". Becaue this jar is too large to be uploaded to the github. But You can download this jar from the url "http://nlp.stanford.edu/software/stanford-english-corenlp-2016-01-10-models.jar".

  2. Our project needs to use the virtuoso engine to query the Freebase. Thanks the contribution of Siva, the freebase version now can be downloaded from "https://www.dropbox.com/sh/zxv2mos2ujjyxnu/AAACCR4AJ1MMTCe8ElfBN39Ha?dl=0". Note that, you should change the file path of "DatabaseFile,ErrorLogFile,LockFile,TransactionFile,xa_persistent_file,DatabaseFile,TransactionFile" by replacing the directory with the directory you used. If you have any problems in using this tool, please contact me.

  3. Before runing our code, you should start the virtuoso engine at port 1111.

Instructions to run our code:

  1. To reproduce our results, there are two main steps, i.e., KB-based joint inference and Wiki-based inference. You should perform the inferences in the following pipeline literature.

    (a) Perform the Freebase based joint inference by executing Joint_EL_RE/Test.java. (b) Perform the wikipedia based inference by executing InferenceOverWiki/Test.java.

Please contact Kun Xu (xukun@pku.edu.cn) if you have any question. -- Kun Xu, July 27th, 2016.

About


Languages

Language:C 27.0%Language:Java 24.6%Language:C++ 23.7%Language:HTML 9.1%Language:Python 7.3%Language:M4 7.3%Language:Makefile 0.8%Language:MATLAB 0.2%