W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > June 2005

[closed] Re: RFE: built-in for making datatype literals

From: EspeonEefi <eefi@MIT.EDU>
Date: Sun, 19 Jun 2005 21:04:31 -0400
To: connolly@w3.org, public-cwm-bugs@w3.org
Message-Id: <1119229472.6503.136.camel@localhost.localdomain>

Re: http://lists.w3.org/Archives/Public/public-cwm-bugs/2005Apr/0000

I've merged the change to add log:dtlit from the branch into the trunk.
I also hooked up the test case (I just threw it into regression.n3,
though...) (see below). I also added an extremely simple definition for
log:dtlit in log.n3 and regenerated log.rdf and doc/CwmBuiltin.html.
Finally, I updated llyn.html as well.

Currently, the definition of log:dtlit is as follows:

log:dtlit a rdf:Property;
    rdfs:comment """Takes a list of a string and a URI and creates a
datatyped literal. For example, { ("2005-03-30T11:00:00" :tz)
log:dtlit ?X } => { ?X a :Answer } . will produce
"2005-03-30T11:00:00"^^:tz a :Answer .""" .

DanC, do you want to add anything else to this definition (such as a
domain, range, better/corrected description, etc.)?

-- eefi

Test added:
URI: http://www.w3.org/2000/10/swap/test/regression.n3#t1062
description: "simple test for log:dtlit"
input: http://www.w3.org/2000/10/swap/test/dt/dtlit1.n3
output: http://www.w3.org/2000/10/swap/test/ref/dtlit1.n3
Received on Monday, 20 June 2005 01:04:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT