问题标签 [ontopia]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
52 浏览

ontopia - 如何使用 ontopia 在 tolog 查询中包含空格 - Omnigator

我正在尝试使用 ItalianOpera 的测试数据集编写一个 ontopia tolog 查询。我正在尝试查询“电视组织”类型。我试过instance-of($TOPIC, TV company)?给出“错误:没有电视对象”我试过instance-of($TOPIC, "TV company")?给出错误:谓词实例收到一个字符串作为参数 2,但需要一个主题。我试过instance-of($TOPIC, 'TV company')?在 1:20 给出 Error: Illegal character <'> 并且我试过用反引号给出同样的错误。

所以问题仍然存在,如何在 tolog 查询中包含空格?