SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
Using           to Formalize Semantics
                 within a Semantic Decision Table



                      Yan Tang Demey and Trung-Kien Tran


21/09/2012 | pag. 1
Outlines


       • Background
       • Related Work
       • Our approach: use domain semantics to
         validate decision tables
       • Discussion and Conclusion


21/09/2012 | pag. 2
What is a decision table?

       • CSA, (1970): Z243.1-1970 for Decision Tables, Canadian Standards
         Association                      Condition
                                                             entry
                                    Condition
                                    stub

                Condition                        1     2             3        4     5             6
                Age                              <18   >=18,<40      >=40     <18   >=18,<40      >=40
                Speak required language (s)      Yes   Yes           Yes      No    No            No

                Action
                Hire                                   *
                Train                                                               *
                                                                     Action
                Reject                           *                   *
                                                                     entry    *                   *
                                       Action stub
                                                                                               Decision
                                                                                               rule



21/09/2012 | pag. 3
Decision tables in IS and
                        business

       • Easily learned, understandable and
         readable
       • Concise and precise
       • Clear relations of decisional alternatives
       • Decision rule set
              – Completeness
              – Correctness
              – Exclusivity
21/09/2012 | pag. 4
The Group Decision Modelling
                                      Environment




21/09/2012 | pag. 5
                      McGrath, J. E. (1984): Groups: Integration and Performance, Prentice-Hall, Englewood Cliffs, ISBN 0-13-365700-0
Validation and Verification


       • In order to make a “good” decision table, it
         needs to be validated and verified

                      consistent
                                        correct



21/09/2012 | pag. 6
Semantic Decision Tables


       • Allows rule modellers to analyse decision
         tables using domain semantics
              – Hidden decision rules and meta-rules are
                specified in ontologies
              – In the activities of grounding ontological
                commitments
                                  Instantiations of concepts
                                  Constraints
                                  Grouping contexts
                                  Articulation (mapping to glossary)
                                  Concepts alignment across contexts

21/09/2012 | pag. 7
Related Work

       • V&V approaches to decision tables
              – Combining columns to reduce columns                          (Shwayder,
                  1975)

              – Conversion and decomposition (Pooch, 1974)
              – PROLOGA (discovering intra-inter tabular
                anomalies) (Vanthienen et al., 1998)
              – Approximate reduction (Qian et al., 2010)
              – Others (Hewette et al., 2003; Ibramsha and Rajaraman, 1978; Lew, 1978)


21/09/2012 | pag. 8
Compared to their work

       • We focus on using ontological axioms to
         validate a decision table
              – Sharable and community based (and even
                standardized)
              – Support group decision making in a nature
                way
              – Misunderstanding is minimized


21/09/2012 | pag. 9
What has been done

       • How ontological constraints can be directly
         applied to decision tables
              –   (Tang, Y.: Directly Applied ORM Constraints for Validating and Verifying Semantic Decision
                  Tables. In: Meersman, R., Dillon, T., Herrero, P. (eds.) OTM-WS 2011. LNCS, vol. 7046, pp.
                  350–359. Springer, Heidelberg (2011))

       • What is the mapping between SDRule-ML
         and OWL/RDF(s).
              –   (Tang, Y., Meersman, R.: Towards Directly Applied Ontological Constraints in a Semantic
                  Decision Table. In: Palmirani, M. (ed.) RuleML - America 2011. LNCS, vol. 7018, pp. 193–
                  207. Springer, Heidelberg (2011))




21/09/2012 | pag. 10
Motivation and Contribution

       • Formalization and semantics for
         computational properties for validating a
         decision table
       • More Focus:
              – Validation (not verification)
              – Within one table (not across table)




21/09/2012 | pag. 11
– A dialect of Description Logics
              – DL: decidable fragments of FOL
              – An extension to      (most basic DL language
                of interest) by adding syntactic constructors
                       •   Transitivity
                       •   Nominal
                       •   Inverse roles
                       •   Qualified number restriction
                       •   Data types

21/09/2012 | pag. 12
• Expressive enough for SDT
       • Good balance between expressiveness
         and computational complexity
       • OWL2 recommended by W3C is based on
         .         , which includes




21/09/2012 | pag. 13
21/09/2012 | pag. 14
Basic Structure of a
                       Decision Table




21/09/2012 | pag. 15
A Decision Rule (Column)




21/09/2012 | pag. 16
Ontological Commitments in
                       an SDT




21/09/2012 | pag. 17
1. Value Constraint

        Condition            1         2         3         4          …   n              …
        Age                  >=18      >=18      >=18      >=18       …   >=100, <=350
        Temperature Sensor   >=0,<30   >=0,<30   >=0,<30   >=-10,<0   …   >=0,<30
        Login State          Yes       No        Maybe     Yes        …   Yes            …
        Action
        Accept               *                   *         *              *


                                                                      Choose a random value
                                                                      within the range




21/09/2012 | pag. 18
1. Value Constraint

        Condition            1         2         3         4          …   n              …
        Age                  >=18      >=18      >=18      >=18       …   >=100, <=350
        Temperature Sensor   >=0,<30   >=0,<30   >=0,<30   >=-10,<0   …   >=0,<30
        Login State          Yes       No        Maybe     Yes        …   Yes            …
        Action
        Accept               *                   *         *              *




21/09/2012 | pag. 19
2. Cardinality and
                             Occurrence Frequency
       Condition       1     2     3     4     5     6          7         8
       X-Box 557       Yes   Yes   Yes   Yes   No    No         No        No
       X-Box 120       Yes   Yes   No    No    Yes   Yes        No        No
       MS Xbox 360     Yes   No    Yes   No    Yes   No         Yes       No
       Action
       Actuator x      *           *           *     *                     *
                                                         Interpret condition
                                                         entries “Yes”, “No” into
                                                         true or false in DL
                                                         axioms




21/09/2012 | pag. 20
2. Cardinality and
                             Occurrence Frequency
       Condition       1     2     3     4     5     6     7     8
       X-Box 557       Yes   Yes   Yes   Yes   No    No    No    No
       X-Box 120       Yes   Yes   No    No    Yes   Yes   No    No
       MS Xbox 360     Yes   No    Yes   No    Yes   No    Yes   No
       Action
       Actuator x      *           *           *     *           *




21/09/2012 | pag. 21
3. Mandatory

       • A special case of role cardinality
                             𝑅𝑜𝑜𝑚 ⊑≥ 1 ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟
                       Or,
                             𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟

                𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊓ ¬∀ℎ𝑎𝑠𝐶𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛𝐸𝑛𝑡𝑟𝑦 𝑓𝑎𝑙𝑠𝑒

        Condition               1      2     3      4      5     6     7     8
        X-Box 557               Yes    Yes   Yes    Yes    No    No    No    No
        X-Box 120               Yes    Yes   No     No     Yes   Yes   No    No
        MS Xbox 360             Yes    No    Yes    No     Yes   No    Yes   No
        Action
        Actuator x              *            *             *     *           *




21/09/2012 | pag. 22
3. Mandatory

        Condition      1     2     3     4     5     6     7     8
        X-Box 557      Yes   Yes   Yes   Yes   No    No    No    No
        X-Box 120      Yes   Yes   No    No    Yes   Yes   No    No
        MS Xbox 360    Yes   No    Yes   No    Yes   No    Yes   No
        Action
        Actuator x     *           *           *     *           *




21/09/2012 | pag. 23
3. Mandatory

       • An example of N/A
            Condition               1                      2                           3
            X-Box        Humidity   {X-Box557, X-Box120}   {X-Box557, MS Xbox360}      N/A
          Sensor
            Action
            Actuator x              *                                                  *


          𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟I= 𝑥𝐵𝑜𝑥557, 𝑥𝐵𝑜𝑥120, 𝑚𝑆𝑋𝑏𝑜𝑥360

           𝑛/𝑎 ⊑ ¬𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟
          𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 𝑛/𝑎
                                                                           A mapping is needed




21/09/2012 | pag. 24
4. Uniqueness

          Condition         1      2     3      4     5      6      7     8
          X-Box 557         Yes    Yes   Yes    Yes   No     No     No    No
          X-Box 120         Yes    Yes   No     No    Yes    Yes    No    No
          MS Xbox 360       Yes    No    Yes    No    Yes    No     Yes   No
          Action
          Actuator x        *            *            *      *            *


                 𝑅𝑜𝑜𝑚 ⊑≤ 1 ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊓ ∃ℎ𝑎𝑠𝐶𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛𝐸𝑛𝑡𝑟𝑦 𝑡𝑟𝑢𝑒




