问题标签 [jena-rules]

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 投票
0 回答
22 浏览

jena-rules - Jena GeoSparql 大小限制

在启动 GeoSparql 时,我收到一个错误,而较小的文件则不会。测试文件只有100mb左右。

java -jar jena-fuseki-geosparql-3.17.0.jar --convert_geo -rf "spatial3.ttl" -i

0 投票
1 回答
25 浏览

jena - 如何用通用规则引擎中的内置 listContains 替换 SPARQL 中的 VALUES

在 SPARQL 中,数据可以直接以图形模式写入或使用 VALUES 添加到查询中:

在耶拿,我listContains(?l, ?x)https://jena.apache.org/documentation/inference/index.html#RULEbuiltins中找到了。但是如何使用呢?如何提供值列表以检查三元组的给定对象是否在该列表中?

0 投票
0 回答
14 浏览

rdf - How to write Apache Jena Inference rule for given rdf data?

I am trying to build a Apache Jena reasoner node over the below rdf data instance. I want to write a rule such that the inference api can tell if certain sensor values were out of range. e.g. print statement whose sensor measurement (value of hasValue) was not in range 100 to 400.

How do I write a rule using Apache Jena inference api. I tried reading the docs here: https://jena.apache.org/documentation/inference/index.html but I am getting more confused with the amount of details given.

Should I use RDFS reasoner or OWL reasoner? How do I develop the code exactly for my use case?

I have another rdf schema defining what sensor is located in what region (having lat and long values in graph). How can I write a rule which answers: Was sensor value out of range in region abc (having lat = 11 and long = 22).