什么样的技术适合创建一个允许用户添加事实、编辑事实和查询这些信息的网页?我已经在Prolog中建立了一个知识库和推理规则,但是我希望在网上能够访问事实部分和查询。更具体地说,我正在寻找以下功能:
我在Prolog程序中的意思摘要:
%This kind of thing should be entered by end users in a friendly interface (i.e. not code like here).
causes(smoking, cancer, prob(0.05)).
causes(cancer, death, prob(0.1)).
%This kind of thing should be entered by me (and not end users)
inferCauses(C, E, prob(P)):-
causes(C, E, prob(P)).
inferCauses(C, E, prob(P)):-
causes(C, I, prob(P1)),
causes(I, E, prob(P2)),
P is P1 * P2.
%This should be entered by end users, again in a friendly interface
?-whyCancer?我知道优秀的SWISH和Pengines,但我不确定它们是否是成熟的本体编辑器,或者它们是否可以与现有的本体编辑器交互。
我还一直在研究普莱格、OWL和SWRL规则,但我不确定这些规则是否像Prolog那样强大,或者它们可以以何种方式与Prolog进行接口。
任何帮助都将不胜感激!谢谢。
/JCR
发布于 2019-04-22 20:30:22
关于这个这里的更多信息。
https://stackoverflow.com/questions/55647627
复制相似问题