SlideShare a Scribd company logo
Open Information Systems ( WE-DINF-13880 ) 2011 - 2012




                      Semantic Decision Tables



                                                           dr. Yan Tang
                                                     Yan.tang@vub.ac.be
                                              May 11, 2011, 4:00~6:00 PM
11/05/2011 | pag. 1
You Have Learned…


       • Knowledge management
       • DOGMA
       • ORM conceptual modelling

       • Ontology Engineering
       • ODMF

11/05/2011 | 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



11/05/2011 | pag. 3
Other Decision Tools




                                 Decision
                                 tree




                                      Balanced
                                      scorecard




                      Bayesian
11/05/2011 | pag. 4
                      network
…And



       • Data flow diagram, flow chart, logical
         propositions, first-order-logic statement,
         context diagram, storyboards, story …




11/05/2011 | pag. 5
Decision tables in IS and
                        business

       •    Easily learned, undstandable and readable
       •    Concise and precise
       •    Clear relations of decisional alternatives
       •    Decision rule set
              – Completeness
              – Correctness
              – Exclusivity
11/05/2011 | pag. 6
Existing Decision Table
                      Applications and Tools

       • Jboss Drools: CSV -> Java Code




11/05/2011 | pag. 7
Existing Decision Table
                      Applications and Tools

       • IBM Rational Functional Tester




11/05/2011 | pag. 8
Existing Decision Table
                      Applications and Tools

       • Ruby OpenWFEru (open source Ruby
         workflow and BPM engine)




11/05/2011 | pag. 9
Existing Decision Table
                       Applications and Tools

       • PROLOGA: DT editor and analyser




11/05/2011 | pag. 10
Importance of Group
                       Decision Making

              “Most discussions of decision making
            assume that only senior executives make
             decisions or that only senior executives’
              decisions matter. This is a dangerous
                             mistake.”
                                            Need to involve a
                          – Peter Drucker   community of
                                            experts!

11/05/2011 | pag. 11
Semantic Decision Table
                             (SDT)

    • SDT = Semantics + DT
           – Agreements among stakeholders
           – Use ontologies to store semantics
    • Analysis result of (a) DT(s) designed by an acting
      group (McGrath’s study)
           – Community based agreements
           – Role of natural language in groups   Semantics in SDT is
                                                  expressed through
                                                  annotations,
                                                  commitments,
                                                  definitions, instantiation




11/05/2011 | pag. 12
Compare to DT, SDT …


       •    Can support group decision
       •    Can deal with large tables
       •    No conceptual ambiguity
       •    Hidden/implicit decision rules are specified
       •    Meta decision rules are specified


11/05/2011 | pag. 13
Modelling Issues



       • DOGMA approach to ontology engineering (OE):
              – Double articulation: ontology = ontology base (lexon base)+
                commitment (Prof. R. Meersman, 1999)
              – Linguistic fact oriented and scalable
              – Facilitates and supports deployment
              – Community grounded (agreement based)




11/05/2011 | pag. 14
DOGMA


       • Lexon: plausible binary fact, e.g., <iPhone, rings with, is
            rang with, RingTone>
       • commitment
              – Provides multiple views on the stored SDT lexons.
              – Describes particular application views of reality, e.g.,
                Each iPhone rings with AT LEAST ONE Ring Tone.
              – Needs to be expressed by a commitment language
                  e.g. p1 = [iPhone,   rings with, is rang with, RingTone]:
                  MAND (p1).



11/05/2011 | pag. 15
Use ORM to Graphically
                       Model Commitments

       • ORM – a method for designing models at
         the conceptual level, where the application
         is described in terms easily understood by
         non-technical users.




11/05/2011 | pag. 16
An SDT Example

               Condition                    1                         2                       3                             4
               People move Ear              Yes                       No                      Yes                           No
               Pressure on Crib             Yes                       Yes                     No                            No
               Action
               Screen shows Message         Message1
               iPhone rings                                                                   RingTone1
                                                             SDT Lexons
               Lexon 1                    <Bunny, has, is of, Ear>
               Lexon 2                    <Bunny, has, is of, Name>
               Lexon 3                    <Ear, is moved by, move, People>
               Lexon 4                    <Crib, has, is of, Name>
               Lexon 5                    <Screen, shows, is shown by, Message>
               Lexon 6                    <iPhone, rings with, is rang with, RingTone>
                                                        SDT Commitments
               Commitment   1            EACH Bunny has EXACT ONE name.
               Commitment   2            EACH Crib has EXACT ONE name.
               Commitment   3            EACH Screen shows AT LEAST ONE Message
               Commitment   4            Each iPhone rings with AT LEAST ONE Ring Tone.
                                                  Instantiation of Decision Items
               People move Ear            “People” is James. “Ear” is the ear from the Bunny in the living room.
               Pressure on Crib          “Crib” is James’ crib. “Pressure on Crib – Yes” means that James is in his crib.
               Screen shows Messages     “Screen” is the smart screen in the living room.
               iPhone rings              “iPhone” is Mary’s iPhone. She has only one iPhone.




