Title: XMLBased Information Mediation
1XML-Based Information Mediation
SDSC/DICE UCSD DB-Lab
- MIX -- Mediation of Information using XML
- Mediator Architecture
- Homebuyer Example
- CDL Prototype Architecture
- MIX components
2The MIX VisionThe 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
3Mediated XML Views
MIXm Mediator
XML View(s)
XML View(s)
XML View(s)
Wrapper
Wrapper
XML Data Source
Data Source
Computational Source
4The 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)
MIXm Mediator
Homes mediator
Data
Data
Neighborhood mediator
National test scores
Data
Schools mediator
Home info (real estate)
Community info (name, ZIP)
Crime info (ZIP, stats)
Nhood info (demographics)
Schools info (address, size)
School district info (scores,spending,ZIP)
www.realtor.com
www.sandag.cog.ca.us
www.sannet.gov
www.homeadvisor.msn.com
www.asd.com
5Home Buyer GUI
6Home Buyer GUI (Answers)
Generated XMAS Query
XML Answer Document
7California Digital Library (CDL) PrototypeThe
Art Museum Image Consortium (AMICO)
Q1 Find title, type, and image ID of
paintings
BBQ Interface
Q2 Find creator and related metadata of
paintings
tif file
XMAS query
XML doc
Request for image (X.509)
MIXm View based on AMICO DTD
SDLIP LSP
Wrapper
SRB/MCAT
AMICO XML Database
AMICO XML Database
AMICO/XML Demo
MARC Database
HPSS
8CDL AMICO Example
9MIX 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, )
10MIX 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
11MIX 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
12MIX 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
13URLs
- 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