130 likes | 242 Views
XML-Based Information Mediation. MIX -- M ediation of I nformation using X ML Mediator Architecture Homebuyer Example CDL Prototype Architecture MIX components. SDSC/DICE & UCSD DB-Lab. The MIX Vision: The Web emerges as a distributed database with XML as its data model.
E N D
XML-Based Information Mediation • MIX -- Mediation of Information using XML • Mediator Architecture • Homebuyer Example • CDL Prototype Architecture • MIX components SDSC/DICE & UCSD DB-Lab
The MIX Vision:The Web emerges as a distributed database with XML as its data model XML query language XML documents XML View(s) XML View(s) XML View(s) Wrappers also export: 1. Schemas & Metadata (XML-Data, RDF,...) 2. Description of supported queries... Wrapper Wrapper Native XML Database Legacy Source Legacy Source
Blended Browsing and Querying (BBQ) interface Lazy evaluation of XMAS queries using DOM-VXD Definition of mediated view in XML Matching And Structuring (XMAS) query language Mediated XML Views MIXm Mediator XML View(s) XML View(s) XML View(s) Wrapper Wrapper XML Data Source Data Source Computational Source
The Home Buyer Scenario • Find homes • in the Del Mar region, • with at least 2 beds, 2 baths, and a pool, and • an elementary school in the neighborhood Web Client XMAS Query Results (XML) • XMAS query MIXm Mediator • Query GUI “Homes” mediator Data Data “Neighborhood” mediator National test scores Data “Schools” mediator Home info (real estate) Community info (name, ZIP) Crime info (ZIP, stats) N’hood info (demographics) Schools info (address, size) School district info (scores,spending,ZIP) www.sandag.cog.ca.us www.sannet.gov www.realtor.com www.asd.com www.homeadvisor.msn.com
Home Buyer GUI (Answers) Generated XMAS Query XML Answer Document
California Digital Library (CDL) PrototypeThe Art Museum Image Consortium (AMICO) Q1: Find title, type, and image ID of paintings BBQ Interface tif file Q2: Find creator and related metadata of paintings XMAS query XML doc Request for image (X.509) SDLIP LSP MIXm View based on AMICO DTD Wrapper SRB/MCAT AMICO XML Database AMICO XML Database AMICO/XML Demo MARC Database HPSS
BBQ query composition XSL rendered output XML answer document CDL AMICO Example
MIX Components - Wrappers • Wrapper toolkit • model resource information using XML DTD / XML Schema, including a mapping: source data DTD • provide mapping: XMAS source QL / operations • Wrappers for: • Relational schemas (XViews): XMAS SQL • GIS (ArcView, MapObjects) • HTML Wrappers • Interactive Web sites (Forms, Image Maps, …)
MIX Components - Mediator, XMAS • Mediator toolkit • allows definition of views across multiple sources • query engine to execute queries on views • views are expressed in a declarative XML query language XMAS ... • XML Matching And Structuring QL • set of XML sources => new integrated XML document • evaluation: XMAS algebra (plus DOM-VXD) • Extensions • Mediation of spatial sources • Support for “external” functions
MIX Components - BBQ • Blended Browsing and Querying (BBQ) interface • DTD based query composition: • generates XMAS queries against mediator or source views • Browsing (navigation) and querying of XML documents: • generates XMAS queries modified by DOM-VXD operations to incrementally evaluate the result set, to support navigation of XML documents
Lazy Mediator DOM-VXD nodes/ labels Buffer LXP: fill(*) Wrapper Source MIX Components - DOM-VXD, LXP • DOM extension for Virtual XML Documents (DOM-VXD) • “lazy, demand-driven” implementation of DOM. Supports browsing/navigation of XML documents with a server-side, “compute as you go” model • Lean XML Protocol (LXP) • Minimal protocol for exchanging partially explored XML objects • Related to W3C XML Fragment Interchange • Stanford SDLIP: Simple Digital Library Interoperability Protocol open XML trees
URLs MIX: • http://www.npaci.edu/DICE/MIX • http://www.db.ucsd.edu/Projects/MIX AMICO: http://www.npaci.edu/DICE/AMICO SRB: http://www.npaci.edu/DICE/SRB HPSS: http://www.sdsc.edu/hpss DICE: http://www.npaci.edu/DICE UCSD DB-LAB: http://www.db.ucsd.edu