Giter Club home page Giter Club logo

qasparql's People

Contributors

sylvia-liang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

qasparql's Issues

KeyError: 239 when running lcquad_test.py

Good day, has anyone encounter KeyError: 239 when running the lcquad_test.py file?
Below are the error messages:

Traceback (most recent call last):
File "lcquad_test.py", line 642, in
question_type_classifier = SVMClassifier(os.path.join(question_type_classifier_path, "svm.model"))
File "C:\Users\mrcho\Desktop\QAsparql-master\learning\classifier\svmclassifier.py", line 52, in init
super(SVMClassifier, self).init(model_file_path)
File "C:\Users\mrcho\Desktop\QAsparql-master\learning\classifier\classifier.py", line 12, in init
self.load(model_file_path)
File "C:\Users\mrcho\Desktop\QAsparql-master\learning\classifier\classifier.py", line 28, in load
self.model = joblib.load(file_path)
File "C:\Users\mrcho\anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 658, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\mrcho\anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 577, in _unpickle
obj = unpickler.load()
File "C:\Users\mrcho\anaconda3\lib\pickle.py", line 1212, in load
dispatchkey[0]
KeyError: 239

Much appreciated.

Generated Queries

Hello,
Thanks for sharing your code. I checked the queries generated by your system and I find that you just get the triple patterns, not the complete query.
For example

...
"generated_queries": [
{
"correct": false,
"query": "?u_1 http://dbpedia.org/ontology/height ?u_0",
"target_var": "?u_1"
},
...

I am just wondering if there is an end to end service to feed your system with questions and get the answers or the complete generated queries to use them to get the answer ourselves?
Also, where is the paper associated with that system?
Thanks
Abdelghny

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.