Eye Reasoner Builtin/N3 question/challenge

Hi!

We are on the verge of implementing N3 for a product I am helping a client
develop and in their due diligence, they are providing me with challenges
to identify what the N3 equivalent is, e.g., Let's see if N3 can handle
this!! (suffice to say there is a little skepticism)....

Most of the list is easy to handle, though a few of them stuck out to me
that it would be best to ask the community how these might be represented
in N3 (built-in wise):

*Coalesce:*
Coalesce(@StatusCode,'123')

*Regex expressions:*
how can regular expressions be used??
e.g., substring('13.4 kv', '(([0-9]+.*)*[0-9]+)') as decimal --> returns
13.4

*Convert time to current/provided timezone:*

session-created-date-utc = "2022-08-15 18:57:40"

current-timezone = 'CDT'

result is:  "2022-08-15 12:57:40"


Any help is appreciated


Thanks!


Tim Duval

Received on Monday, 3 October 2022 14:24:49 UTC