IVOA Interop, Cambridge UK, 20071 IVOA Data Access Layer Table Access Protocol Analysis Doug Tody (NRAO/NVO ) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE.

Slides:



Advertisements
Similar presentations
Objectives Create an action query to create a table
Advertisements

Recommendations for a Table Access Protocol Ray Plante, Tamas Budavari, Gretchen Greene, John Goode, Tom McGlynn, Maria Nieto-Santistaban, Alex Szalay,
IVOA Registry WG, IVOA Registry WG Pune, 28 Sept 2004.
/13SNAP data model Simulation data model.
TAP Meeting, JHU Nov IVOA Data Access Layer Table Access Protocol Doug Tody (NRAO/NVO ) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE US National.
T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE May 14, 2013 Registry Coverage * Status and Necessity Gretchen Greene 1Apps IV/ Registry I Session -
IVOA, Pune India September Data Access Layer Working Group Pune Workshop Summary Doug Tody National Radio Astronomy Observatory International.
28 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE TAP/VOTable Registry Interface Reg 1 – G.
May. 2004IVOA Meeting / Boston1 OpenSkyQuery,SkyNodes and ADQL William OMullane Johns Hopkins University T HE US N ATIONAL V IRTUAL O BSERVATORY.
May 18, 2007TIG, closing plenary Conclusions from theory IG sessions, Beijing 2007.
SSA Query Interface M. Dolensky, ESO Data Access Layer Working Group Interoperability Workshop, Pune, India 27-Sep-2004.
19 May 2008 IVOA Interoperability Meeting -- Trieste T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE Registry Extension Schemas VODataService VOStandard.
23 May 2008 IVOA Interoperability Meeting -- Trieste T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE Resource Registries Closing Plenary Integration.
27 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE Resource Registries Opening Plenary Registry.
IVOA, Kyoto May Data Access Layer Working Group Working Group Report and Summary Doug Tody National Radio Astronomy Observatory International.
SimDB as a TAP service various TIG members (IVOA.IVOATheorySimDB)IVOA.IVOATheorySimDB.
NVO Summer School VO Protocols and Jargon Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
September 13, 2004NVO Summer School1 VO Protocols Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
September 13, 2004NVO Summer School1 VO Protocols Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
6 September 2008NVO Summer School 2008 – Santa Fe1 DAL Clients: Scripting Data Access with Python Ray Plante T HE US N ATIONAL V IRTUAL O BSERVATORY.
2008 NVO Summer School1 Finding Services in the NVO Registry Gretchen Greene T HE US N ATIONAL V IRTUAL O BSERVATORY.
9 September 2005NVO Summer School Aspen Astronomical Dataset Query Language (ADQL) Ray Plante T HE US N ATIONAL V IRTUAL O BSERVATORY.
NVO Summer School, Santa Fe Sept Access to Spectroscopic Data In the VO Doug Tody (NRAO/US-NVO ) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE.
Footprint Service Specification NVO Summer School 2008 Gretchen Greene (thanks to Tamas Budavari and Francois Bonnarel) T HE US N ATIONAL V IRTUAL O BSERVATORY.
2008 NVO Summer School1 Data Access Layer Services Doug Tody (NRAO) T HE US N ATIONAL V IRTUAL O BSERVATORY.
Sept NVO Summer School1 Cone, SIAP, and OpenSkyQuery Client Development Gretchen Greene, Maria Nieto-Santisteban T HE US N ATIONAL V IRTUAL O.
NVO Summer School, Aspen Sept Data Access Layer Working Group Image and Spectral Access Doug Tody National Radio Astronomy Observatory National.
8 September 2008NVO Summer School 2008 – Santa Fe1 Publishing Data and Services to the VO Ray Plante Gretchen Greene T HE US N ATIONAL V IRTUAL O BSERVATORY.
Aus-VO Workshop 2003 International Virtual Observatory Alliance effort on Virtual Observatory Query Language Naoki Yasuda (JVO), VOQL WG.
Metadata in the TAP context (1) The Problem: learn about which tables, tablesets,... are available from a TAP server for each of the tables / tablesets,
CASDA Virtual Observatory CSIRO ASTRONOMY AND SPACE SCIENCE Arkadi Kosmynin 11 March 2014.
14 October 2003ADASS 2003 – Strasbourg1 Resource Registries for the Virtual Observatory R.Plante (NCSA), G. Greene (STScI), R. Hanisch (STScI), T. McGlynn.
Lessons learnt with Aladin and characterization experience for SIA2.0 F.Bonnarel, CDS (credit to Aladin developpers, CADC,ECF,ESAC, ESO VO people, DAL.
Requirements for DSML 2.0. Summary RFC 2251 fidelity Represent existing directory protocols with new transport syntax Backwards compatibility with DSML.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE VAO Registry Relational Schema: Updates and New Interface(s) Theresa Dower Registry WG 16 May 2013 IVOA.
European Space Astronomy Centre (ESAC) Villafranca del Castillo, MADRID (SPAIN) Aurélien Stébé Homogeneous Access to Tabular Data Beijing, China - May.
Astronomical Data Query Language Simple Query Protocol for the Virtual Observatory Naoki Yasuda 1, William O'Mullane 2, Tamas Budavari 2, Vivek Haridas.
DateADASS How to Navigate VO Datasets Using VO Protocols Ray Plante (NCSA/UIUC), Thomas McGlynn and Eric Winter NASA/GSFC T HE US N ATIONAL V IRTUAL.
IVOA Interop, Victoria Canada, May IVOA Data Access Layer Closing Plenary Summary, Victoria May 2006 Doug Tody (NRAO/NVO/IVOA) I NTERNATIONAL V IRTUAL.
16-17 Oct 2003IVOA Data Access Layer, Strasbourg IVOA Data Access Layer (DAL) Working Group Doug Tody National Radio Astronomy Observatory International.
29-30 April 2004NVO Team Meeting NCSA1 Data Access Layer (DAL) SSA, SIA Enhancement Doug Tody National Radio Astronomy Observatory National Virtual Observatory.
Scalable Metadata Definition Frameworks Raymond Plante NCSA/NVO Toward an International Virtual Observatory How do we encourage a smooth evolution of metadata.
Spectroscopy in VO, ESAC Mar Access to Spectroscopic Data In the VO Doug Tody (NRAO/US-NVO ) for the IVOA DAL working group I NTERNATIONAL.
RELATIONAL FAULT TOLERANT INTERFACE TO HETEROGENEOUS DISTRIBUTED DATABASES Prof. Osama Abulnaja Afraa Khalifah
IVOA Interop, SL de El Escorial, Oct IVOA DAL - Madrid DAL WG Summary October 7, 2005.
IVOA, Kyoto May Data Access Layer Working Group Status and Plans for this Workshop Doug Tody National Radio Astronomy Observatory International.
Footprint Service Specification IVOA Interop Meeting Trieste 2008 Gretchen Greene and Tamas Budavari.
October 7, 2005VOQL-Madrid1 IVOA – VOQL WG session ESAC Villafranca del Castillo Madrid, Spain Friday, October 7th, 9: :00 Yuji Shirasaki Maria Nieto-Santisteban.
IVOA, Kyoto May Data Access Layer Thoughts on ADQL/DAL Integration Doug Tody (NRAO) International V IRTUAL O BSERVATORY.
30 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE VOTable interface with Registry Joint Apps/DM/Registry.
Workshop on How to Publish Data in VO ESAC, June 25-June DAL (Data Access Layer) protocols Jesus Salgado
UCL DEPARTMENT OF SPACE AND CLIMATE PHYSICS MULLARD SPACE SCIENCE LABORATORY Taverna Plugin VAMDC and HELIO (part of the ‘taverna-astronomy’ edition) Kevin.
IVOA RM, VOResources, Identifiers, Interfaces Chenzhou CUI.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
VO Data Access Layer IVOA Cambridge, UK 12 May 2003 Doug Tody, NRAO.
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
The AstroGrid-D Information Service Stellaris A central grid component to store, manage and transform metadata - and connect to the VO!
Sept. 2004IVOA Meeting / Pune1 Virtual Observatory Query Language (VOQL) Working Group William O’Mullane For Masatoshi Oishi T HE US N ATIONAL V IRTUAL.
Introduction: AstroGrid increases scientific research possibilities by enabling access to distributed astronomical data and information resources. AstroGrid.
Standard Query Language for VO
PDAP Query Language International Planetary Data Alliance
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Google Sky.
IVOA – VOQL WG session ESAC Villafranca del Castillo Madrid, Spain Friday, October 7th, 9: :00 Yuji Shirasaki Maria Nieto-Santisteban VOQL-Madrid.
CEA Experiences Paul Harrison ESO.
Footprint Service Specification
Presentation transcript:

IVOA Interop, Cambridge UK, IVOA Data Access Layer Table Access Protocol Analysis Doug Tody (NRAO/NVO ) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE

IVOA Interop, Cambridge UK, TAP Context Architecture –Cross-match portal/application –Table Access Protocol –ADQL specification –VOSpace, UWS, SSO, etc. Role of TAP –Direct access to table data at a single site –Support for higher level distributed queries –Broader future role in DAL (complex data etc.)

IVOA Interop, Cambridge UK, Primary TAP Use-Cases Complex/Large Table Query –Large query (async, vospace, authentication) –Multi-table operations (join etc.) –Multi-region queries (table upload) –Advanced ADQL/SQL capabilities Required to support cross-match portal, advanced apps Full functionality is required Simple Table Query –Filter-type operation upon a single table –Most basic astronomical catalog access is of this type –ADQL, async useful but not required for simple queries Probably sufficient for most small data providers Cone search is not enough

IVOA Interop, Cambridge UK, Primary TAP Use-Cases Table Metadata Query –Metadata describing stored data is also data –can be virtual, subsetted, transformed, etc. –Client application queries TAP service for available data –tables, table columns, relationships, etc. –service metadata (capabilities etc) is a separate issue Basic metadata model should be simple Extensibility required for advanced query support Data Access Query –This is "ADQL integration into DAL" –ADQL query against a DAL data model (complex data etc.)

IVOA Interop, Cambridge UK, Key Requirements/Issues ADQL and Grid capabilities –Motivation Required for portals and advanced applications Needs ADQL, multi-region, async, vospace, sso, etc. –Issues or Options Not controversial: everyone agrees we need this Not required however for basic usage Complex; will take time to prototype, specify, standardize Unrealistic to expect community implementation w/o frameworks

IVOA Interop, Cambridge UK, Key Requirements/Issues Simple Query capability –Motivation Provide simple basic table access capability Needed anyway for simple table metadata queries Adequate for most simple filter-type queries of single table Supplants cone search; much more powerful but still simple Provide robust implementation while we develop advanced stuff –Issues or Options Some want to make ADQL mandatory –"all data should be at data centers" Options: legacy cone search plus ADQL-TAP –but cone search is too limited

IVOA Interop, Cambridge UK, Key Requirements/Issues TAP Information Schema –Motivation Provide uniform access to both table data and metadata Same query/access interface used for both Supports virtual data, dynamic queries, format options, etc Easily extended without changing interface Don't do one thing now, another later –Issues or Options Need to specify/agree upon minimal core metadata Strategy: Adopt registry table model with minor changes Other options: VOTable with no data, literal registry XML

IVOA Interop, Cambridge UK, Key Requirements/Issues Proposed Core TAP/Registry Table Schema –Table name[[catalog.]schema.]table typebase table, view, output, etc. descriptiontable description –Column namecolumn name tableNametable name descriptioncolumn description unitunit in VO standard format ucdUCD if any utypeUTYPE if any dataTypedataType as in VOTable/registry arrayShapearray "shape"/size as in VOTable/registry stdstandard column (else custom addition)

IVOA Interop, Cambridge UK, 20079

10 TAP Design Study History –Based upon work done by ESAC/VOQL-TEG and DAL WG in spring 2007 –Also NVO tiger team, SkyNode experience, data center experience TAP Design Goals –Provide capability for ADQL queries to support advanced analysis –Define minimal implementation for small data provider, common queries replace legacy cone search with more general facility –Both data access and metadata access supported natively by service –Provide for scalability, in particular multi-position queries –Support Grid capabilities, i.e, async, staging, authentication –TAP should be consistent with other DAL interfaces where possible –Provide registry integration for automated service discovery

IVOA Interop, Cambridge UK, TAP Interface Summary Form of interface –HTTP GET/POST based (other protocols possible, e.g. SOAP, CEA) –Multiple output formats (VOTable, CSV/TSV, XML, VOSpace, etc.) Operations –AdqlQueryADQL-based queries, full functionality –SimpleQuerySimple data queries, metadata queries –GetCapabilitiesReturn metadata describing the service –GetAvailabilityMonitor runtime service function and health

IVOA Interop, Cambridge UK, AdqlQuery Operation Scope and Form of Interface –General capability for ADQL-based queries –Both GET and POST versions are required GET is synchronous, indempotent, simple, RESTful POST required for async, staging, large queries –Semantics, e.g., parameters, identical for both versions –ADQL query is URL-encoded so use in GET is not a problem Parameters –QUERYThe query string (ADQL; URL-encoded) –FORMATOutput data format (VOTable, CSV, XML, etc.) – Only used in POST version; for VOSpace – Only used in POST version; for driving UWS –MAXRECMaximum records in the output table –RUNIDPass-through; used for logging (others TBD)

IVOA Interop, Cambridge UK, AdqlQuery Operation Field Names, UTYPE and UCD –Suggest this be done at level of field rather than by operation –Literal field names directly access database table –A UTYPE reference resolves into a literal table field name e.g., ssa:Target.Name resolves to table field TargetName –UTYPE (in this context) is a special case of UTYPE ("ucd:") Field name resolution –Both literal and UTYPE/UCD field names resolve to table field –All queries evaluated equivalently after field name resolution –Data models, at the level of TAP, involve only mappings –UFI can automate this, or it can be done client side

IVOA Interop, Cambridge UK, AdqlQuery Operation Multi-Position Queries –AKA multi-cone search; but doesn't have to be limited to position –Common use-case involves user source list with thousands of positions –Required for scalability to reduce operation overhead How It Works –Uses ADQL, REGION, POST form of operation –VOTable used to upload source table (ID, POS, SIZE, etc.) other fields are passed through to output output is tagged by source ID can be generalized to any input parameter, not just position –POST (e.g., multipart/form-data) used to upload params, VOTable –Parameters are common to both GET and POST forms Data Scoping –Query, Local (DBMS), and VOSpace (Net) tables are equivalent –POST is a Query space table

IVOA Interop, Cambridge UK, SimpleQuery Operation Scope and Form of Interface –Provides capability for simple non-ADQL queries –Used for both data queries and metadata queries (like ADQL/SQL) –Only a synchronous GET version is required –Only a single table is queried at a time Motivation –Simple to implement, easy to use –>90% of actual catalog queries are simple filters of a single table –We need something like this anyway for simple metadata queries but why limit it to only metadata? –Small data providers publish a few simple catalogs –Simpler to implement, likely to be more robust implementation

IVOA Interop, Cambridge UK, SimpleQuery Operation Parameters –SELECTTable fields to be returned (default all) –FROMThe table (or view) to be accessed –WHEREA filter to be applied to the table (default none) –POS,SIZEFind data only in this spatial region –FORMATOutput data format –MAXRECMaximum records out –RUNIDPass-through for logging (etc) Provides –Simplified SQL-lite query (90/10 rule) –Both data and metadata queries –Simple cone search capability

IVOA Interop, Cambridge UK, SimpleQuery Operation Metadata Queries –Information Schema concept great concept; definition/implementation imperfect but it is a standard, widely (but not completely) implemented –Concept represent database/table metadata as data tables (views) allows use of standard data table interface to query metadata easily extensible without changing service interface views can be used for things such as registry view –Examples FROM=SCHEMA.tables FROM=SCHEMA.columns&WHERE=tableName,foo FROM=SCHEMA.columns&WHERE=tableName,foo&FORMAT=xml

IVOA Interop, Cambridge UK, Simple Cone Search Approach –Integrate into SimpleQuery to allow additional constraints would probably be too ambitious in a separate SCS standard –Re-use common DAL position syntax (POS, SIZE) extensible in terms of region type and spatial frame –UTYPE/UCD field syntax allows data models to be used –Table to be queried is specified with FROM –ADQL,REGION provides an advanced alternative with common semantics Examples –REQUEST=SimpleQuery&FROM=foo&POS=180.0,12.5&SIZE=0.2 –REQUEST=SimpleQuery&FROM=foo&POS=180.0,12.5&SIZE=0.2&WHERE=flux,5/

IVOA Interop, Cambridge UK, Minimal TAP Service Requirements –Implements SimpleQuery operation possibly getCapabilities and getAvailability as well? –Provides basic data query capability –Provides basic metadata query capability (tables, columns) –No ADQL support required (but may use SQL back end) –No UTYPE support required