21/09/2012 | pag. 25
4. Uniqueness
          Condition             1                 2               3
          Humidity Sensor       {X-Box557}        { MS Xbox360}   {X-Box557}
          Sensor                {EZEYE 1011A}     {EZEYE 1011A}   {X-Box120}
          Action
          Actuator x            *                                 *
          Actuator y                              *               *

                 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊑ 𝑥𝐵𝑜𝑥557, 𝑚𝑆𝑋𝑏𝑜𝑥360, 𝑥𝐵𝑜𝑥120

                 𝑅𝑜𝑜𝑚 ⊑≤ 1ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟

                𝑆𝑒𝑛𝑠𝑜𝑟 ⊑ 𝑒𝑍𝐸𝑌𝐸1011𝐴 ⊔ 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟




21/09/2012 | pag. 26
4. Uniqueness




21/09/2012 | pag. 27
5. Exclusive-Or

        Condition         1            2                3        4
        Humidity Sensor   Yes          Yes              No       No
        Light Sensor      Yes          No               Yes      No
        Action
        Actuator x        *                             *
        Actuator y                                      *

            𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊔ 𝐿𝑖𝑔ℎ𝑡𝑆𝑒𝑛𝑠𝑜𝑟
            𝑅𝑜𝑜𝑚 ⊑ ¬ ∃ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊓ ∃ℎ𝑎𝑠. 𝐿𝑖𝑔ℎ𝑡𝑆𝑒𝑛𝑠𝑜𝑟
           𝑅𝑜𝑜𝑚 ⊑ ∃𝑎𝑐𝑡𝑖𝑣𝑎𝑡𝑒. 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑥 ⊔ 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑦
         𝑅𝑜𝑜𝑚 ⊑ ¬ ∃𝑎𝑐𝑡𝑖𝑣𝑎𝑡𝑒. 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑥 ⊓ ∃𝑎𝑐𝑡𝑖𝑣𝑖𝑎𝑡𝑒. 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑦




21/09/2012 | pag. 28
6. Subtyping

         Condition      1               2     3     4
         Humidity       Yes             Yes   No    No
        Sensor
         Sensor         Yes             No    Yes   No
         Action
         Actuator x     *               *     *

          𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊑ 𝑆𝑒𝑛𝑠𝑜𝑟
          𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟
          𝑅𝑜𝑜𝑚 ⊑ ∀ℎ𝑎𝑠. ¬𝑆𝑒𝑛𝑠𝑜𝑟




21/09/2012 | pag. 30
Discussion

       • Business value: to support a decision group to draw decisions
       • Advantages:
              – Semantics is fully kept
              – Existing reasoners to check the consistency -> validation
       • Disadvantages:
              – The mapping is non-trivial
              – Reasoning cost: NEXPTIME
       • Future Work
              – A supporting tool of the mapping
              – Using reasoners to derive semantics within a table, e.g. subclasses
                between condition/action stubs
              – Validation across tables

21/09/2012 | pag. 31
Conclusion

       • Using domain semantics to validate decision tables
         (within one table)
       • Directly applied ontological constraints
              –   Value
              –   Cardinality
              –   Mandatory
              –   Uniqueness
              –   Exclusive-or
              –   Subtyping
       • All the examples can be downloaded at
         http://starlab.vub.ac.be/website/SDT_SOIQ

21/09/2012 | pag. 32
Thanks!




21/09/2012 | pag. 33

Weitere ähnliche Inhalte

Andere mochten auch

Consturction Last Question
Consturction Last QuestionConsturction Last Question
Consturction Last Question
guestf026e1
 
Code And Conventions
Code And ConventionsCode And Conventions
Code And Conventions
guestf026e1
 
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
Semantic Decision Support Models for Energy Efficiency in Smart-Metered HomesSemantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
European Patent Office
 

Andere mochten auch (16)

On Semantics in Onto-DIY
On Semantics in Onto-DIYOn Semantics in Onto-DIY
On Semantics in Onto-DIY
 
Adcss 2014 system data repository - yan tang
Adcss 2014   system data repository - yan tangAdcss 2014   system data repository - yan tang
Adcss 2014 system data repository - yan tang
 
