Web Services Interfaces

Similar documents
The QURSED System. Yannis Papakonstantinou Computer Science and Eng. Dept. University of California, San Diego

Graphical Query Interfaces for Semistructured Data: The QURSED System

Query Set Specification Language (QSSL)

XML Query Forms (XQForms): Declarative Specification of XML Query Interfaces

Graphical Query Interfaces for Semistructured Data: The QURSED System

QURSED: QUerying and Reporting SEmistructured Data

XML Query Forms (XQForms): Declarative Specification of XML Query Interfaces

Michalis Petropoulos

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

XGI: A Graphical Interface for XQuery Creation and XML Schema Visualization. Xiang Li

Features and Requirements for an XML View Definition Language: Lessons from XML Information Mediation

XML: Extensible Markup Language

XML databases. Jan Chomicki. University at Buffalo. Jan Chomicki (University at Buffalo) XML databases 1 / 9

Informatics 1: Data & Analysis

Introduction p. 1 An XML Primer p. 5 History of XML p. 6 Benefits of XML p. 11 Components of XML p. 12 BNF Grammar p. 14 Prolog p. 15 Elements p.

Informatics 1: Data & Analysis

Data Integration Systems

H2 Spring B. We can abstract out the interactions and policy points from DoDAF operational views

XQBE (XQuery By Example): A Visual Interface to the Standard XML Query Language

Informatics 1: Data & Analysis

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

XML TUPLE ALGEBRA. Ioana Manolescu INRIA Futurs, Gemo group, France

516. XSLT. Prerequisites. Version 1.2

Distributed Multitiered Application

A survey of graphical query languages for XML data

CSE 132A. Database Systems Principles

D WSMO Data Grounding Component

A Framework for Generic Integration of XML Sources. Wolfgang May Institut für Informatik Universität Freiburg Germany

An update on XML types

XQuery Advanced Topics. Alin Deutsch

FOUNDATIONS OF DATABASES AND QUERY LANGUAGES

Towards Energy Efficient XPath Evaluation in Wireless Sensor Networks

XPath. by Klaus Lüthje Lauri Pitkänen

B. Assets are shared-by-copy by default; convert the library into *.jar and configure it as a shared library on the server runtime.

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance.

Oracle BI Publisher 10g R3: Fundamentals

XML and information exchange. XML extensible Markup Language XML

XSFORM: A SCHEMA-DRIVEN FORM-BASED XML INFORMATION PROCESSOR

One of the main selling points of a database engine is the ability to make declarative queries---like SQL---that specify what should be done while

Efficient Rewriting of XPath Queries Using Query Set Specifications

Semantic Integration of Tree-Structured Data Using Dimension Graphs

Data Presentation and Markup Languages

CSE-6490B Final Exam

Oracle SOA Suite 12c: Build Composite Applications

Flexible structural constraints in XQuery Full Text. Emanuele Panzeri University of Milano Bicocca

Constraint-based Information Integration

Source Modeling. Kristina Lerman University of Southern California. Based on slides by Mark Carman, Craig Knoblock and Jose Luis Ambite

CSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML

XML for Java Developers G Session 8 - Main Theme XML Information Rendering (Part II) Dr. Jean-Claude Franchitti

An ECA Engine for Deploying Heterogeneous Component Languages in the Semantic Web

A Framework for Processing Complex Document-centric XML with Overlapping Structures Ionut E. Iacob and Alex Dekhtyar

Conjunctive queries. Many computational problems are much easier for conjunctive queries than for general first-order queries.

Java EE 7: Back-End Server Application Development

SQL Server Integration Services

XSLT and Structural Recursion. Gestão e Tratamento de Informação DEI IST 2011/2012

Michalis Petropoulos Alin Deutsch Yannis Papakonstantinou Athens University of Economics and Business, May 2006

Oracle BI Publisher 11g R1: Fundamentals

ADT 2009 Other Approaches to XQuery Processing

Oracle SOA Suite 12c : Build Composite Applications

XML publishing. Querying and storing XML. From relations to XML Views. From relations to XML Views

Advances in Programming Languages

Foundation XML and E4X for Flash and Flex

- if you look too hard it isn't there

Next Generation Query and Transformation Standards. Priscilla Walmsley Managing Director, Datypic

Creating Data Driven Websites with Dreamweaver MX 2004: Using ColdFusion MX, ASP 3.0 or ASP.NET

This presentation is a primer on the BPEL Language. It s part of our series to help prepare you for creating BPEL projects. We recommend you review

Embarcadero DB Optimizer 1.0 Evaluation Guide. Published: July 14, 2008

Databases and Information Systems 1. Prof. Dr. Stefan Böttcher

Model Querying with Graphical Notation of QVT Relations

COPYRIGHTED MATERIAL. Contents. Part I: Introduction 1. Chapter 1: What Is XML? 3. Chapter 2: Well-Formed XML 23. Acknowledgments

