- From: Paul Vincent <pvincent@tibco.com>
- Date: Thu, 12 Feb 2009 16:00:21 -0800
- To: "Christian de Sainte Marie" <csma@ilog.fr>
- Cc: "RIF WG" <public-rif-wg@w3.org>, "Berlioz-Matignon, Carole Ann" <CaroleAnnMatignon@fairisaac.com>, "Serrano-Morales, Carlos A" <CSerrano@fairisaac.com>
For the benefit of the non-PRD folk, the "shared pattern" idea is the rulevariable that is defined outside of individual rules, for convenience of declaration and management (as these definitions are then shared across rules). Of course, pattern A can simply be mapped to rulevariable A in each rule that references A. The only problem is that the reverse is not true: recombining rulevariables A and A' in rules R and R' to pattern A is a non-trivial re-factoring. AFAIK only the Blaze rule engine supports external rulevariables / patterns (even though they are a pretty good idea) (although perhaps Drools introduced them recently?). [FYI This construct *is* defined in PRR, as reverse mappings are less likely in a UML / sw devt role]. Cheers Paul Vincent +1 650 206 2493 / mobile +44 781 493 7229 > -----Original Message----- > From: public-rif-wg-request@w3.org [mailto:public-rif-wg-request@w3.org] > On Behalf Of Christian de Sainte Marie > Sent: 12 February 2009 19:14 > To: Christian de Sainte Marie > Cc: RIF WG; Berlioz-Matignon, Carole Ann; Serrano-Morales, Carlos A > Subject: Re: [PRD] Notes from F2F meeting 11 February > > > Paul made me notice that something was missing... Here they are: > > [1] http://www.w3.org/2005/rules/wiki/PRD_F2F_Wednesday_11_February > [2] http://www.w3.org/2005/rules/wiki/images/b/bf/PRDtutorial.pdf > > Christian > > Christian de Sainte Marie wrote: > > > All, > > > > I uploaded a summary of the issues and questions raised during the > PRD > > meeting yesterday 11 February [1], as well as the PRD tutorial that > we > > used to bring everybody Carole-Ann and Carlos up to speed, and to > focus > > our discussions [2]. > > > > Carole-Ann, Carlos, Paul, Changhai: please, do not hesitate to add > you > > own notes. > > > > *Carole-Ann* and *Carlos*: it would be useful if you could provide > the > > group with an example of a (small) BRL ruleset using those shared > > patterns; it would also be useful if it contained an example of those > > expressions that Carole-Ann mentionned and that are more complex than > > just (Customer.age > 21). Thanx. > > > > Next meeting: Tuesday 17 February 1800-1900 UTC (subject to change to > > Monday 16, if *Mark* Proctor is available on manday nights). > > > > Cheers, > > > > Christian > > > > > > > >
Received on Friday, 13 February 2009 00:01:02 UTC