asknowqa / krantikariqa Goto Github PK
View Code? Open in Web Editor NEWAn InformationGain based Question Answering over knowledge Graph system.
An InformationGain based Question Answering over knowledge Graph system.
Only 2904 questions were processed in our run on 20th November. Everything henceforth works on this, and nuffin else. FIX THAT!
Very interesting work and thanks for sharing the codes.
I wanna reproduce the experiments of paper "Learning to Rank Query Graphs for Complex Question Answering over Knowledge Graphs" , and wonder would you please provide guidance for reproduction.
Thank you again and waiting for your reply.
Hello,
Thanks for sharing your work. I am trying to set up the system for benchmarking purposes, however, I cannot run the SPARQL parsing server. I cannot find the file/lib used in your system. Any guides will be appreciated.
Thanks
Hello,
I am encountering the same problem mentioned in issue #16 but it is not clear what the solution is.
This is happening at step 5 in the Readme.md
, python data_creation_step1.py
.
Note that the Python environment krantikari
is built according to the provided environment.yml
but there is no file data_creation_step1.py
. Therefore, running (with sysargs)
(krantikari) user@host:/KrantikariQA$python data_creator_step1.py 0 -1 lcquad
results in the following output
Traceback (most recent call last):
File "data_creator_step1.py", line 160, in <module>
_predicate_blacklist=pb, _relation_file={}, return_data=False, _qald=False)
File "data_creator_step1.py", line 71, in run
cd_node = cd.CreateDataNode(_predicate_blacklist=_predicate_blacklist, _relation_file=_relation_file, _qald=_qald)
File "/app/KrantikariQA/datasetPreparation/create_dataset.py", line 27, in __init__
self.create_subgraph = es.CreateSubgraph(self.dbp, self.predicate_blacklist, self.relation_file, qald=_qald)
AttributeError: module 'datasetPreparation.entity_subgraph' has no attribute 'CreateSubgraph'
Hopefully this description provides all the details requested in this comment
I would also point out that there is no CreateSubgraph class in entity_subgraph.py, although it is called in both datasetPreparation/create_dataset.py and server.py which both do
from datasetPreparation import entity_subgraph as es
and each will attempt the same pattern:
self.create_subgraph = es.CreateSubgraph(self.dbp, self.predicate_blacklist, self.relation_file, qald=_qald)
and
subgraph_maker = es.CreateSubgraph(dbp, predicate_blacklist, {}, qald=False)
, respectively.
Any advice?
Lemmatize everything while converting it to IDs (nlutils).
Hi, Sorry to trouble you. I find a error:
AttributeError: module 'datasetPreparation.entity_subgraph' has no attribute 'CreateSubgraph'
Would you like to help me?
yawei
utils/natural_language_utilities.py
Does dot product in the network file at line 236,237 need to be normalized with the value of the vector?
So that it discounts all but the trailing zeros.
We don't handle ask queries whose answers depends upon whether this query will fetch any answer; only handle the ones which enquire whether THIS triple exists.
Eg. of queries we don't handle yet:
ASK WHERE {
res:James_Bond dbo:spouse ?uri .
}
Started Redis server and still the connection gets refused when running the file krantikari.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.