简体   繁体   中英

Jena Rule: How to use now(?x) Builtin primitive

Can please someone explain about now(?x) Builtin primitive in jena rule. 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:

now(?x):Binds ?x to an xsd:dateTime value corresponding to the current time.

Any Example how to use in rules.

Thanks!

在规则体中调用此函数,这是一个示例:

[r1: (?s :startTime ?x) <- (?s a :Match), now(?x)]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM