feature models are views on ontologies
play

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


  1. 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

  2. Motivation • Two domain modeling approaches – Feature Modeling – Ontology Modeling • Both approaches are used to model domain concepts • Two parts to the talk – How do these approaches differ and when are they appropriate? – Can they be used together? 2

  3. Overview  Feature Modeling • Ontology Modeling • Feature Models vs. Ontologies • Feature Models as Views on Ontologies • Related Work • Conclusion 3

  4. Feature Modeling • A domain-modeling technique for modeling commonality and variability Optional Decided Mandatory Manual Automatic Group OR Undecided XOR Grouped 4

  5. Overview • Feature Modeling  Ontology Modeling • Feature Models vs. Ontologies • Feature Models as Views on Ontologies • Related Work • Conclusion 5

  6. Ontology Modeling • Rich form of concept modeling • At least two kinds of ontology modeling in software engineering – Description logic (e.g. OWL for Semantic Web) – Class modeling (e.g. UML) • Only class modeling considered in this talk – Based on an ontological framework called Resource Event Agent (REA) for modeling business concepts – Profiled class diagram used 6

  7. Resource Event Agent (REA) provider stockflow Resource Event Agent recipient duality • Benefits – Requirements elicitation and completeness • Sale and cash receipt – Increased stability due to focus on logical structure, not implementation detail • Order of events 7

  8. REA Modeling Agent Incremental Decremental Contract Term Resource (Enterprise) Event Event Browsing Backorder 0..* 0..* <<use>> <<dual>> <<term>> 0..1 Registration Account SaleOrder 0..1 0..1 Behaviour 1 1 Tracking 1 0..1 0..1 1 <<produce>> 1 ProductReturn <<dual>> <<term>> <<use>> <<produce>> 0..1 0..* 1 0..* Checkout 8

  9. Overview • Feature Modeling • Ontology Modeling  Feature Models vs. Ontologies • Feature Models as Views on Ontologies • Related Work • Conclusion 9

  10. Notational Spectrum Feature Ontologies models implies Basic +Cloning +Reference Rich +Attributes attributes ontologies Complexity of constraints 10

  11. Essence of Feature Models • Essence of feature models distinguishes them from ontologies – Hierarchy : configuration and viewpoint organization – Variability • Optional features • Groups • Cardinalities • Extra constraints 11

  12. Renderings of Feature Models • More feature models than commonly thought 12

  13. Overview • Feature Modeling • Ontology Modeling • Feature Models vs. Ontologies  Feature Models as Views on Ontologies • Related Work • Conclusion 13

  14. Feature Models as Views on Ontologies • Feature modeling and ontology modeling are complementary – Project feature models from an existing ontology • Agile feature modeling • Ontology modularization – Integrate existing feature models into an ontology • Agile ontology modeling • Feature model composition • Views defined by syntactic and semantic mapping between feature models and ontologies 14

  15. Syntactic Mapping Browsing Backorder 0..* 0..* Account 0..1 Registration 0..1 SaleOrder 0..1 Behaviour 1 Tracking 1 1 0..1 0..1 1 1 ProductReturn 0..* 0..1 0..* 1 Checkout • Different traversals • Traceability links • Isomorphic • Feature-to-association 15

  16. Semantic Mapping Browsing Backorder 0..* 0..* Account 0..1 Registration 0..1 SaleOrder 0..1 Behaviour 1 Tracking 1 1 0..1 0..1 1 1 ProductReturn 0..* 0..1 0..* 1 Checkout context Checkout inv : Positive <<Checkout/…/RequiredRequired>> implies (self.account->size() =1) context Registration inv : Negative not(<<Registration>>) implies (Registration.allInstances()->size() = 0) context SaleOrder inv : Full (<<Backorder>>) = (self.backorder->size() =1) • Evaluation time of constraints is unspecified 16

  17. Overview • Feature Modeling • Ontology Modeling • Feature Models vs. Ontologies • Feature Models as Views on Ontologies  Related Work • Conclusion 17

  18. Related Work • Feature-dependency analysis (Lee et al., Zhang et al.) • Semantics of feature models (Batory, Bomtemps) • Ontology views (Noy et al, Lieberherr et al.) • Viewpoint-oriented requirements engineering (Sommerville et al.) • Early aspects (Baniassad et al.) • Feature-based configuration of models (Wasowski) • Expressing feature models in ontology languages (Wagelaar) 18

  19. Overview • Feature Modeling • Ontology Modeling • Feature Models vs. Ontologies • Feature Models as Views on Ontologies • Related Work  Conclusion 19

  20. Conclusion • From basic feature models to class diagrams • Hierarchy and variability as the essence of feature models – Feature models in disguise • Feature modeling and ontology modeling are complementary – View projection – View integration • Mapping between feature models and ontologies – Syntactically, traversals, traceability links – Semantically, feature-based restriction 20

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend