grouping and aggregation grouping and aggregation in the
play

Grouping and Aggregation Grouping and Aggregation in the Concept- - PowerPoint PPT Presentation

Grouping and Aggregation Grouping and Aggregation in the Concept- -Oriented Data Model Oriented Data Model in the Concept Alexandr Savinov Fraunhofer Institute for Autonomous Intelligent Systems Knowledge Discovery Team Germany


  1. Grouping and Aggregation Grouping and Aggregation in the Concept- -Oriented Data Model Oriented Data Model in the Concept Alexandr Savinov Fraunhofer Institute for Autonomous Intelligent Systems Knowledge Discovery Team Germany savinov@conceptoriented.com 1 SAC’06, Dijon, France, April 23-27

  2. Outline Outline Introduction � Physical and Logical Structures � Model Dimensionality � Projection and De-projection � Multidimensional Analysis � Conclusions � 2 SAC’06, Dijon, France, April 23-27

  3. Introduction Introduction Concept- -oriented paradigm oriented paradigm Concept Duality: any element is a collection of other elements and a combination of � other elements, for example: – references vs. properties – entity modeling vs. identity modeling Order: order of elements determines most of syntactic and semantic � properties � Representation and access (RA) is the main concern. Concept-oriented paradigm Concept-oriented Concept-oriented model (COM) programming (COP) 3 SAC’06, Dijon, France, April 23-27

  4. Physical and and Logical Logical Physical Physical structure Physical structure At physical level an element of the model is a collection of other elements � Physical structure is used for representation and access � Physical structure is used to implement reference � Physical structure is hierarchical where each element has only one parent � concepts , Germany , France Countries root CompanyX items Customers #23 Orders physical structure 4 SAC’06, Dijon, France, April 23-27

  5. Physical and and Logical Logical Physical Logical structure Logical structure Each element is a combination of other elements (by reference) � Logical structure is used to represent data semantics (properties) � Logical collection is a dual combination � Each element has many parents and many children � concepts , Germany customer date , France Countries logical structure AND root CompanyX order items Customers OR part1 part2 #23 Orders physical structure 5 SAC’06, Dijon, France, April 23-27

  6. Physical and and Logical Logical Physical Two level model Two level model [Root] One root element is a physical � collection of concepts, concepts Germany � [Syntax] Each concept is – (i) a combination of other concepts France Countries logical structure called superconcepts (while this root , concept is a subconcept ), CompanyX – (ii) a physical collection of data , items Customers items (or concept instances), [Semantics] Each data item is � = #23 {} i Orders – (i) a combination of other data items called superitems (while this physical structure item is a subitem ), – (ii) empty physical collection, 6 SAC’06, Dijon, France, April 23-27

  7. Physical and and Logical Logical Physical Two level model Two level model [Special elements] � concepts – Top and bottom concepts Germany – Primitive concepts – Null item France Countries logical structure root CompanyX [Cycles] Cycles in subconcept- � , items superconcept relation and subitem- Customers , superitem relation are not allowed, #23 � [Syntactic constraints] Each data item Orders from a concept may combine only items from its superconcepts. physical structure 7 SAC’06, Dijon, France, April 23-27

  8. Model Dimensionality Dimensionality Model Multidimensional space Multidimensional space Superconcept is a domain of a dimension � A common subconcept is a multidimensional space � More levels can be added to the multidimensional space � , superconcepts , Countries Products Customers item concept subconcept Orders arrow from subitem to superitem 8 SAC’06, Dijon, France, April 23-27

  9. Model Dimensionality Dimensionality Model Hierarchical space Hierarchical space It is one-dimensional space with many levels of details � Subconcepts are alternative views on their common superconcept � , item , company as one whole concept Company arrow from subconcept to superconcept Employees Products Customers alternative views on the company Orders Surveys alternative views on the customers 9 SAC’06, Dijon, France, April 23-27

  10. Model Dimensionality Dimensionality Model Hierarchical multidimensional space Hierarchical multidimensional space Both structures are combined in one concept graph � The concept graph possesses both multidimensional and hierarchical � properties , hierarchy most general concept , Top Top SubC1 SubC2 SubC3 C2 C1 C3 SupC1 SupC2 SupC3 Bottom multidimensional Bottom space most specific concept 10 SAC’06, Dijon, France, April 23-27

  11. Model Dimensionality Dimensionality Model Dimensions Dimensions Dimension is a named position of superconcept � Superconcept is referred to as the domain � Dimensions of higher rank consists of many (local) dimensions � Dimension with the domain in a primitive concept is a primitive dimension � The number of primitive dimensions is the model primitive dimensionality � , , Top Users Categories Prices Dates user category Products user date date price product Auctions auction AuctionBids 11 SAC’06, Dijon, France, April 23-27

  12. Model Dimensionality Dimensionality Model Inverse dimensions Inverse dimensions Inverse dimension has an opposite direction � Inverse dimension identifies a subconcept � Inverse dimensions are multi-valued (while dimensions are one-valued) � The number of primitive dimensions is equal to the number of primitive � inverse dimensions , � {AuctionBids.auction.product.category} , Top Prices Users Dates Categories user category user date Products date price product Auctions auction AuctionBids 12 SAC’06, Dijon, France, April 23-27

  13. Projection and and De De- -projection projection Projection Two retrieval operations Two retrieval operations Two ways to retrieve related items: projection and de-projection � These two ways are supported by the model structure and correspond to � moving up and down in the concept graph These two retrieval operations need only dimension names – no complex � joins anymore , � These operations are analogous to the corresponding geometrical operations , 13 SAC’06, Dijon, France, April 23-27

  14. Projection and and De De- -projection projection Projection Projection Projection Projection operator returns a set of superitems along some dimension � Projection operator -> is followed by a dimension: � OrderParts->product->category U , Projection direction , Top C Countries Months Categories country month category Customers Dates Products customer date For each subitem we Orders product get its superitem along the dimension I order used in projection OrderParts 14 SAC’06, Dijon, France, April 23-27

  15. Projection and and De De- -projection projection Projection De- -projection projection De De-projection operator returns a set of subitems � De-projection operator -> is followed by an inverse dimension: � Category->{product->category} , I De-projection direction , Top For each superitems we find all subitems Countries Months Categories along inverse S country month category dimension that reference it Customers Dates Products customer date Orders product order OrderParts 15 SAC’06, Dijon, France, April 23-27

  16. Projection and and De De- -projection projection Projection Access path Access path Access path is a sequence of projections and de-projection where each next � operator is applied to the result of the previous operator � Category.getOrders = this-> {OrderParts->product->category}-> order; � Category.getOrders = this-> , {OrderParts->product->category}-> , Top order->customer->country; Zigzag paths � Countries Months Categories are possible country month category Aggregation can be applied � Customers Dates Products to sets of items customer date � Category.meanPrice = avg( Orders product this->getOrders->price ); order OrderParts 16 SAC’06, Dijon, France, April 23-27

  17. Multidimensional Analysis Multidimensional Analysis Multidimensional de- -projection projection Multidimensional de More than one bounding dimension � Multidimensional de-projection returns a set of subitems referencing source � items along all bounding dimensions: One-dimensional de-projection Multi-dimensional de-projection , I , I S S 17 SAC’06, Dijon, France, April 23-27

  18. Multidimensional Analysis Multidimensional Analysis Steps of analysis Steps of analysis Choose dimension paths along which we want to view our data S 1. Choose the levels along these dimensions 2. Universe of discourse is the Cartesian product of the chosen levels 3. Each point from UoD is de-projected onto the target subconcept S 4. De-projection is aggregated using some property (measure) 5. , , D2 UoD Measure D1 M S 18 SAC’06, Dijon, France, April 23-27

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