11/05/2011 | pag. 17
How to Construct an SDT?


                        Study decision      Define               Scope
                        maker               environment          decision            To study the
     To form decision   individuals         input                problems
                                                                                     decision maker
     group and define
                                                                                     candidates and
     decision tasks
                                                                                     problem
                                                                                     background
                                         Define
                           Define a                                 Define
                                         thresholds for
                           group                                    decision tasks
                                         group behaviour



                                                                                       To create
                                                                                       decision tables
                                                                                       and make into
                          Design         Extract                                       SDT
                                                           Design SDT
                          decision       SDT
                                                           commitments
                          table          lexons




11/05/2011 | pag. 18
What is Inside an SDT
                             Commitment?

       Constraint types:
               Uniqueness
               Mandatory
               Occurrence frequency   Operators:
                                            Negation
               Subset
                                            Conjunction
               Equality                    Disjunction
               Exclusion                   Implication
               Value constraint
               Sequence
               Subtype
               Other dependencies

11/05/2011 | pag. 19
Be Careful!


       • Top common supertype.
              – It is impossible to have an object type that has two (or more than two)
                mutually exclusive super types, unless the instance set of this type is
                empty.
       • Exclusion-mandatory.
              – If an object type plays a mandatory role and it participates in an
                exclusion constraint with other roles, then only the role that connects to
                both the mandatory constraint and the exclusion constraint is played.
                Other roles are never played.
       • Set-comparison constraints.
              – It is impossible to apply both the subset constraint and the exclusion
                constraint at the same time to two lexons.
       • …


11/05/2011 | pag. 20
Use Ontology to Make a Good Semantic Decision Table

           SEMANTIC DECISION TABLE –
           ANALYSIS (PART I)

11/05/2011 | pag. 21
Validation and Verification


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




11/05/2011 | pag. 22
SDT Analyser (Part I)


       •    Completeness                Validation and
                                        verification
       •    Entries Validity            issues

       •    Transaction Test
       •    Identification of Impossible Rules
       •    Identification of Overlapping Rules
       •    Identification of Rule Gaps

11/05/2011 | pag. 23
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser –
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Completeness




                Completeness




11/05/2011 | pag. 24
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser –
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Completeness




11/05/2011 | pag. 25
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Entries
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Validity
       • Example 1 – invalid Boolean stub




11/05/2011 | pag. 26
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Entries
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Validity
       • Example 2 – Invalid Set Entry




11/05/2011 | pag. 27
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Entries
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Validity
       • Example 3 – Invalid Float Entries




11/05/2011 | pag. 28
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Entries
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Validity
       • Example 4 – Invalid Integer Entries




11/05/2011 | pag. 29
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Transaction
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Test




11/05/2011 | pag. 30
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Horizontal
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Impossible Rules
       • Example 1 – Condition Entry is a String
         Set




                       What if
                       X=Y?


11/05/2011 | pag. 31
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Horizontal
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Impossible Rules
       • Example 2 – Using Implication Operator in
         the SDT Commitment




         P1 = [CONDITION, has, is of,
         CONDIT ION_ENTRY]: IMPLIES (P1
         ( C O N D I T I O N _ E N T RY ) = ” ” , O R ( ( P 1
         (CONDITION_ENTRY) =”J”), P1
         (CONDITION_ENTRY) =”N”)).




11/05/2011 | pag. 32
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Vertical
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Impossible Rules
       • Example 1 – use constraints of
         equivalence and value range




11/05/2011 | pag. 33
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Vertical
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Impossible Rules
       • Example 2 – use constraints of
         equivalence and set




11/05/2011 | pag. 34
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser – Vertical
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Impossible Rules
       • Example 3 – use constraints of exclusion