Jeremiah the Weeping Prophet
Jeremiah the Weeping ProphetJeremiah the Weeping Prophet
Jeremiah the Weeping Prophet
 
Paper: Marriage Customs in the Old Testament (PDF)
Paper: Marriage Customs in the Old Testament (PDF)Paper: Marriage Customs in the Old Testament (PDF)
Paper: Marriage Customs in the Old Testament (PDF)
 
Empowering and equipping academic recovery students for academic and career ...
Empowering and equipping academic recovery students for academic  and career ...Empowering and equipping academic recovery students for academic  and career ...
Empowering and equipping academic recovery students for academic and career ...
 
Consturction Last Question
Consturction Last QuestionConsturction Last Question
Consturction Last Question
 
Music Lesson Sample
Music Lesson SampleMusic Lesson Sample
Music Lesson Sample
 
V Family
V  FamilyV  Family
V Family
 
Innovations
InnovationsInnovations
Innovations
 
Direiro e educação
Direiro e educaçãoDireiro e educação
Direiro e educação
 
Code And Conventions
Code And ConventionsCode And Conventions
Code And Conventions
 
A educação no brasil
A educação no brasilA educação no brasil
A educação no brasil
 
New Testament Cultural Background: Sheep and Shepherd
New Testament Cultural Background: Sheep and ShepherdNew Testament Cultural Background: Sheep and Shepherd
New Testament Cultural Background: Sheep and Shepherd
 
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
Semantic Decision Support Models for Energy Efficiency in Smart-Metered HomesSemantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
Semantic Decision Support Models for Energy Efficiency in Smart-Metered Homes
 
Virtulization
VirtulizationVirtulization
Virtulization
 