Leveraging the Social Web for Situational Application Development and Business Mashups

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University

edocs Home > BEA AquaLogic Service Bus 3.0 Documentation > Accessing ALDSP Data Services Through ALSB

The Design of The Integration System for OTOP Products Data Using Web Services Technology, Thailand

Type Inference Systems. Type Judgments. Deriving a Type Judgment. Deriving a Judgment. Hypothetical Type Judgments CS412/CS413

COMP9321 Web Application Engineering

XML Query Reformulation for XPath, XSLT and XQuery

COMP9321 Web Application Engineering

Outline of this part (I) Part IV. Querying XML Documents. Querying XML Documents. Outline of this part (II)

Lazy Query Evaluation for Active XML

Oracle ADF: The technology behind project fusion. Lynn Munsinger Principal Product Manager Application Development Tools Oracle Corporation

Generating On the Fly Queries for the Semantic Web: The ICS-FORTH Graphical RQL Interface (GRQL) 1

Event Stores (I) [Source: DB-Engines.com, accessed on August 28, 2016]

Mapping between Digital Identity Ontologies through SISM

Oracle Education Partner, Oracle Testing Center Oracle Consultants

Lecture Telecooperation. D. Fensel Leopold-Franzens- Universität Innsbruck

SERVICE-ORIENTED COMPUTING

Expressive capabilities description languages and query rewriting algorithms q

Introduction to XML. An Example XML Document. The following is a very simple XML document.

Part XII. Mapping XML to Databases. Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321

Integrating with EPiServer

XML in Databases. Albrecht Schmidt. al. Albrecht Schmidt, Aalborg University 1

Oracle Reports Developer 10g: Build Reports

Teiid Designer User Guide 7.5.0

Parsing II Top-down parsing. Comp 412

XML REPOSITORY SEARCHER-BROWSER SUPPORTING FINE-GRAINED ACCESS CONTROL

Extreme Java G Session 3 - Sub-Topic 5 XML Information Rendering. Dr. Jean-Claude Franchitti

Tools to Develop New Linux Applications

BizTalk Server Introduction. Marius Rochon Technical Evangelist

XML-based Components for Federating Multiple Heterogeneous Data Sources

Transcription:

Web Services Interfaces Michalis Petropoulos Alin Deutsch Yannis Papakonstantinou Vasilis Vassalos Scott Mitchell UNIVERSITY OF CALIFORNIA, SAN DIEGO Microsoft Research, July 2003

Exporting DBMSs on the Web Web Service Mediator XML Web Service XML View Source XQuery End-User HTML Forms & Reports XML Web Service XML View Source DATABASE APPLICATIONS XML Schema DATABASE SERVER Exporting Query Capabilities on the Web Web Services (Function Signatures) Integrating Web Applications Use Web Services Export Query Capabilities Themselves HTML Web Interfaces (Forms & Reports)

Overview Query Set Specification Language (QSSL) Describes Parameterized Tree Pattern (TP) Queries Data Services Web Services for Query Capabilities Forms & Reports for Semistructured Data The QURSED system Authoring Interfaces

Motivation for QSSL Web Services published as function signatures: Fixed number of input and output parameters Do not capture the functionality of databases Large number of web services needed One function signature for every parameterized query Do not capture the semantic connections the available functions have with each other and with the underlying databases JDBC Interfaces All possible queries Difficult to export schema information

Query Set Specification Language Goals flights airline + name flight * from to day + leg + from to aircraft Any combination of the following conditions on: the name of the airline company the origin and destination of one or more flights (optional) a day of the week the origin of zero or more legs (optional) the destination of zero or more legs (optional) the aircraft used for zero or more legs (optional) The queries may return airline or flight elements

Query Set Specification Language Query Language Tree Pattern Queries: Acyclic XPath expressions consisting of: node tests child axis / descendant axis // predicates [] Widely used in current applications Building blocks of XQuery Excellent visual paradigm for GUIs flights airline name = Delta flight from = JFK to = LAX day = MON leg to = LAS flights/airline[name= Delta ]/flight[from= JFK ][to= LAX ][day= MON ][leg[to= LAS ]]

Query Set Specification Language Query Set Specification flights flights f 1 airline airline f 2 name=#1 name = Delta =#1 + f 3 flight flight f 4 from=#2 to =#3 from = JFK =#2 to = LAX =#3 f 5 day =#4 day = MON =#4 f 6 leg leg f 8 to =#6 to =#6 = LAS flight day =#7

Query Set Specification Language Query Set Specification flights airline + name flight from to day leg + from to * + aircraft f 1 flights airline flight f 1 flights name=#1 f 2 name=#1 f 2 f 3 flight f 3 + airline f 2 f 3 + from=#2 f 4 f 5 f 6 * f 4 to =#3 f 4 from=#2 to =#3 f 5 day =#4 f 5 day =#4 f 6 leg * f 6 leg f 7 from=#5 f 7 f 8 f 9 f 8 to =#6 f 7 from=#5 f 9 aircraft =#7 f 8 to =#6 aircraft =#7 Similar to extended context-free grammars f 9

