[英]Jena Rule: How to use now(?x) Builtin primitive
Can please someone explain about now(?x) Builtin primitive in jena rule. 可以请有人在jena规则中解释一下(?x)Builtin原语。 I need to understand about this but not found resource on internet.
我需要了解这一点,但在互联网上找不到资源。 Like example etc. Only found information about this from Apache jean website which is that:
像示例等。只有从Apache jean网站找到有关此信息的信息是:
now(?x):Binds ?x to an xsd:dateTime value corresponding to the current time. now(?x):将?x绑定到与当前时间对应的xsd:dateTime值。
Any Example how to use in rules. 任何示例如何在规则中使用。
Thanks! 谢谢!
在规则体中调用此函数,这是一个示例:
[r1: (?s :startTime ?x) <- (?s a :Match), now(?x)]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.