11/05/2011 | pag. 35
•     Completeness
                                               SDT Analyser –
   •     Entries Validity
   •
   •
   •
         Transaction Test
         Identification of Impossible Rules
         Identification of Overlapping Rules
                                               Identification of Overlapping
   •     Identification of Rule Gaps
                                               Rules
       • Example 1 – Value




         What If
         C1=C2?



11/05/2011 | pag. 36
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser –
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Identification of Rule Gaps
       • Example 1




11/05/2011 | pag. 37
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser –
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Identification of Rule Gaps
       • Example 2




11/05/2011 | pag. 38
•
   •
   •
         Completeness
         Entries Validity
         Transaction Test
                                               SDT Analyser –
   •
   •
   •
         Identification of Impossible Rules
         Identification of Overlapping Rules
         Identification of Rule Gaps
                                               Identification of Rule Gaps
       • Example 3




11/05/2011 | pag. 39
Use Ontology to Make a Good Semantic Decision Table

           SEMANTIC DECISION TABLE –
           ANALYSIS (PART II)

11/05/2011 | pag. 40
SDT Analyser –
                       Unreachable Rules
       • Example 1 – condition entries are sets




11/05/2011 | pag. 41
Applied constraint types –
                               Subtyping

         •    P = [Lecturer, is a, is, Teacher]: SUBTYPE (P).




11/05/2011 | pag. 42
Applied Constraint Types –
                               Value Constraint
      •     P2 = [Request, has, is of, Login State]: P2 (Login State) = {Good,
            Bad}.




      •     P1 = [Person, has, is of, Age]: P1 (Age) >= 0.




11/05/2011 | pag. 43
Applied constraint types -
                               Uniqueness + Value
      •     (P1 = [TABLE, has, is of, CONDITION_STUB], P2 =
            [CONDITION_STUB, has value, is value of, Driver’s License]):
            UNIQ (P1 (has), P2 (has value)).
      •     P3 = [Person, has, is of, License]: P3 (License) = {A, B, C, D, E, MS
            Office, MYSQL, J2EE, HRM_DM}.
      •     P4 = [Person, has, is of, Driver’s License]: P4 (Driver’s License) =
            {A, B, C, D, E}.




11/05/2011 | pag. 44
Applied constraint types -
                               Mandatory


         •    P7 = [driver, has, is issued to, driver’s license]: MAND (P7).




11/05/2011 | pag. 45
Applied constraint types –
                                Cardinality


            •    P13 = [person, has, is of, job]: CARD (P13 (has), <=2).




11/05/2011 | pag. 46
Applied Constraint Types –
                               Exclusive-Or
      •    P = [TABLE, has, is of, ACTION]: OR (P (ACTION) = “Accept”, P
           (ACTION) = “Refuse”).




      •    (P6 = [Lecturer, is a, is, Person], P7 = [Driver, is a, is, Person]): OR
           (P6 (is), P7 (is)).




11/05/2011 | pag. 47
Other Extensions to
                       Decision Tables

       • Second-Order Decision Tables (SODT)
       • Fuzzy Decision Tables (FDT)
       • Rough Set Decision Tables (RSDT)




11/05/2011 | pag. 48
Conclusion



       • What is SDT?
       • How to build an SDT?
       • How to build a good SDT?




11/05/2011 | pag. 49

More Related Content

Similar to Course material: semantic decision tables for open information systems

Value-Stream-Mapping,
Value-Stream-Mapping, Value-Stream-Mapping,
Value-Stream-Mapping,
Towo Toivola
 
Brms best practices_2011_oct_final
Brms best practices_2011_oct_finalBrms best practices_2011_oct_final
Brms best practices_2011_oct_finalEdson Tirelli
 
Seronto Process
Seronto ProcessSeronto Process
Seronto Process
Nicolas Bertrand
 
IAT334-Lec02-TaskAnalysis.pptx
IAT334-Lec02-TaskAnalysis.pptxIAT334-Lec02-TaskAnalysis.pptx
IAT334-Lec02-TaskAnalysis.pptx
ssuseraae9cd
 
DCI - Data, Context and Interaction @ Jug Lugano May 2011
DCI - Data, Context and Interaction @ Jug Lugano May 2011 DCI - Data, Context and Interaction @ Jug Lugano May 2011
DCI - Data, Context and Interaction @ Jug Lugano May 2011
Fabrizio Giudici
 