New KCTCS Assessment and Placement Policy
New KCTCS Assessment and Placement PolicyNew KCTCS Assessment and Placement Policy
New KCTCS Assessment and Placement Policy
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Using SOIQ(D) to Formalize Semantics within one Semantic Decision Table

  • 1. Using to Formalize Semantics within a Semantic Decision Table Yan Tang Demey and Trung-Kien Tran 21/09/2012 | pag. 1
  • 2. Outlines • Background • Related Work • Our approach: use domain semantics to validate decision tables • Discussion and Conclusion 21/09/2012 | pag. 2
  • 3. What is a decision table? • CSA, (1970): Z243.1-1970 for Decision Tables, Canadian Standards Association Condition entry Condition stub Condition 1 2 3 4 5 6 Age <18 >=18,<40 >=40 <18 >=18,<40 >=40 Speak required language (s) Yes Yes Yes No No No Action Hire * Train * Action Reject * * entry * * Action stub Decision rule 21/09/2012 | pag. 3
  • 4. Decision tables in IS and business • Easily learned, understandable and readable • Concise and precise • Clear relations of decisional alternatives • Decision rule set – Completeness – Correctness – Exclusivity 21/09/2012 | pag. 4
  • 5. The Group Decision Modelling Environment 21/09/2012 | pag. 5 McGrath, J. E. (1984): Groups: Integration and Performance, Prentice-Hall, Englewood Cliffs, ISBN 0-13-365700-0
  • 6. Validation and Verification • In order to make a “good” decision table, it needs to be validated and verified consistent correct 21/09/2012 | pag. 6
  • 7. Semantic Decision Tables • Allows rule modellers to analyse decision tables using domain semantics – Hidden decision rules and meta-rules are specified in ontologies – In the activities of grounding ontological commitments Instantiations of concepts Constraints Grouping contexts Articulation (mapping to glossary) Concepts alignment across contexts 21/09/2012 | pag. 7
  • 8. Related Work • V&V approaches to decision tables – Combining columns to reduce columns (Shwayder, 1975) – Conversion and decomposition (Pooch, 1974) – PROLOGA (discovering intra-inter tabular anomalies) (Vanthienen et al., 1998) – Approximate reduction (Qian et al., 2010) – Others (Hewette et al., 2003; Ibramsha and Rajaraman, 1978; Lew, 1978) 21/09/2012 | pag. 8
  • 9. Compared to their work • We focus on using ontological axioms to validate a decision table – Sharable and community based (and even standardized) – Support group decision making in a nature way – Misunderstanding is minimized 21/09/2012 | pag. 9
  • 10. What has been done • How ontological constraints can be directly applied to decision tables – (Tang, Y.: Directly Applied ORM Constraints for Validating and Verifying Semantic Decision Tables. In: Meersman, R., Dillon, T., Herrero, P. (eds.) OTM-WS 2011. LNCS, vol. 7046, pp. 350–359. Springer, Heidelberg (2011)) • What is the mapping between SDRule-ML and OWL/RDF(s). – (Tang, Y., Meersman, R.: Towards Directly Applied Ontological Constraints in a Semantic Decision Table. In: Palmirani, M. (ed.) RuleML - America 2011. LNCS, vol. 7018, pp. 193– 207. Springer, Heidelberg (2011)) 21/09/2012 | pag. 10
  • 11. Motivation and Contribution • Formalization and semantics for computational properties for validating a decision table • More Focus: – Validation (not verification) – Within one table (not across table) 21/09/2012 | pag. 11
  • 12. – A dialect of Description Logics – DL: decidable fragments of FOL – An extension to (most basic DL language of interest) by adding syntactic constructors • Transitivity • Nominal • Inverse roles • Qualified number restriction • Data types 21/09/2012 | pag. 12
  • 13. • Expressive enough for SDT • Good balance between expressiveness and computational complexity • OWL2 recommended by W3C is based on . , which includes 21/09/2012 | pag. 13
  • 15. Basic Structure of a Decision Table 21/09/2012 | pag. 15
  • 16. A Decision Rule (Column) 21/09/2012 | pag. 16
  • 17. Ontological Commitments in an SDT 21/09/2012 | pag. 17
  • 18. 1. Value Constraint Condition 1 2 3 4 … n … Age >=18 >=18 >=18 >=18 … >=100, <=350 Temperature Sensor >=0,<30 >=0,<30 >=0,<30 >=-10,<0 … >=0,<30 Login State Yes No Maybe Yes … Yes … Action Accept * * * * Choose a random value within the range 21/09/2012 | pag. 18
  • 19. 1. Value Constraint Condition 1 2 3 4 … n … Age >=18 >=18 >=18 >=18 … >=100, <=350 Temperature Sensor >=0,<30 >=0,<30 >=0,<30 >=-10,<0 … >=0,<30 Login State Yes No Maybe Yes … Yes … Action Accept * * * * 21/09/2012 | pag. 19
  • 20. 2. Cardinality and Occurrence Frequency Condition 1 2 3 4 5 6 7 8 X-Box 557 Yes Yes Yes Yes No No No No X-Box 120 Yes Yes No No Yes Yes No No MS Xbox 360 Yes No Yes No Yes No Yes No Action Actuator x * * * * * Interpret condition entries “Yes”, “No” into true or false in DL axioms 21/09/2012 | pag. 20
  • 21. 2. Cardinality and Occurrence Frequency Condition 1 2 3 4 5 6 7 8 X-Box 557 Yes Yes Yes Yes No No No No X-Box 120 Yes Yes No No Yes Yes No No MS Xbox 360 Yes No Yes No Yes No Yes No Action Actuator x * * * * * 21/09/2012 | pag. 21
  • 22. 3. Mandatory • A special case of role cardinality 𝑅𝑜𝑜𝑚 ⊑≥ 1 ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 Or, 𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊓ ¬∀ℎ𝑎𝑠𝐶𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛𝐸𝑛𝑡𝑟𝑦 𝑓𝑎𝑙𝑠𝑒 Condition 1 2 3 4 5 6 7 8 X-Box 557 Yes Yes Yes Yes No No No No X-Box 120 Yes Yes No No Yes Yes No No MS Xbox 360 Yes No Yes No Yes No Yes No Action Actuator x * * * * * 21/09/2012 | pag. 22
  • 23. 3. Mandatory Condition 1 2 3 4 5 6 7 8 X-Box 557 Yes Yes Yes Yes No No No No X-Box 120 Yes Yes No No Yes Yes No No MS Xbox 360 Yes No Yes No Yes No Yes No Action Actuator x * * * * * 21/09/2012 | pag. 23
  • 24. 3. Mandatory • An example of N/A Condition 1 2 3 X-Box Humidity {X-Box557, X-Box120} {X-Box557, MS Xbox360} N/A Sensor Action Actuator x * * 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟I= 𝑥𝐵𝑜𝑥557, 𝑥𝐵𝑜𝑥120, 𝑚𝑆𝑋𝑏𝑜𝑥360 𝑛/𝑎 ⊑ ¬𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 𝑛/𝑎 A mapping is needed 21/09/2012 | pag. 24
  • 25. 4. Uniqueness Condition 1 2 3 4 5 6 7 8 X-Box 557 Yes Yes Yes Yes No No No No X-Box 120 Yes Yes No No Yes Yes No No MS Xbox 360 Yes No Yes No Yes No Yes No Action Actuator x * * * * * 𝑅𝑜𝑜𝑚 ⊑≤ 1 ℎ𝑎𝑠. 𝑋𝐵𝑜𝑥𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊓ ∃ℎ𝑎𝑠𝐶𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛𝐸𝑛𝑡𝑟𝑦 𝑡𝑟𝑢𝑒 21/09/2012 | pag. 25
  • 26. 4. Uniqueness Condition 1 2 3 Humidity Sensor {X-Box557} { MS Xbox360} {X-Box557} Sensor {EZEYE 1011A} {EZEYE 1011A} {X-Box120} Action Actuator x * * Actuator y * * 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊑ 𝑥𝐵𝑜𝑥557, 𝑚𝑆𝑋𝑏𝑜𝑥360, 𝑥𝐵𝑜𝑥120 𝑅𝑜𝑜𝑚 ⊑≤ 1ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 𝑆𝑒𝑛𝑠𝑜𝑟 ⊑ 𝑒𝑍𝐸𝑌𝐸1011𝐴 ⊔ 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 21/09/2012 | pag. 26
  • 28. 5. Exclusive-Or Condition 1 2 3 4 Humidity Sensor Yes Yes No No Light Sensor Yes No Yes No Action Actuator x * * Actuator y * 𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊔ 𝐿𝑖𝑔ℎ𝑡𝑆𝑒𝑛𝑠𝑜𝑟 𝑅𝑜𝑜𝑚 ⊑ ¬ ∃ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊓ ∃ℎ𝑎𝑠. 𝐿𝑖𝑔ℎ𝑡𝑆𝑒𝑛𝑠𝑜𝑟 𝑅𝑜𝑜𝑚 ⊑ ∃𝑎𝑐𝑡𝑖𝑣𝑎𝑡𝑒. 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑥 ⊔ 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑦 𝑅𝑜𝑜𝑚 ⊑ ¬ ∃𝑎𝑐𝑡𝑖𝑣𝑎𝑡𝑒. 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑥 ⊓ ∃𝑎𝑐𝑡𝑖𝑣𝑖𝑎𝑡𝑒. 𝐴𝑐𝑡𝑢𝑎𝑡𝑜𝑟𝑦 21/09/2012 | pag. 28
  • 29. 6. Subtyping Condition 1 2 3 4 Humidity Yes Yes No No Sensor Sensor Yes No Yes No Action Actuator x * * * 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 ⊑ 𝑆𝑒𝑛𝑠𝑜𝑟 𝑅𝑜𝑜𝑚 ⊑ ∃ℎ𝑎𝑠. 𝐻𝑢𝑚𝑖𝑑𝑖𝑡𝑦𝑆𝑒𝑛𝑠𝑜𝑟 𝑅𝑜𝑜𝑚 ⊑ ∀ℎ𝑎𝑠. ¬𝑆𝑒𝑛𝑠𝑜𝑟 21/09/2012 | pag. 30
  • 30. Discussion • Business value: to support a decision group to draw decisions • Advantages: – Semantics is fully kept – Existing reasoners to check the consistency -> validation • Disadvantages: – The mapping is non-trivial – Reasoning cost: NEXPTIME • Future Work – A supporting tool of the mapping – Using reasoners to derive semantics within a table, e.g. subclasses between condition/action stubs – Validation across tables 21/09/2012 | pag. 31
  • 31. Conclusion • Using domain semantics to validate decision tables (within one table) • Directly applied ontological constraints – Value – Cardinality – Mandatory – Uniqueness – Exclusive-or – Subtyping • All the examples can be downloaded at http://starlab.vub.ac.be/website/SDT_SOIQ 21/09/2012 | pag. 32