yeyzheng / kgqa-based-on-medicine Goto Github PK
View Code? Open in Web Editor NEW基于医药知识图谱的智能问答系统
基于医药知识图谱的智能问答系统
一切正常,路径按照实际改过,可输入文字提交后转到错误界面,提示HTTP Error 503: Service Unavailable,各库版本与您一致,query_main运行后输入问题也报同样的错误,重启也试过,不知怎么回事
windows可以打开,但是在linux加载不了了,就是在fuseki_conf.ttl里面路径设置了之后打开3030网页看不到任何dataset
SPARQLWrapper,在哪啊
请问这个tdb的知识库是怎么来的?可不可以提供一些参考?或者可否介绍一下这个是如何训练的?
这个代码分为两部分,一部分是使用fuseki,另一部分是python的网页,但是python的网页好像并没有提交查询到fuseki的3030端口,我在网页提交问题,在fuseki的命令行没看到post,感觉并没有提交给3030端口
进行python query_main的时候,我试着打印,发现返回的结果总是None值,所以得到下面这个结果:
I can't understand. :(
####################################################################################################
请问要怎么解决?
怎么预防肌肉疼痛?
Request Method: | POST |
---|---|
http://120.78.207.99:8000/kgqa-demo | |
2.0.3 | |
URLError | |
<urlopen error [Errno 99] Cannot assign requested address> | |
/usr/lib/python3.5/urllib/request.py in do_open, line 1256 | |
/usr/bin/python3 | |
3.5.2 | |
['/var/www/project_2018', '/var/www/project_2018', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', '/var/www/project_2018/kgqa/KB_query', '/var/www/project_2018/kgqa', '/var/www/project_2018/kgqa/KB_query', '/var/www/project_2018/project_2018', '/var/www/project_2018/kgqa/KB_query'] | |
Thu, 30 Aug 2018 05:10:54 +0000 |
使用一些百科的数据构建的医药KG吗?能分享一下数据链接吗?谢谢!
项目运行成功,我用ie看正常,chrome问答部分显示问题。不过已经挺好了。
另外,请问:
EndPointNotFound: it was impossible to connect with the endpoint in that address, check if it is correct.
为什么我运行成功了,但是3030端口并没有加载到数据集?难道因为我是ubuntu系统么,不同系统的tdb有区别么?@YeYzheng
我是windows也没有加载到他的数据,代码还是ok的
Originally posted by @WangZhou456 in #13 (comment)
[16/Jul/2019 21:02:15] "GET / HTTP/1.1" 200 3224
Not Found: /kgqa-demo
[16/Jul/2019 21:03:12] "POST /kgqa-demo HTTP/1.1" 404 2107
Using the URLconf defined in KGQA_Based_On_medicine.urls, Django tried these URL patterns, in this order:
^$
^static/(?P.*)$
The current path, kgqa-demo, didn't match any of these.
这个是什么原因呢,求回答
您好,命令行,页面我都可以运行,但是输入没有正确响应
页面:按照提示输入
蜘蛛咬伤的概述是什么?,
def search_post(request):
ctx = {}
if request.POST:
question = request.POST['q']
ctx['rlt'] = query_main.query_function(question) #执行到这里报错了
print(ctx['rlt'])
return render(request, "post.html", ctx)
print 结果:
SELECT DISTINCT ?x WHERE {
?s :jibingname '蜘蛛咬伤'.?s :gaishu ?x
}
出现503错误,
其他就是无法理解之类,
命令行都是I dont .....之类
windows数据无法上传成功
我尝试在localhost:3030界面里操作总提示
总是提示Result: failed with message "SyntaxError: JSON.parse Error: Invalid character at position:1"
是发布者给了我们错误数据吗
有没有传成功了的,对fuseki不熟
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.