P12035 simplifiedtech-uadeck-sharedeck
P12035 simplifiedtech-uadeck-sharedeckP12035 simplifiedtech-uadeck-sharedeck
P12035 simplifiedtech-uadeck-sharedeck
Lisa Duke
 

Similar to Course material: semantic decision tables for open information systems (6)

Value-Stream-Mapping,
Value-Stream-Mapping, Value-Stream-Mapping,
Value-Stream-Mapping,
 
Brms best practices_2011_oct_final
Brms best practices_2011_oct_finalBrms best practices_2011_oct_final
Brms best practices_2011_oct_final
 
Seronto Process
Seronto ProcessSeronto Process
Seronto Process
 
IAT334-Lec02-TaskAnalysis.pptx
IAT334-Lec02-TaskAnalysis.pptxIAT334-Lec02-TaskAnalysis.pptx
IAT334-Lec02-TaskAnalysis.pptx
 
DCI - Data, Context and Interaction @ Jug Lugano May 2011
DCI - Data, Context and Interaction @ Jug Lugano May 2011 DCI - Data, Context and Interaction @ Jug Lugano May 2011
DCI - Data, Context and Interaction @ Jug Lugano May 2011
 
P12035 simplifiedtech-uadeck-sharedeck
P12035 simplifiedtech-uadeck-sharedeckP12035 simplifiedtech-uadeck-sharedeck
P12035 simplifiedtech-uadeck-sharedeck
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

Course material: semantic decision tables for open information systems

  • 1. Open Information Systems ( WE-DINF-13880 ) 2011 - 2012 Semantic Decision Tables dr. Yan Tang Yan.tang@vub.ac.be May 11, 2011, 4:00~6:00 PM 11/05/2011 | pag. 1
  • 2. You Have Learned… • Knowledge management • DOGMA • ORM conceptual modelling • Ontology Engineering • ODMF 11/05/2011 | 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 11/05/2011 | pag. 3
  • 4. Other Decision Tools Decision tree Balanced scorecard Bayesian 11/05/2011 | pag. 4 network
  • 5. …And • Data flow diagram, flow chart, logical propositions, first-order-logic statement, context diagram, storyboards, story … 11/05/2011 | pag. 5
  • 6. Decision tables in IS and business • Easily learned, undstandable and readable • Concise and precise • Clear relations of decisional alternatives • Decision rule set – Completeness – Correctness – Exclusivity 11/05/2011 | pag. 6
  • 7. Existing Decision Table Applications and Tools • Jboss Drools: CSV -> Java Code 11/05/2011 | pag. 7
  • 8. Existing Decision Table Applications and Tools • IBM Rational Functional Tester 11/05/2011 | pag. 8
  • 9. Existing Decision Table Applications and Tools • Ruby OpenWFEru (open source Ruby workflow and BPM engine) 11/05/2011 | pag. 9
  • 10. Existing Decision Table Applications and Tools • PROLOGA: DT editor and analyser 11/05/2011 | pag. 10
  • 11. Importance of Group Decision Making “Most discussions of decision making assume that only senior executives make decisions or that only senior executives’ decisions matter. This is a dangerous mistake.” Need to involve a – Peter Drucker community of experts! 11/05/2011 | pag. 11
  • 12. Semantic Decision Table (SDT) • SDT = Semantics + DT – Agreements among stakeholders – Use ontologies to store semantics • Analysis result of (a) DT(s) designed by an acting group (McGrath’s study) – Community based agreements – Role of natural language in groups Semantics in SDT is expressed through annotations, commitments, definitions, instantiation 11/05/2011 | pag. 12
  • 13. Compare to DT, SDT … • Can support group decision • Can deal with large tables • No conceptual ambiguity • Hidden/implicit decision rules are specified • Meta decision rules are specified 11/05/2011 | pag. 13
  • 14. Modelling Issues • DOGMA approach to ontology engineering (OE): – Double articulation: ontology = ontology base (lexon base)+ commitment (Prof. R. Meersman, 1999) – Linguistic fact oriented and scalable – Facilitates and supports deployment – Community grounded (agreement based) 11/05/2011 | pag. 14
  • 15. DOGMA • Lexon: plausible binary fact, e.g., <iPhone, rings with, is rang with, RingTone> • commitment – Provides multiple views on the stored SDT lexons. – Describes particular application views of reality, e.g., Each iPhone rings with AT LEAST ONE Ring Tone. – Needs to be expressed by a commitment language e.g. p1 = [iPhone, rings with, is rang with, RingTone]: MAND (p1). 11/05/2011 | pag. 15
  • 16. Use ORM to Graphically Model Commitments • ORM – a method for designing models at the conceptual level, where the application is described in terms easily understood by non-technical users. 11/05/2011 | pag. 16
  • 17. An SDT Example Condition 1 2 3 4 People move Ear Yes No Yes No Pressure on Crib Yes Yes No No Action Screen shows Message Message1 iPhone rings RingTone1 SDT Lexons Lexon 1 <Bunny, has, is of, Ear> Lexon 2 <Bunny, has, is of, Name> Lexon 3 <Ear, is moved by, move, People> Lexon 4 <Crib, has, is of, Name> Lexon 5 <Screen, shows, is shown by, Message> Lexon 6 <iPhone, rings with, is rang with, RingTone> SDT Commitments Commitment 1 EACH Bunny has EXACT ONE name. Commitment 2 EACH Crib has EXACT ONE name. Commitment 3 EACH Screen shows AT LEAST ONE Message Commitment 4 Each iPhone rings with AT LEAST ONE Ring Tone. Instantiation of Decision Items People move Ear “People” is James. “Ear” is the ear from the Bunny in the living room. Pressure on Crib “Crib” is James’ crib. “Pressure on Crib – Yes” means that James is in his crib. Screen shows Messages “Screen” is the smart screen in the living room. iPhone rings “iPhone” is Mary’s iPhone. She has only one iPhone. 11/05/2011 | pag. 17
  • 18. How to Construct an SDT? Study decision Define Scope maker environment decision To study the To form decision individuals input problems decision maker group and define candidates and decision tasks problem background Define Define a Define thresholds for group decision tasks group behaviour To create decision tables and make into Design Extract SDT Design SDT decision SDT commitments table lexons 11/05/2011 | pag. 18
  • 19. What is Inside an SDT Commitment? Constraint types:  Uniqueness  Mandatory  Occurrence frequency Operators:  Negation  Subset  Conjunction  Equality  Disjunction  Exclusion  Implication  Value constraint  Sequence  Subtype  Other dependencies 11/05/2011 | pag. 19
  • 20. Be Careful! • Top common supertype. – It is impossible to have an object type that has two (or more than two) mutually exclusive super types, unless the instance set of this type is empty. • Exclusion-mandatory. – If an object type plays a mandatory role and it participates in an exclusion constraint with other roles, then only the role that connects to both the mandatory constraint and the exclusion constraint is played. Other roles are never played. • Set-comparison constraints. – It is impossible to apply both the subset constraint and the exclusion constraint at the same time to two lexons. • … 11/05/2011 | pag. 20
  • 21. Use Ontology to Make a Good Semantic Decision Table SEMANTIC DECISION TABLE – ANALYSIS (PART I) 11/05/2011 | pag. 21
  • 22. Validation and Verification • In order to make a “good” SDT, it needs to be validated and verified 11/05/2011 | pag. 22
  • 23. SDT Analyser (Part I) • Completeness Validation and verification • Entries Validity issues • Transaction Test • Identification of Impossible Rules • Identification of Overlapping Rules • Identification of Rule Gaps 11/05/2011 | pag. 23
  • 24. • • Completeness Entries Validity Transaction Test SDT Analyser – • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Completeness Completeness 11/05/2011 | pag. 24
  • 25. • • Completeness Entries Validity Transaction Test SDT Analyser – • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Completeness 11/05/2011 | pag. 25
  • 26. • • Completeness Entries Validity Transaction Test SDT Analyser – Entries • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Validity • Example 1 – invalid Boolean stub 11/05/2011 | pag. 26
  • 27. • • Completeness Entries Validity Transaction Test SDT Analyser – Entries • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Validity • Example 2 – Invalid Set Entry 11/05/2011 | pag. 27
  • 28. • • Completeness Entries Validity Transaction Test SDT Analyser – Entries • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Validity • Example 3 – Invalid Float Entries 11/05/2011 | pag. 28
  • 29. • • Completeness Entries Validity Transaction Test SDT Analyser – Entries • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Validity • Example 4 – Invalid Integer Entries 11/05/2011 | pag. 29
  • 30. • • Completeness Entries Validity Transaction Test SDT Analyser – Transaction • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Test 11/05/2011 | pag. 30
  • 31. • • Completeness Entries Validity Transaction Test SDT Analyser – Horizontal • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Impossible Rules • Example 1 – Condition Entry is a String Set What if X=Y? 11/05/2011 | pag. 31
  • 32. • • Completeness Entries Validity Transaction Test SDT Analyser – Horizontal • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Impossible Rules • Example 2 – Using Implication Operator in the SDT Commitment P1 = [CONDITION, has, is of, CONDIT ION_ENTRY]: IMPLIES (P1 ( C O N D I T I O N _ E N T RY ) = ” ” , O R ( ( P 1 (CONDITION_ENTRY) =”J”), P1 (CONDITION_ENTRY) =”N”)). 11/05/2011 | pag. 32
  • 33. • • Completeness Entries Validity Transaction Test SDT Analyser – Vertical • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Impossible Rules • Example 1 – use constraints of equivalence and value range 11/05/2011 | pag. 33
  • 34. • • Completeness Entries Validity Transaction Test SDT Analyser – Vertical • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Impossible Rules • Example 2 – use constraints of equivalence and set 11/05/2011 | pag. 34
  • 35. • • Completeness Entries Validity Transaction Test SDT Analyser – Vertical • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Impossible Rules • Example 3 – use constraints of exclusion 11/05/2011 | pag. 35
  • 36. Completeness SDT Analyser – • Entries Validity • • • Transaction Test Identification of Impossible Rules Identification of Overlapping Rules Identification of Overlapping • Identification of Rule Gaps Rules • Example 1 – Value What If C1=C2? 11/05/2011 | pag. 36
  • 37. • • Completeness Entries Validity Transaction Test SDT Analyser – • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Identification of Rule Gaps • Example 1 11/05/2011 | pag. 37
  • 38. • • Completeness Entries Validity Transaction Test SDT Analyser – • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Identification of Rule Gaps • Example 2 11/05/2011 | pag. 38
  • 39. • • Completeness Entries Validity Transaction Test SDT Analyser – • • • Identification of Impossible Rules Identification of Overlapping Rules Identification of Rule Gaps Identification of Rule Gaps • Example 3 11/05/2011 | pag. 39
  • 40. Use Ontology to Make a Good Semantic Decision Table SEMANTIC DECISION TABLE – ANALYSIS (PART II) 11/05/2011 | pag. 40
  • 41. SDT Analyser – Unreachable Rules • Example 1 – condition entries are sets 11/05/2011 | pag. 41
  • 42. Applied constraint types – Subtyping • P = [Lecturer, is a, is, Teacher]: SUBTYPE (P). 11/05/2011 | pag. 42
  • 43. Applied Constraint Types – Value Constraint • P2 = [Request, has, is of, Login State]: P2 (Login State) = {Good, Bad}. • P1 = [Person, has, is of, Age]: P1 (Age) >= 0. 11/05/2011 | pag. 43
  • 44. Applied constraint types - Uniqueness + Value • (P1 = [TABLE, has, is of, CONDITION_STUB], P2 = [CONDITION_STUB, has value, is value of, Driver’s License]): UNIQ (P1 (has), P2 (has value)). • P3 = [Person, has, is of, License]: P3 (License) = {A, B, C, D, E, MS Office, MYSQL, J2EE, HRM_DM}. • P4 = [Person, has, is of, Driver’s License]: P4 (Driver’s License) = {A, B, C, D, E}. 11/05/2011 | pag. 44
  • 45. Applied constraint types - Mandatory • P7 = [driver, has, is issued to, driver’s license]: MAND (P7). 11/05/2011 | pag. 45
  • 46. Applied constraint types – Cardinality • P13 = [person, has, is of, job]: CARD (P13 (has), <=2). 11/05/2011 | pag. 46
  • 47. Applied Constraint Types – Exclusive-Or • P = [TABLE, has, is of, ACTION]: OR (P (ACTION) = “Accept”, P (ACTION) = “Refuse”). • (P6 = [Lecturer, is a, is, Person], P7 = [Driver, is a, is, Person]): OR (P6 (is), P7 (is)). 11/05/2011 | pag. 47
  • 48. Other Extensions to Decision Tables • Second-Order Decision Tables (SODT) • Fuzzy Decision Tables (FDT) • Rough Set Decision Tables (RSDT) 11/05/2011 | pag. 48
  • 49. Conclusion • What is SDT? • How to build an SDT? • How to build a good SDT? 11/05/2011 | pag. 49