Feature Models are Views on Ontologies
Krzysztof Czarnecki1, Chang Hwan Peter Kim1, and Karl Trygve Kalleberg2 University of Waterloo1 University of Bergen2
Feature Models are Views on Ontologies Krzysztof Czarnecki 1 , Chang - - PowerPoint PPT Presentation
Feature Models are Views on Ontologies Krzysztof Czarnecki 1 , Chang Hwan Peter Kim 1 , and Karl Trygve Kalleberg 2 University of Waterloo 1 University of Bergen 2 Motivation Two domain modeling approaches Feature Modeling Ontology
Krzysztof Czarnecki1, Chang Hwan Peter Kim1, and Karl Trygve Kalleberg2 University of Waterloo1 University of Bergen2
2
3
4
Optional Mandatory Group Grouped OR XOR Manual Automatic Decided Undecided
5
6
7
stockflow provider recipient duality
8
Agent (Enterprise) Resource Incremental Event Decremental Event Contract Term
Account Registration <<produce>>
1 1 0..1 0..1 0..* 0..*
Browsing Checkout <<use>> <<use>> Behaviour Tracking
0..1 0..1 0..* 0..*
<<dual>> <<dual>> SaleOrder <<produce>> 1 1 Backorder ProductReturn
0..1 0..1 1 1
<<term>> <<term>>
9
10
implies
Complexity of constraints
Feature models Ontologies Basic +Attributes +Cloning +Reference attributes Rich
11
– Hierarchy: configuration and viewpoint organization – Variability
12
13
14
15
Account Registration 1 1 0..1 0..1 0..* 0..* Browsing Checkout Behaviour Tracking 0..1 0..1 0..* 0..* SaleOrder 1 1 Backorder ProductReturn 0..1 0..1 1 1
16
Account Registration 1 1 0..1 0..1 0..* 0..* Browsing Checkout Behaviour Tracking 0..1 0..1 0..* 0..* SaleOrder 1 1 Backorder ProductReturn 0..1 0..1 1 1
context Checkout inv: <<Checkout/…/RequiredRequired>> implies (self.account->size() =1)
Positive Negative Full
context Registration inv: not(<<Registration>>) implies (Registration.allInstances()->size() = 0) context SaleOrder inv: (<<Backorder>>) = (self.backorder->size() =1)
17
18
19
20