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

RE: where to hang the metadata?

From: Boley, Harold <Harold.Boley@nrc-cnrc.gc.ca>
Date: Wed, 23 Apr 2008 23:43:53 -0400
Message-ID: <E4D07AB09F5F044299333C8D0FEB45E904FFDFE4@nrccenexb1.nrc.ca>
To: "Jos de Bruijn" <debruijn@inf.unibz.it>, "Sandro Hawke" <sandro@w3.org>
Cc: <public-rif-wg@w3.org>

Just for clarification:

Ruleset was renamed into Group and made nestable.

The root above Group is called Document.

In BLD, a Group contains RULEs and/or other Groups.

So, roughly, we have:


Document
    |
  Group
    |
RULE|Group


-- Harold


-----Original Message-----
From: public-rif-wg-request@w3.org [mailto:public-rif-wg-request@w3.org]
On Behalf Of Jos de Bruijn
Sent: April 23, 2008 12:07 PM
To: Sandro Hawke
Cc: public-rif-wg@w3.org
Subject: Re: where to hang the metadata?

 > Thinking over today's difficult discussion about metadata, it seems
to
> me that the right solution is this:
> 
>    1.  Allow metadata, syntactically, on every object, by way of a
>        <meta> child element which is legal on every capitalized
(class)
>        element.  No need for wrapper elements.  In a normal rule, the
>        "Forall" is where you'd hang the metadata.  I have some ideas
for
>        the PS, but no favorites.
> 
>    2.  Add a "group" element, for making these conceptual groupings
that
>        Michael speaks of (and I'm familiar with from my own rule
>        programming), where the metadata applies to a set of a few
>        rules).
> 
> What about this approach would be so bad?

For me the question was not how to attach metadata, but rather whether 
and how to identify rules.

For a long time our top-level element in RIF was the ruleset and the 
second-level element was the rule.

Recently the notion of "group" was introduced, which lies between the 
ruleset and the rule: a ruleset contains groups and groups contain
rules.
So, we have:

Ruleset
    |
  Group
    |
  Rule

I myself do not really see the need for this group element in BLD, but I

do not strongly object to it.

The current draft of BLD allows identifying rule sets and groups, but 
not rules.  I was arguing that it should be possible to identify rules.


Best, Jos

> 
>        -- Sandro
> 

-- 
Jos de Bruijn            debruijn@inf.unibz.it
+390471016224         http://www.debruijn.net/
----------------------------------------------
Only two things are infinite, the universe and
human stupidity, and I'm not sure about the
former.
   -- Albert Einstein
Received on Thursday, 24 April 2008 03:44:41 GMT

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