RFE: built-in for making datatype literals

I'd like a built-in for making datatyped literals out of strings
and URIs, ala...

{ ("2005-03-30T11:00:00" tz) log:dtlit ?X } => { ?X a Answer }.


    "2005-03-30T11:00:00"^^:tz     a :Answer .

In fact, I implemented it in llyn.py ...

date: 2005/03/30 16:22:46;  author: connolly;  state: Exp;  lines: +10
added dtlit built-in; see test in test/dt/dtlit1.n3

hmm... I didn't realize I was on a branch.

And the test case isn't integrated with the test harness.

And I haven't added it to the CwmBuiltIns page.

So this feature isn't really there yet.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Friday, 1 April 2005 18:59:39 UTC