Query Set Specification Language Recursive XML Schemas f 1 f 2 familytree person familytree person f 3 name=#1 name =#1 f 4 place=#2 place =#2 f 5 spouse spouse f 6 name=#3 f 7 place=#4 f 8 children children * person * f 2 person person spouse name =#5 place =#6

Query Set Specification Language Recursive XML Schemas f 1 familytree f 1 familytree f f person 2 2 f 2 person f 3 name=#1 place=#2 f 4 f 5 spouse name=#3 f 3 f 4 f 3 f 4 name=#1 place=#2 f 5 f 7 f 8 place=#4 children f 2 * f 6 f 7 f 6 f 5 spouse f 6 f 7 name=#3 place=#4 f 8 children f 8 f 2 * QSS of fixed size

Data Services View XML Schema Input Message Data Source Data Service WSDL Agent Output Message Data Service = WSDL + QSS A QSS deployed as a web service Exports the XML Schema of an XML view Connects the WSDL calls with the underlying database Receives queries that are encoded by QSS Explicit relationship between input and output

Data Services Input Message TPX View XML Schema Data Source Data Service WSDL Input Message Type QSSX Output Message Type XML Schema Agent Output Message XML QSS is translated to XML Schema (QSSX) TP queries that are encoded as XML (TPX) Query result is described by an XML Schema

Data Services Reasoning 1. Membership of a query in a data service 2. Subsumption of data services 3. Totality of a data service 4. Overlap of data services These problems (except 1) are undecidable for context-free grammars QSS can be translated to an equivalent topdown nondeterministic unranked tree automaton Problems become decidable

Future Work Capability-Based Rewriting User Query TPX Mediator Rewriting Processor Candidate Queries Plan Processor Containing Result Remainder Query Execution Engine Query Result XML Data Service Data Source Capability-based rewriting problem Partial rewritings

Data Services Authoring Interface

Query Forms and Reports Requirements Handle semistructureness Powerful query forms and reports Be declarative Separate logic from presentation Visual interface for the developer Programming should NOT be a requirement

Query Forms and Reports

Query Forms and Reports QURSED Approach HTML QURSED Editor XML Schema QSS Query Form Page QURSED Engine XQuery End-User XQuery Engine Report Pages XHTML XML Schema-driven Declarative! Separation of content & presentation Editor Visual actions to declarative specifications Automatic construction of report pages Query Set Specification (QSS) Large set of parameterized queries Compact representation Engine Automatic query formulation Direct result construction

Developing Query Forms from the XML Schema

Developing Reports from the XML Schema

QURSED Editor Building Query/Visual Association Condition Fragment List Data Path Form Control Predicate

QURSED Editor Building Reports Group By Mapping Element Mapping Elements to Appear on Report

More Features Structural disjunction Dependencies Sort-by options Template-driven construction of report pages Report customization Dynamic projection Online demo: http://www.db.ucsd.edu/qursed/

Related work Presentation Templates End-User Web Site Site Generator SITE GRAPH Web Site Content and Structure Data intensive Web site generators Strudel Forms as functions on edges/links Araneus Autoweb Semistructured Queries SCHEMA SEMISTRUCTURED DATA (Mediated) View Declarative Separation of content, structure and presentation

Related work Web-based Form and Report Generators Macromedia Ultradev, Coldfusion, Microsoft Visual InterDev Excellent for flat uniform relational tables Visual query formulation paradigm allows the specification of projections, sort-bys, simple conditions However, the development of form and report pages for semistructured data requires substantial programming effort Visual Querying Interfaces EquiX, BBQ, VQBD, Lorel s DataGuide-driven GUI, PESTO Excellent visual paradigm for the formulation of fairly complex queries The goal is the development of a query or a query template User needs to be familiar with database models and schemas

Questions and Answers

Query Set Specification Language Example Derivation f 1 flights flights airline airline flights airline f 2 f 3 + name=#1 flight f 4 f 5 f 6 * name=#1 flight from=#2 to =#3 day =#4 leg f 7 f 8 f 9 flights airline name=#1 flight from=#2 to =#3 day =#4 leg to =#6

Related Work Capability-Based Rewriting Capabilities described as binding patterns Adornments on view attributes Negative approach Expansions of Datalog programs Recursive programs Infinite queries Positive approach Capability-based rewriting problem Total rewritings only

QURSED System Architecture Web Designer WYSIWYG XHTML Editor (Optional) XHTML Template Report Page XHTML Query Form Page Developer QURSED Editor Query Set Specification Query Form Page QURSED Compiler Deployment Dynamic Server Pages Query Form Page End-User BROWSER Report Pages APP SERVER QURSED Run Time Engine (Optional) Custom Predicates XML Schema Query/Visual Association XQuery Expressions XQuery Engine XML/XHTML