W3C home > Mailing lists > Public > public-rif-wg@w3.org > June 2008

Re: [PRD] Issues to resolve before publication (examples of Const)

From: Christian de Sainte Marie <csma@ilog.fr>
Date: Mon, 30 Jun 2008 15:46:36 +0200
Message-ID: <4868E3BC.4030508@ilog.fr>
To: Gary Hallmark <gary.hallmark@oracle.com>
CC: RIF WG <public-rif-wg@w3.org>

Gary Hallmark wrote:
>>
>> #3. Section 2.1.1.1.: Non-standard data types in the spec of Const.
>> Proposal: keep as in the current version. As proposed in [2]:
>>  * I removed the second sentence (from "They can also..." to the end 
>> of the alinea) from the first alinea of the paragraph about symbols 
>> with non-standard types, as well as the following alinea;
>>  * I changed the last alinea to start with "Dialects and applications
>> that extend...";
>>  * I added the editor's note.
> 
> jim:today is not a valid xml serialization.

Supposing that Jim's namespace is http://rif.examples.com/2008/jim#, 
would the following be correct?

<Const type="rif:iri">
    http://rif.examples.com/2008/jim#today
</Const>

>> As a consequence, I also removed the example 2.1.e (but I would still
>> like to understand your comment in [3], Gary).
> 
> my point is that we don't have any support for user-defined datatypes 
> and it's not necessary for the example, so it should be removed.

Yes, I got that much (and I removed the example). When I wrote that "I 
would still like to understand your comment, I was refering to the 
second part of it (from "Maybe we need..."):
> confusing: type="jim:DayOfTheWeek"
> Let's not claim we have a solution for this yet.  Maybe we need to 
> introduce some kind of "enum" type.  Or, maybe we
> need disjuncts in rule heads and we can axiomitize this:
> if ?x # jim:DayOfTheWeek then ?x = "Monday" or ?x = "Tuesday" or ...

Christian
Received on Monday, 30 June 2008 13:47:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:49 GMT