Data on the Web: from Relations to Semistructured Data and XML

Total Page:16

File Type:pdf, Size:1020Kb

Data on the Web: from Relations to Semistructured Data and XML Data on the Web: From Relations to Semistructured Data and XML Serge Abiteboul Peter Buneman Dan Suciu February 19, 2014 1 Data on the Web: from Relations to Semistructured Data and XML Serge Abiteboul Peter Buneman Dan Suciu An initial draft of part of the book Not for distribution 2 Contents 1 Introduction 7 1.1 Audience . 8 1.2 Web Data and the Two Cultures . 9 1.3 Organization . 15 I Data Model 17 2 A Syntax for Data 19 2.1 Base types . 21 2.2 Representing Relational Databases . 21 2.3 Representing Object Databases . 22 2.4 Specification of syntax . 26 2.5 The Object Exchange Model, OEM . 26 2.6 Object databases . 27 2.7 Other representations . 30 2.7.1 ACeDB . 30 2.8 Terminology . 32 2.9 Bibliographic Remarks . 34 3 XML 37 3.1 Basic syntax . 39 3.1.1 XML Elements . 39 3.1.2 XML Attributes . 41 3.1.3 Well-Formed XML Documents . 42 3.2 XML and Semistructured Data . 42 3.2.1 XML Graph Model . 43 3.2.2 XML References . 44 3 4 CONTENTS 3.2.3 Order . 46 3.2.4 Mixing elements and text . 47 3.2.5 Other XML Constructs . 47 3.3 Document Type Declarations . 48 3.3.1 A Simple DTD . 49 3.3.2 DTD's as Grammars . 49 3.3.3 DTD's as Schemas . 50 3.3.4 Declaring Attributes in DTDs . 52 3.3.5 Valid XML Documents . 54 3.3.6 Limitations of DTD's as schemas . 55 3.4 Document Navigation . 56 3.5 DCD . 57 3.6 Paraphernalia . 58 3.7 Bibliographic Remarks . 61 II Queries 63 4 Query Languages 65 4.1 Path expressions . 67 4.2 A core language . 70 4.2.1 The basic syntax . 71 4.3 More on Lorel . 74 4.4 UnQL . 77 4.5 Label and path variables . 79 4.6 Mixing with structured data . 81 4.7 Bibliographic Remarks . 84 5 Query Languages for XML 87 5.1 XML-QL . 87 5.2 XSL . 98 5.3 Bibliographic Remarks . 102 6 Interpretation and advanced features 105 6.1 First-order interpretation . 106 6.2 Object creation . 110 6.3 Graphical languages . 114 6.4 Structural Recursion . 115 6.4.1 Structural recursion on trees . 115 CONTENTS 5 6.4.2 XSL and Structural Recursion . 118 6.4.3 Bisimulation in Semistructured Data . 120 6.4.4 Structural recursion on cyclic data . 124 6.5 StruQL . 127 III Types 131 7 Typing semistructured data 133 7.1 What is typing good for? . 135 7.1.1 Browsing and querying data . 135 7.1.2 Optimizing query evaluation . 135 7.1.3 Improving storage . 138 7.2 Analyzing the problem . 138 7.3 Schema Formalisms . 140 7.3.1 Logic . 140 7.3.2 Datalog . 142 7.3.3 Simulation . 145 7.3.4 Comparison between datalog rules and simulation . 152 7.4 Extracting Schemas From Data . 154 7.4.1 Data Guides . 154 7.4.2 Extracting datalog rules from data . 160 7.5 Inferring Schemas from Queries . 164 7.6 Sharing, Multiplicity, and Order . 165 7.6.1 Sharing . 165 7.6.2 Attribute Multiplicity . 168 7.6.3 Order . 169 7.7 Path constraints . 170 7.7.1 Path constraints in semistructured data . 172 7.7.2 The constraint inference problem . 175 7.8 Bibliographic Remarks . 176 IV Systems 179 8 Query Processing 181 8.1 Architecture . 181 8.2 Semistructured Data Servers . 184 8.2.1 Storage . 186 6 CONTENTS 8.2.2 Indexing . 194 8.2.3 Distributed Evaluation . 203 8.3 Mediators for Semistructured Data . 211 8.3.1 A Simple Mediator: Converting Relational Data to XML211 8.3.2 Mediators for Data Integration . 213 8.4 Incremental Maintenance of Semistructured Data . 220 8.5 Bibliographic Remarks . 222 9 The Lore system 225 9.1 Architecture . 226 9.2 Query processing and indexes . 227 9.3 Other aspects of Lore . 230 10 Strudel 235 10.0.1 An Example . 236 10.0.2 Advantages of Declarative Web Site Design . 245 11 Database products supporting XML 249 Bibliography 254 Index 254 Chapter 1 Introduction Until a few years ago the publication of electronic data was limited to a few scientific and technical areas. It is now becoming universal. Most people see such data as Web documents, but these documents rather than being man- ually composed are increasingly generated automatically from databases. The documents therefore have some regularity or some underlying structure that may or may not be understood by the user. It is possible to pub- lish enormous volumes of data in this way, and we are now starting to see the development of software that extracts structured data from Web pages that were generated to be readable by humans. From a document perspec- tive, issues such as efficient retrieval, version control, change management and sophisticated methods of querying documents, which were formerly the province of database technology, are now important. From a database per- spective, the Web has generated an enormous demand for recently developed database architectures such as data warehouses and mediation systems for database integration, and it has led to the development of semistructured data models with languages adapted to this model. The emergence of XML as a standard for data representation on the Web is expected greatly to facilitate the publication of electronic data by provid- ing a simple syntax for data that is both human- and machine-readable. While XML is itself relatively simple, it is surrounded by a confusing num- ber of XML-enabled systems by various software vendors and and an al- phabet soup of proposals (RDF, XML-Data, XML-Schema, SOX, etc.) for XML-related standards. Although the document and database viewpoints were, until quite re- cently, irreconcilable, there is now a convergence in technologies brought 7 8 CHAPTER 1. INTRODUCTION about by the development of XML for data on the Web and the closely re- lated development of semistructured data in the database community. This book is primarily about this convergence. Its main goal is to present founda- tions for the management of data found on the Web. New shifts of paradigms are needed from an architecture and a data model viewpoint. These form the core of the book. A constant theme is bridging the gap between logi- cal representation of data and data modeling on one hand and syntax and functionalities of document systems on the other. We hope this book will help clarify these concepts and make it easier to understand the variety of powerful tools that are being developed for Web data. 1.1 Audience The book aims at laying the foundations for future Web-based data-intensive applications. As such it has several potential audiences. The prime audience consists of people developing tools or doing research related to the management of data on the Web. Most of the topics presented in the book are today the focus of active research. The book can serve as an entry point to this rapidly evolving domain. For readers with a data management background, it will serve as an introduction to Web data and notably to XML. For people coming from Web publishing, this book aims to explain why modern database technology is needed for the integrated storage and retrieval of Web data. It will present a perhaps unexpected view of the future use of XML, as a data exchange format, as opposed to a standardized document markup language. A second audience consists of students and teachers interested in semistruc- tured data and in the management of data on the Web. The book contains an extensive survey of the literature, and can thus serve as basis for an advanced seminar. A third audience consists of information systems managers in charge of publishing data in Web sites. This book is intended to take them away from their day to day struggle with new tools and changes of standards. It is hoped that it may help them understand the main technical solutions as well as bottlenecks and give them a feeling of longer term goals in the representation of data. This book may help them achieve a better vision of the new breed of information systems that will soon pervade the Web. 1.2. WEB DATA AND THE TWO CULTURES 9 1.2 Web Data and the Two Cultures Today's Web The Web provides a simple and universal standard for the exchange of information. The central principle is to decompose information into units that can be named and transmitted. Today, the unit of infor- mation is typically a file that is created by one Web user and shared with others by making available its name in the form of a URL (Uniform Re- source Locator). Other users and systems keep the URL in order to retrieve the file when required. Information, however, has structure. The success of the Web is derived from the development of HTML (Hypertext Markup Language), a means of structuring text for visual presentation. HTML de- scribes both an intra-document structure (the layout and format of the text), and an inter-document structure (references to other documents through hy- perlinks). The introduction of HTTP as a standard and use of HTML for composing documents is at the root of the universal acceptance of the Web as the medium of information exchange. The Database Culture There is another long-standing view of the struc- ture of information that is almost orthogonal to that of textual structure. This is the view developed for data management systems.
Recommended publications
  • Understanding the Hidden Web
    Introduction General Framework Different Modules Conclusion Understanding the Hidden Web Pierre Senellart Athens University of Economics & Business, 28 July 2008 Introduction General Framework Different Modules Conclusion Simple problem Contact all co-authors of Serge Abiteboul. It’s easy! You just need to: Find all co-authors. For each of them, find their current email address. Introduction General Framework Different Modules Conclusion Advanced Scholar Search Advanced Search Tips | About Google Scholar Find articles with all of the words with the exact phrase with at least one of the words without the words where my words occur Author Return articles written by e.g., "PJ Hayes" or McCarthy Publication Return articles published in e.g., J Biol Chem or Nature Date Return articles published between — e.g., 1996 Subject Areas Return articles in all subject areas. Return only articles in the following subject areas: Biology, Life Sciences, and Environmental Science Business, Administration, Finance, and Economics Chemistry and Materials Science Engineering, Computer Science, and Mathematics Medicine, Pharmacology, and Veterinary Science Physics, Astronomy, and Planetary Science Social Sciences, Arts, and Humanities ©2007 Google Introduction General Framework Different Modules Conclusion Advanced Scholar Search Advanced Search Tips | About Google Scholar Find articles with all of the words with the exact phrase with at least one of the words without the words where my words occur Author Return articles written by e.g., "PJ Hayes" or McCarthy Publication
    [Show full text]
  • The Best Nurturers in Computer Science Research
    The Best Nurturers in Computer Science Research Bharath Kumar M. Y. N. Srikant IISc-CSA-TR-2004-10 http://archive.csa.iisc.ernet.in/TR/2004/10/ Computer Science and Automation Indian Institute of Science, India October 2004 The Best Nurturers in Computer Science Research Bharath Kumar M.∗ Y. N. Srikant† Abstract The paper presents a heuristic for mining nurturers in temporally organized collaboration networks: people who facilitate the growth and success of the young ones. Specifically, this heuristic is applied to the computer science bibliographic data to find the best nurturers in computer science research. The measure of success is parameterized, and the paper demonstrates experiments and results with publication count and citations as success metrics. Rather than just the nurturer’s success, the heuristic captures the influence he has had in the indepen- dent success of the relatively young in the network. These results can hence be a useful resource to graduate students and post-doctoral can- didates. The heuristic is extended to accurately yield ranked nurturers inside a particular time period. Interestingly, there is a recognizable deviation between the rankings of the most successful researchers and the best nurturers, which although is obvious from a social perspective has not been statistically demonstrated. Keywords: Social Network Analysis, Bibliometrics, Temporal Data Mining. 1 Introduction Consider a student Arjun, who has finished his under-graduate degree in Computer Science, and is seeking a PhD degree followed by a successful career in Computer Science research. How does he choose his research advisor? He has the following options with him: 1. Look up the rankings of various universities [1], and apply to any “rea- sonably good” professor in any of the top universities.
    [Show full text]
  • Essays Dedicated to Peter Buneman ; [Colloquim in Celebration
    Val Tannen Limsoon Wong Leonid Libkin Wenfei Fan Wang-Chiew Tan Michael Fourman (Eds.) In Search of Elegance in the Theory and Practice of Computation Essays Dedicated to Peter Buneman 4^1 Springer Table of Contents Models for Data-Centric Workflows 1 Serge Abiteboul and Victor Vianu Relational Databases and Bell's Theorem 13 Samson Abramsky High-Level Rules for Integration and Analysis of Data: New Challenges 36 Bogdan Alexe, Douglas Burdick, Mauricio A. Hernandez, Georgia Koutrika, Rajasekar Krishnamurthy, Lucian Popa, Ioana R. Stanoi, and Ryan Wisnesky A New Framework for Designing Schema Mappings 56 Bogdan Alexe and Wang-Chiew Tan User Trust and Judgments in a Curated Database with Explicit Provenance 89 David W. Archer, Lois M.L. Delcambre, and David Maier An Abstract, Reusable, and Extensible Programming Language Design Architecture 112 Hassan Ait-Kaci A Discussion on Pricing Relational Data 167 Magdalena Balazinska, Bill Howe, Paraschos Koutris, Dan Suciu, and Prasang Upadhyaya Tractable Reasoning in Description Logics with Functionality Constraints 174 Andrea Call, Georg Gottlob, and Andreas Pieris Toward a Theory of Self-explaining Computation 193 James Cheney, Umut A. Acar, and Roly Perera To Show or Not to Show in Workflow Provenance 217 Susan B. Davidson, Sanjeev Khanna, and Tova Milo Provenance-Directed Chase&Backchase 227 Alin Deutsch and Richard Hull Data Quality Problems beyond Consistency and Deduplication 237 Wenfei Fan, Floris Geerts, Shuai Ma, Nan Tang, and Wenyuan Yu X Table of Contents 250 Hitting Buneman Circles Michael Paul Fourman 259 Looking at the World Thru Colored Glasses Floris Geerts, Anastasios Kementsietsidis, and Heiko Muller Static Analysis and Query Answering for Incomplete Data Trees with Constraints 273 Amelie Gheerbrant, Leonid Libkin, and Juan Reutter Using SQL for Efficient Generation and Querying of Provenance Information 291 Boris Glavic, Renee J.
    [Show full text]
  • INF2032 2017-2 Tpicos Em Bancos De Dados III ”Foundations of Databases”
    INF2032 2017-2 Tpicos em Bancos de Dados III "Foundations of Databases" Profs. Srgio Lifschitz and Edward Hermann Haeusler August-December 2017 1 Motivation The motivation of this course is to put together theory and practice of database and knowledge base systems. The main content includes a formal approach for the underlying existing technology from the point of view of logical expres- siveness and computational complexity. New and recent database models and systems are discussed from theory to practical issues. 2 Goal of the course The main goal is to introduce the student to the logical and computational foundations of database systems. 3 Sylabus The course in divided in two parts: Classical part: relational database model 1. Revision and formalization of relational databases. Limits of the relational data model; 2. Relational query languages; DataLog and recursion; 3. Logic: Propositional, First-Order, Higher-Order, Second-Order, Fixed points logics; 4. Computational complexity and expressiveness of database query lan- guages; New approaches for database logical models 1. XML-based models, Monadic Second-Order Logic, XPath and XQuery; 2. RDF-based knowledge bases; 3. Decidable Fragments of First-Order logic, Description Logic, OWL dialects; 4. NoSQL and NewSQL databases; 4 Evaluation The evaluation will be based on homework assignments (70 %) and a research manuscript + seminar (30%). 5 Supporting material Lecture notes, slides and articles. Referenced books are freely available online. More details at a wiki-based web page (available from August 7th on) References [ABS00] Serge Abiteboul, Peter Buneman, and Dan Suciu. Data on the Web: From Relations to Semistructured Data and XML.
    [Show full text]
  • Author Template for Journal Articles
    Mining citation information from CiteSeer data Dalibor Fiala University of West Bohemia, Univerzitní 8, 30614 Plzeň, Czech Republic Phone: 00420 377 63 24 29, fax: 00420 377 63 24 01, email: [email protected] Abstract: The CiteSeer digital library is a useful source of bibliographic information. It allows for retrieving citations, co-authorships, addresses, and affiliations of authors and publications. In spite of this, it has been relatively rarely used for automated citation analyses. This article describes our findings after extensively mining from the CiteSeer data. We explored citations between authors and determined rankings of influential scientists using various evaluation methods including cita- tion and in-degree counts, HITS, PageRank, and its variations based on both the citation and colla- boration graphs. We compare the resulting rankings with lists of computer science award winners and find out that award recipients are almost always ranked high. We conclude that CiteSeer is a valuable, yet not fully appreciated, repository of citation data and is appropriate for testing novel bibliometric methods. Keywords: CiteSeer, citation analysis, rankings, evaluation. Introduction Data from CiteSeer have been surprisingly little explored in the scientometric lite- rature. One of the reasons for this may have been fears that the data gathered in an automated way from the Web are inaccurate – incomplete, erroneous, ambiguous, redundant, or simply wrong. Also, the uncontrolled and decentralized nature of the Web is said to simplify manipulating and biasing Web-based publication and citation metrics. However, there have been a few attempts at processing the Cite- Seer data which we will briefly mention. Zhou et al.
    [Show full text]
  • O. Peter Buneman Curriculum Vitæ – Jan 2008
    O. Peter Buneman Curriculum Vitæ { Jan 2008 Work Address: LFCS, School of Informatics University of Edinburgh Crichton Street Edinburgh EH8 9LE Scotland Tel: +44 131 650 5133 Fax: +44 667 7209 Email: [email protected] or [email protected] Home Address: 14 Gayfield Square Edinburgh EH1 3NX Tel: 0131 557 0965 Academic record 2004-present Research Director, Digital Curation Centre 2002-present Adjunct Professor of Computer Science, Department of Computer and Information Science, University of Pennsylvania. 2002-present Professor of Database Systems, Laboratory for the Foundations of Computer Science, School of Informatics, University of Edinburgh 1990-2001 Professor of Computer Science, Department of Computer and Information Science, University of Pennsylvania. 1981-1989 Associate Professor of Computer Science, Department of Computer and Information Science, University of Pennsylvania. 1981-1987 Graduate Chairman, Department of Computer and Information Science, University of Pennsyl- vania 1975-1981 Assistant Professor of Computer Science at the Moore School and Assistant Professor of Decision Sciences at the Wharton School, University of Pennsylvania. 1969-1974 Research Associate and subsequently Lecturer in the School of Artificial Intelligence, Edinburgh University. Education 1970 PhD in Mathematics, University of Warwick (Supervisor E.C. Zeeman) 1966 MA in Mathematics, Cambridge. 1963-1966 Major Scholar in Mathematics at Gonville and Caius College, Cambridge. Awards, Visting positions Distinguished Visitor, University of Auckland, 2006 Trustee, VLDB Endowment, 2004 Fellow of the Royal Society of Edinburgh, 2004 Royal Society Wolfson Merit Award, 2002 ACM Fellow, 1999. 1 Visiting Resarcher, INRIA, Jan 1999 Visiting Research Fellowship sponsored by the Japan Society for the Promotion of Science, Research Institute for the Mathematical Sciences, Kyoto University, Spring 1997.
    [Show full text]
  • SIGMOD Record’S Series of Interviews with Distinguished Members of the Database Community
    Serge Abiteboul Speaks Out on Building a Research Group in Europe, How He Got Involved in a Startup, Why Systems Papers Shouldn’t Have to Include Measurements, the Value of Object Databases, and More by Marianne Winslett http://www-rocq.inria.fr/~abitebou/ Welcome to this installment of ACM SIGMOD Record’s series of interviews with distinguished members of the database community. I’m Marianne Winslett, and today we are at the SIGMOD 2006 conference in Chicago, Illinois. I have here with me Serge Abiteboul, who is a senior researcher at INRIA and the manager of the Gemo Database Group. Serge’s research interests are in databases, web data, and database theory. He received the SIGMOD Innovation Award in 1998, and he is a cofounder of Xyleme, a company that provides XML-based content management. His PhD is from the University of Southern California. So, Serge, welcome! Serge, you have built what may be the most successful database group in Europe. How did you do it? And are the challenges for building a group different in Europe than they would be in the US? Many people deserve credit for the group’s success. It is a continuation of a research group named Verso that was sponsored by Francois Bancilhon and Michel Scholl; so when I arrived, the group was already existing. My contribution was to bring in some new fresh very good scientists --- Luc Segoufin, Ioana Manolescu, Sophie Cluet. More recently, we moved to a new research unit of INRIA. The idea was to get closer to the university, so now we are at the University of Orsay; we merged with the knowledge representation group that was managed by Christina Rousset.
    [Show full text]
  • Example-Guided Synthesis of Relational Queries
    Example-Guided Synthesis of Relational Queries Aalok Thakkar Aaditya Naik Nathaniel Sands University of Pennsylvania University of Pennsylvania University of Southern California Philadelphia, USA Philadelphia, USA Los Angeles, USA [email protected] [email protected] [email protected] Rajeev Alur Mayur Naik Mukund Raghothaman University of Pennsylvania University of Pennsylvania University of Southern California Philadelphia, USA Philadelphia, USA Los Angeles, USA [email protected] [email protected] [email protected] Abstract 1 Introduction Program synthesis tasks are commonly specified via input- Program synthesis aims to automatically synthesize a pro- output examples. Existing enumerative techniques for such gram that meets user intent. While the user intent is classi- tasks are primarily guided by program syntax and only make cally described as a correctness specification, synthesizing indirect use of the examples. We identify a class of synthesis programs from input-output examples has gained much trac- algorithms for programming-by-examples, which we call tion, as evidenced by the many applications of programming- Example-Guided Synthesis (EGS), that exploits latent struc- by-example and programming-by-demonstration, such as ture in the provided examples while generating candidate spreadsheet programming [25], relational query synthesis [51, programs. We present an instance of EGS for the synthesis 57], and data wrangling [19, 33]. Nevertheless, their scalabil- of relational queries and evaluate it on 86 tasks from three ity remains an important challenge, and often hinders their application domains: knowledge discovery, program analy- application in the field [5]. sis, and database querying. Our evaluation shows that EGS Existing synthesis tools predominantly adapt a syntax- outperforms state-of-the-art synthesizers based on enumer- guided approach to search through the space of candidate ative search, constraint solving, and hybrid techniques in programs.
    [Show full text]
  • Paris C. Kanellakis
    In Memoriam Paris C Kanellakis Our colleague and dear friend Paris C Kanellakis died unexp ectedly and tragically on De cemb er together with his wife MariaTeresa Otoya and their b eloved young children Alexandra and Stephanos En route to Cali Colombia for an annual holiday reunion with his wifes family their airplane strayed o course without warning during the night minutes b efore an exp ected landing and crashed in the Andes As researchers we mourn the passing of a creative and thoughtful colleague who was resp ected for his manycontributions b oth technical and professional to the computer science research community As individuals wegrieveover our tragic lossof a friend who was regarded with great aection and of a happy thriving family whose warmth and hospitalitywere gifts appreciated by friends around the world Their deaths create for us a void that cannot b e lled Paris left unnished several pro jects including a pap er on database theory intended for this sp ecial issue of Computing Surveys to b e written during his holiday visit to Colombia Instead we wish to oer here a brief biographyofParis and a description of the research topics that interested Paris over the last few years together with the contributions that he made to these areas It is not our intention to outline denitive surveys or histories of these areas but rather to honor the signicantcontemp orary research of our friend Paris was b orn in Greece in to Eleftherios and Argyroula Kanellakis In he received the Diploma in Electrical Engineering from the National
    [Show full text]
  • Efficient Maintenance Techniques for Views Over Active Documents
    Efficient Maintenance Techniques for Views over Active Documents∗ Serge Abiteboul#, Pierre Bourhis#∗, Bogdan Marinoiu# #INRIA Saclay { Ile-de-France^ and University Paris Sud ∗ENS Cachan [email protected] ABSTRACT The core of the model is a complex stream processor that Many Web applications are based on dynamic interactions we call axlog widget. The term axlog results from the mar- between Web components exchanging flows of information. riage between Active XML (AXML for short) [5] and dat- Such a situation arises for instance in mashup systems or alog [7]. An axlog widget consists of an active document when monitoring distributed autonomous systems. Our work interacting with the rest of the system via streams of up- is in this challenging context that has generated recently a dates. See Figure 1. The input streams specify updates to lot of attention; see Web 2.0. We introduce the axlog for- the document (in the spirit of RSS feeds). In most of the mal model for capturing such interactions and show how paper, the focus is on input streams where the updates are this model can be supported efficiently. The central compo- only insertions, although we do consider briefly streams with nent is the axlog widget defined by one tree-pattern query deletions. An output stream is defined by a query on the or more, over an active document (in the Active XML style) document. More precisely, it represents the list of update that includes some input streams of updates. A widget gen- requests to maintain the view for the query. The queries we erates a stream of updates for each query, the updates that consider here are tree-pattern queries with value joins (and are needed to maintain the view corresponding to the query.
    [Show full text]
  • A Formal Study of Collaborative Access Control in Distributed Datalog
    A Formal Study of Collaborative Access Control in Distributed Datalog Serge Abiteboul1, Pierre Bourhis2, and Victor Vianu3 1 INRIA Saclay, Palaiseau, France; and ENS Cachan, Cachan, France [email protected] 2 CNRS, France; and Centre de Recherche en Informatique, Signal et Automatique (CRIStAL) – UMR 9189, Lille, France [email protected] 3 University of California San Diego, La Jolla, USA; and INRIA Saclay, Palaiseau, France [email protected] Abstract We formalize and study a declaratively specified collaborative access control mechanism for data dissemination in a distributed environment. Data dissemination is specified using distributed datalog. Access control is also defined by datalog-style rules, at the relation level for extensional relations, and at the tuple level for intensional ones, based on the derivation of tuples. The model also includes a mechanism for “declassifying” data, that allows circumventing overly restrictive access control. We consider the complexity of determining whether a peer is allowed to access a given fact, and address the problem of achieving the goal of disseminating certain information under some access control policy. We also investigate the problem of information leakage, which occurs when a peer is able to infer facts to which the peer is not allowed access by the policy. Finally, we consider access control extended to facts equipped with provenance information, motivated by the many applications where such information is required. We provide semantics for access control with provenance, and establish the complexity of determining whether a peer may access a given fact together with its provenance. This work is motivated by the access control of the Webdamlog system, whose core features it formalizes.
    [Show full text]
  • An Extensional Operational and Axiomatic Semantics for Type•Inference with Recursion and Algebraic Data Types
    An extensional operational and axiomatic semantics for type•inference with recursion and algebraic data types. Roberto Di Cosmo LIENS (CNRS) • DMI Ecole Normale Superieure´ 45, Rue d’Ulm 75005 Paris • France E•mail: [email protected] Abstract In this paper, we provide an operational semantics of core•ML with recursion and algebraic data types which agrees precisely with the usual axiomatic semantics in the presence of extensionality axioms. This result has been missed for a long time due to the traditional use of contractive reduction rules for familiar extensional equalities like η and Surjective Pairing: these rules do not interact nicely with the implicit polimorphic typing discipline that is the base of many strongly typed functional programming languages, as even such a fundamental property as Subject Reduction does not hold in their presence. We use here the more satisfactory approach to extensionality that uses expansion rules, and then we can give a simple translation of (extensional) Core•ML into (extensional) System F that preserves types and allows a proper simulation of the reductions of Core•ML. This provides an operational notion of reduction for Core•ML that takes into account the extensional equalities on the arrow and the product types. But this is not all: we also show how we can add, using some simple but powerful lemmas from the theory of rewriting, algebraic data types and recursion preserving confluence (hence determinacy) of the system under very liberal conditions. To the author’s best knowledge, this is the first satisfactory treatment of a polymorphic type inference systems in the presence of extensionality.
    [Show full text]