1 Maintaining Semantics in the Design of Valid and Reversible SemiStructured Views Yabing Chen, Tok Wang Ling, Mong Li Lee Department of Computer Science.

Slides:



Advertisements
Similar presentations
Jiaheng Lu, Ting Chen and Tok Wang Ling National University of Singapore Finding all the occurrences of a twig.
Advertisements

Symmetrically Exploiting XML Shuohao Zhang and Curtis Dyreson School of E.E. and Computer Science Washington State University Pullman, Washington, USA.
XML to Relational Database Mapping
XML: Extensible Markup Language
Composing XSL Transformations with XML Publishing Views Chengkai LiUniversity of Illinois at Urbana-Champaign Philip Bohannon Lucent Technologies, Bell.
Designing Functional Dependencies For XML Mong Li LEE, Tok Wang LING, Wai Lup LOW EDBT 2002.
SilkRoute: A Framework for Publishing Relational Data in XML Mary Fernández, AT&T Labs - Research Dan Suciu, Univ. of Washington Yada Kadiyska, Univ. of.
Storing and Querying XML Documents Using Relational Databases Mustafa Atay Wayne State University Detroit, MI February 28, 2006.
1 Resolving Structural Conflicts in the Integration of XML Schemas: A Semantic Approach Xia Yang Mong Li Lee Tok Wang Ling National University of Singapore.
Data Management for XML: Research Directions By: Jennifer Widom Stanford University Reviewer: Kristin Streilein.
Agenda from now on Done: SQL, views, transactions, conceptual modeling, E/R, relational algebra. Starting: XML To do: the database engine: –Storage –Query.
Managing XML and Semistructured Data Lecture 8: Query Languages - XML-QL Prof. Dan Suciu Spring 2001.
Web-site Management System Strudel Presented by: LAKHLIFI Houda Instructor: Dr. Haddouti.
1 XEM: Managing the Evolution of XML Documents Author: Hong Su, Diane Kramer. Li Chen, Kajal Claypool and Elke A. Rundensteiner Presented by: Li Shuhong.
XML Views El Hazoui Ilias Supervised by: Dr. Haddouti Advanced XML data management.
Managing XML and Semistructured Data Lecture 1: Preliminaries and Overview Prof. Dan Suciu Spring 2001.
Change-Centric Management of Versions in an XML Warehouse Amélie Marian Columbia University Serge Abiteboul, Grégory Cobéna, Laurent Mignet INRIA-Rocquencourt.
1 Advanced Topics XML and Databases. 2 XML u Overview u Structure of XML Data –XML Document Type Definition DTD –Namespaces –XML Schema u Query and Transformation.
Powerpoint 2006 PRESENTATION The University of Auckland New Zealand Marsden Fund A PVS Approach to Verifying ORA-SS Data Models Scott Uk-Jin Lee 1, Gillian.
1 The ORA-SS Approach for Designing Semistructured Databases Xiaoying Wu, Tok Wang Ling, Mong Li Lee National University of Singapore Gillian Dobbie University.
Tok Wang Ling1 Mong Li Lee1 Gillian Dobbie2
TECHNIQUES FOR OPTIMIZING THE QUERY PERFORMANCE OF DISTRIBUTED XML DATABASE - NAHID NEGAR.
4/20/2017.
Technical University of Valencia Computer Science Department SOFSEM’07 (22/01/2007) A Program Slicing Based Method to Filter XML/DTD documents.
Knowledge Mediation in the WWW based on Labelled DAGs with Attached Constraints Jutta Eusterbrock WebTechnology GmbH.
1 XDO2: A Deductive Object-Oriented Query Language for XML Wei Zhang 1, Tok Wang Ling 1, Zhuo Chen 1, and Gillian Dobbie 2 School of Computing National.
XML: Extensible Markup Language FST-UMAC Gong Zhiguo.
IS432: Semi-Structured Data Dr. Azeddine Chikh. 1. Semi Structured Data Object Exchange Model.
XML-to-Relational Schema Mapping Algorithm ODTDMap Speaker: Artem Chebotko* Wayne State University Joint work with Mustafa Atay,
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
1 Designing Valid XML Views Ya Bing Chen, Tok Wang Ling, Mong Li Lee Department of Computer Science National University of Singapore.
Dept. Computer Science, Korea Univ. Intelligent Information System Lab. XML clustering methods Sohn Jong-Soo Intelligent Information.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
1 On View Support for a Native XML DBMS Ting Chen, Tok Wang Ling School of Computing, National University of Singapore Daofeng Luo, Xiaofeng Meng Information.
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
DASWIS NF-SS: A Normal Form for Semistructured Schemata Xiaoying Wu, Tok Wang Ling, Sin Yeung Lee, Mong Li Lee National University of Singapore.
Copyright © 2004 Pearson Education, Inc.. Chapter 26 XML and Internet Databases.
RRXS Redundancy reducing XML storage in relations O. MERT ERKUŞ A. ONUR DOĞUÇ
5/2/20051 XML Data Management Yaw-Huei Chen Department of Computer Science and Information Engineering National Chiayi University.
April 9, 2006KDXD 2006, Singapore1 Capturing Semantics in XML Documents Tok Wang Ling Department of Computer Science National University of Singapore.
A Mechanized Model for CAN Protocols Context and objectives Our mechanized model Results Conclusions and Future Works Francesco Bongiovanni and Ludovic.
Philips Research UML Modeling and XML Representation of DICOM SR Jingkun Hu, KP Lee, Doug Sluis, Alfredo Tirado-Ramos June 8, 2001.
Lecture A/18-849B/95-811A/19-729A Internet-Scale Sensor Systems: Design and Policy Lecture 24 – Part 2 XML Query Processing Phil Gibbons April.
Web-site Building Methodologies Current Research.
____________________________ XML Access Control for Semantically Related XML Documents & A Role-Based Approach to Access Control For XML Databases BY Asheesh.
1 Automatic Generation of XQuery View Definitions from ORA-SS Views Ya Bing Chen Tok Wang Ling Mong Li Lee School of Computing National University of Singapore.
XML and Database.
1 M ATERIALIZED V IEW M AINTENANCE FOR THE X ML D OCUMENTS Yuan Fa, Yabing Chen, Tok Wang Ling, Ting Chen Yuan Fa, Yabing Chen, Tok Wang Ling, Ting Chen.
Sept. 27, 2002 ISDB’02 Transforming XPath Queries for Bottom-Up Query Processing Yoshiharu Ishikawa Takaaki Nagai Hiroyuki Kitagawa University of Tsukuba.
1 Resolving Schematic Discrepancy in the Integration of Entity-Relationship Schemas Qi He Tok Wang Ling Dept. of Computer Science School of Computing National.
DASFAA2003, Kyoto, Japan1 GLASS: A Graphical Query Language for Semi-Structured Data Wei Ni Tok Wang Ling Department of Computer Science National.
Graph Data Management Lab, School of Computer Science Branch Code: A Labeling Scheme for Efficient Query Answering on Tree
Deriving Relation Keys from XML Keys by Qing Wang, Hongwei Wu, Jianchang Xiao, Aoying Zhou, Junmei Zhou Reviewed by Chris Ying Zhu, Cong Wang, Max Wang,
April 9, 2007SWIIS, Bangkok1 Using Semantics in XML Data Management Tok Wang Ling Department of Computer Science National University of Singapore Gillian.
1 A Semantic Approach to Rewriting Queries for Integrated XML Data Xia Yang 1, Mong Li Lee 1, Tok Wang Ling 1, Gillian Dobbie 2 1 School of Computing,
A Publish & Subscribe Architecture for Distributed Metadata Management Markus Keidl 1 Alexander Kreutz 1 Alfons Kemper 1 Donald Kossmann 2 1 Universität.
Reuse or Never Reuse the Deleted Labels in XML Query Processing Based on Labeling Schemes Changqing Li, Tok Wang Ling, Min Hu.
1 Storing and Maintaining Semistructured Data Efficiently in an Object- Relational Database Mo Yuanying and Ling Tok Wang.
SEMI-STRUCTURED DATA (XML) 1. SEMI-STRUCTURED DATA ER, Relational, ODL data models are all based on schema Structure of data is rigid and known is advance.
1 Efficient Processing of Partially Specified Twig Queries Junfeng Zhou Renmin University of China.
XPERANTO: A Middleware for Publishing Object-Relational Data as XML Documents Michael Carey Daniela Florescu Zachary Ives Ying Lu Jayavel Shanmugasundaram.
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
Wenyue Du, Mong Li Lee, Tok Wang Ling Department of Computer Science School of Computing National University of Singapore {duwenyue, leeml,
Conceptual Modeling for XML Data
SilkRoute: A Framework for Publishing Rational Data in XML
Data Model.
Alin Deutsch, University of Pennsylvania Mary Mernandez, AT&T Labs
2/18/2019.
MCN: A New Semantics Towards Effective XML Keyword Search
Wednesday, May 29, 2002 XML Storage Final Review
Presentation transcript:

1 Maintaining Semantics in the Design of Valid and Reversible SemiStructured Views Yabing Chen, Tok Wang Ling, Mong Li Lee Department of Computer Science National University of Singapore

2 Outline Introduction Motivating Example Design Rules for Swap Operators Conclusion

3 Introduction XML  The dominant standard for exchanging data on the Internet XML Views  Exploit the potential of XML  Secure the source data  Provide an application-specific view

4 Related Work XML Views on Relational Database  SilkRoute [1] [2] Two different language to define and query the views over relational data  XPERANTO [3] [4] uses a canonical mapping to create a default XML view from relational data  ROLEX [14] Uses XSLT to define XML views. XML Views on XML Data  Xyleme [15] Define XML views using DTD  ActiveView [16] Define views with active features [1]M. Fernandez, W. Tan, D. Suciu, “Efficient Evaluation of XML Middleware Queries”, ACM SIGMOD, pp , [2] M. Fernandez, W. Tan, D. Suciu, “SilkRoute: Trading Between Relations and XML”, World Wide Web Conference, [3] M. Carey, J. Kiernan, J. hanmugasundaram, et. al., “XPERANTO: A Middleware for Publishing Object-Relational Data as XML Documents”, VLDB, pp , [4] M. Carey, D. Florescu, Z. Ives, et. al., “XPERANTO: Publishing Object-Relational Data as XML”, WebDB Workshop, [15] Sophie Cluet, Pieanglo Veltri, Dan Vodislav, Views in a large scale xml repository, VLDB 2001, pp [16] Serge Abiteboul, Sophie Cluet, Laurent Mignet, et. Al. Active views for electronic commerce, VLDB 1999, pp

5 Weakness of related work Disadvantage of the main related work  Ignore semantic information in source data For example, ignore the difference between object class, attribute and relationship in schema  Cannot check the validity of designed views  Difficult to use query languages to define views Proprietary language or XQuery

6 Our approach Our approach for XML views  Our previous work Design valid XML Views [9]  Based on a semantically rich model - ORA-SS [18]  Use query operators, such as selection, drop, swap, join, etc.  Our current work (this paper) A complete set of rules for swap operators & reversible views Maintain participation constraints for relationship types in the views. [9] Ya Bing. Chen, Tok Wang Ling, Mong Li Lee, “Designing Valid XML Views”, ER Conference, 2002 [18] Gillian Dobbie, Xiao Ying Wu, Tok Wang Ling, Mong Li Lee, ORA-SS: An Object-Relationship-Attribute Model for SemiStructured Data, Technical Report TR21/00, School of Computing, National University of Singapore, 2000.

7 Motivating Example ORA-SS data model  Object class – Rectangle  Attribute – circle  Relationship type – label on the connection between object classes Difference between ORA-SS and ER diagram  ORA-SS is hierarchical structure  ER is flat structure Difference between ORA-SS and other XML models  More semantics expressed. i.e. differentiate object class and attribute, differentiate the relationship attributes and object class attributes

8 Motivating Example (cont.) Invalid view may be created by swapping course & student incorrectly  Relationship attribute grade relocated wrongly.  Relationship type cl disappears. Swap course & student Source Schema Invalid view Schema

9 Motivating Example (cont.) Fortunately, valid view can be created based on our developed rules.  Relationship attribute grade relocated correctly.  Relationship type cl is kept in the view correctly. Swap course & student Source Schema Valid view Schema

10 Swap Operators Our previous work  Select, join and drop operator.  Simple rules for swap operator Our current work  Detailed and complete rules for swap operator  Reversible views A view is reversible if its source schema can be produced back by applying swap operator on the view

11 Swap Operator (cont.) Rule Swap_1: move attributes of O i and O j with O i and O j Swap O i & O j Reversible by applying the same rule

12 Swap Operator (cont.) Relationship types affected: The path from Oj up to Oi and its ascendants The path involving Oi and its branch object class The path involving Oj and its descendants

13 Swap Operator (cont.) Rule Swap_2: handles the first category of relationship types  Attach attributes of R at the lowest object class  Reason: keep the relationship attributes meaningful in the view Property of first category of relationship types:  The path from O j up to O i and its ascendants Swap O i & O j Reversible by applying the same rule

14 Swap Operator (cont.) Rule Swap_3: handles the second category of relationship types  Attach sub trees of O i or O a to O i  Reason: keep the relationship meaningful in the view Property of the second category of relationship types:  The path involving O i and its branch object classes Swap O i & O j Reversible by applying the Rule Swap_4

15 Swap Operator (cont.) Rule Swap_4: handle the third category of relationship types  Move sub trees of O j accordingly  Reason: keep the relationship meaningful in the view Property of the third category of relationship types:  The path involving O j and its descendants Swap O i & O j Reversible by applying the Rule Swap_3 & 4

16 Conclusion An approach to maintaining semantics in designing views  A complete set of rules for the swap operator  Keep the relationship types correct in the views  Maintain the view reversibility The first work to maintain semantics (i.e. relationship types) Provide for a more robust view mechanism to guarantee the valid views design

17 Thanks!

18 References 1. Serge. Abiteboul, S. Cluet, L. Mignet, et. al., “Active views for electronic commerce”, VLDB, pp , Chaitanya. Baru, A. Gupta, B. Ludaescher, et. al., “XML-Based Information Mediation with MIX”, ACM SIGMOD Demo, Michael. Carey, J. Kiernan, J. hanmugasundaram, et. al., “XPERANTO: A Middleware for Publishing Object- Relational Data as XML Documents”, VLDB, pp , Michael. Carey, D. Florescu, Z. Ives, et. al., “XPERANTO: Publishing Object-Relational Data as XML”, WebDB Workshop, Ya Bing. Chen, Tok Wang Ling, Mong Li Lee, “Designing Valid XML Views”, ER Conference, Ya Bing Chen, Tok Wang Ling, Mong Li Lee, “Automatic Generation of SQLX Definitions from ORA-SS Views”, DASFAA, Sophie. Cluet, P. Veltri, D. Vodislav, “Views in a large scale xml repository”, VLDB, pp , Gillian. Dobbie, X.Y Wu, T.W Ling, M.L Lee, “ORA-SS: An Object-Relationship-Attribute Model for SemiStructured Data”, Technical Report TR21/00, School of Computing, National University of Singapore, Mary. Fernandez, W. Tan, D. Suciu, “Efficient Evaluation of XML Middleware Queries”, ACM SIGMOD, pp , Mary. Fernandez, W. Tan, D. Suciu, “SilkRoute: Trading Between Relations and XML”, World Wide Web Conference, Philip. Bohannon, H. Korth, P. Narayan, S. Ganguly, and P. Shenoy. Optimizing view queries in ROLEX to support navigable tree results. VLDB, Alin. Deutsch and V. Tannen. MARS: A System for Publishing XML from Mixed and Redundant Storage. VLDB, 2003.