VO Standards – Catalog Access Tamás Budavári Johns Hopkins University.

Slides:



Advertisements
Similar presentations
Trying to Use Databases for Science Jim Gray Microsoft Research
Advertisements

Web Services for the Virtual Observatory Alex Szalay, Tamas Budavari, Tanu Malik, Jim Gray, and Ani Thakar SPIE, Hawaii, 2002 (Living in an exponential.
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, Pune India September Data Access Layer Working Group Pune Workshop Summary Doug Tody National Radio Astronomy Observatory International.
VOQL WG Plenary Session Sept 27, 2004 William OMullane for Masatoshi Ohishi.
May. 2004IVOA Meeting / Boston1 OpenSkyQuery,SkyNodes and ADQL William OMullane Johns Hopkins University T HE US N ATIONAL V IRTUAL O BSERVATORY.
2qz Data Interface Tool Virtual Observatory-India (VO-I) 30/09/2004 2qz Data Interface Tool (DIT)
VO/IVOA and The Astronomy Community Dave De Young NOAO.
IVOA, Pune September Data Access Layer Working Group SSA Overview and Status Doug Tody National Radio Astronomy Observatory International V.
May 2005IVOA Kyoto1 Astronomical Data Query Language(ADQL) William OMullane Johns Hopkins University T HE US N ATIONAL V IRTUAL O BSERVATORY.
Data Mining, ADQL, & The National Virtual Observatory's OpenSkyQuery Utility by Richard Doc Kinne, KQR 2008 AAVSO Fall Conference Nantucket, MA.
3 September 2004NVO Coordination Meeting1 Grid-Technologies NVO and the Grid Reagan W. Moore George Kremenek Leesa Brieger Ewa Deelman Roy Williams John.
Sept. 2003NVO Team Meeting / Victoria1 VOQL/ADQL/MYDB for VO William OMullane Johns Hopkins University T HE US N ATIONAL V IRTUAL O BSERVATORY.
11 July 2002NVO EPO Workshop1 The National Virtual Observatory Robert Hanisch Space Telescope Science Institute Project Manager NSF NVO Project (with liberal.
NVO Summer School VO Protocols and Jargon Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
NVO Summer School, Aspen Center for Physics1 Publishing and Resource Discovery with Registries Ray Plante Gretchen Greene.
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.
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, Aspen 9-Sep TimeServer Andrew Drake Robyn Allsman David Gasson Mark Huber Kathy Vivas US N ATIONAL V IRTUAL O BSERVATORY.
September 7, 2005NVO Summer School1 Building a SkyNode Server Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
NVO Summer School, Aspen, Colorado1 Finding and Exploring Merging Pairs of Galaxies in 2MASS using the NVO Sahar Allam, Perry Gee, Yeong Loh,
NVO Summer School, Aspen Center for Physics1 Publishing and Resource Discovery with Registries Ray Plante Matthew Graham.
NVO Summer School, Aspen Sept Data Access Layer Working Group Image and Spectral Access Doug Tody National Radio Astronomy Observatory National.
Demonstration of VO Tools and Technology Tamás Budavári Johns Hopkins University.
14 Sep 2006NVO Summer School T HE US N ATIONAL V IRTUAL O BSERVATORY Simple SSA Query Kelly McCusker Amy Kimball Mike Koss Phil Warner Melinda Mello.
Aus-VO Workshop 2003 International Virtual Observatory Alliance effort on Virtual Observatory Query Language Naoki Yasuda (JVO), VOQL WG.
CASDA Virtual Observatory CSIRO ASTRONOMY AND SPACE SCIENCE Arkadi Kosmynin 11 March 2014.
20 January 2004ESS Technical Colloquium1 NVO Infrastructure Gretchen Greene T HE US N ATIONAL V IRTUAL O BSERVATORY.
László Dobos 1,2, Tamás Budavári 2, Nolan Li 2, Alex Szalay 2, István Csabai 1 1 Eötvös Loránd University, Budapest,
Design and Implementation of JVO SkyNode Yuji SHIRASAKI National Astronomical Observatory of Japan IVOA Small Projects Meeting, 2004 Oct 1.
July 2004SC4DEVO -Caltech1 IVOA WebServices William O’Mullane The Johns Hopkins University T HE US N ATIONAL V IRTUAL O BSERVATORY.
SDSS Web Services Tamás Budavári Johns Hopkins University Coding against the Universe.
05/24/2004The 12th UN/ESA Workshop on Basic Space Science Chinese Virtual Observatory (China-VO) Chenzhou Cui Chinese Virtual Observatory Project National.
Supported by the National Science Foundation’s Information Technology Research Program under Cooperative Agreement AST with The Johns Hopkins University.
Astronomical Data Query Language Simple Query Protocol for the Virtual Observatory Naoki Yasuda 1, William O'Mullane 2, Tamas Budavari 2, Vivek Haridas.
WSRF Supported Data Access Service (VO-DAS)‏ Chao Liu, Haijun Tian, Dan Gao, Yang Yang, Yong Lu China-VO National Astronomical Observatories, CAS, China.
Functions and Demo of Astrogrid 1.1 China-VO Haijun Tian.
29-30 April 2004NVO Team Meeting NCSA1 Data Access Layer (DAL) SSA, SIA Enhancement Doug Tody National Radio Astronomy Observatory National Virtual Observatory.
Virtual Observatory & LIGO Roy Williams California Institute of Technology.
Science with the Virtual Observatory Brian R. Kent NRAO.
NEON Obs School 11-Aug-2005 Archival Data and Virtual Observatories 1 Virtual Observatories...or how to do your research from a beach in the Bahamas rather.
11/26/2003IVOA Small Projects Meeting Potential R&D focuses for China-VO Chenzhou Cui National Astronomical Observatory of China Chinese Virtual.
A PPARC funded project AstroGrid Intro & Demo John Taylor Institute for Astronomy, Edinburgh.
Footprint Service Specification IVOA Interop Meeting Trieste 2008 Gretchen Greene and Tamas Budavari.
P Structured Query Language for Virtual Observatory Yuji Shirasaki National Astronomical Observatory of Japan, and Masahiro Tanaka (NAOJ), Satoshi.
Federation and Fusion of astronomical information Daniel Egret & Françoise Genova, CDS, Strasbourg Standards and tools for the Virtual Observatories.
A PPARC funded project Workflow and Job Control in Astrogrid Jeff Lusted Dept Physics and Astronomy University of Leicester.
GGF-17 Astronomy Application Meeting Astro Working Group Officers: Nic Walton (Astrogrid, Cambridge) Guy Rixon (Astrogrid, Cambridge)
Solar and space physics datasets within a Virtual Observatory: the AstroGrid experience Silvia Dalla * and Nicholas A Walton  * School of Physics & Astronomy,
Web Services for the National Virtual Observatory Tamás Budavári Johns Hopkins University.
CMU-CS lunch talk, Gerard Lemson1 Computational and statistical problems for the Virtual Observatory With contributions from/thanks to: GAVO.
The International Virtual Observatory Alliance (IVOA) interoperability in action.
May 17, 2005Maria Nieto-Santisteban, JHU / IVOA - Kyoto1 VO JHU Open SkyQuery and more … T. Budavari, S. Carliles, L. Dobos, G. Fekete,
Catalog Data Interface Tool Virtual Observatory-India (VO-I) May 16-20, 2005 Catalog Data Interface.
Virtual Observatories, Press Release Images, and Web Services Dr. Frank Summers Space Telescope Science Institute November 3, 2005.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
William O’Mullane/ Tannu Malik - JHU IVOA Cambridge May 12-16, 2003 SkyQuery.Net SKYQUERY Federated Database Query System (using WebServices)
Coordination Portal/Data sources L2:Data access & Handling Points to be raised : - Downloading data sources/data via the Portal…keeping visibility of data.
7 Dec 2009R. J. Hanisch: Astronomy Data Standards CERN 1 Data Standards in Astronomy Dr. Robert J. Hanisch Director, US Virtual Astronomical Observatory.
AstroGrid and the Virtual Observatory John Taylor Institute for Astronomy.
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.
How to use the GALEX SkyNode*
Standard Query Language for VO
Sky Query: A distributed query engine for astronomy
Google Sky.
Google Sky.
IVOA – VOQL WG session ESAC Villafranca del Castillo Madrid, Spain Friday, October 7th, 9: :00 Yuji Shirasaki Maria Nieto-Santisteban VOQL-Madrid.
Bandpass and Spectrum Services for the VO
Presentation transcript:

VO Standards – Catalog Access Tamás Budavári Johns Hopkins University

9/14/2004NVO Summer School, Aspen Background Virtual Observatory Query Language Level 3. Semantically rich XML language (TBD) Level 2. Portals combining astro archives e.g. SkyQuery and Open SkyQuery Level 1. Query a single database Astronomical Data Query Language VOTable Start with something simple Decided not to reinvent the wheel

9/14/2004NVO Summer School, Aspen Outline SQL Primer How to query databases ADQL Extensions for astronomy Distributed resources SkyQuery SkyNode interface SkyQuery portal

9/14/2004NVO Summer School, Aspen Structured Query Language Simple syntax SELECT FROM WHERE SELECT FROM WHERE For example: select ra, dec from galaxy where r<19 Joining tables More tables with common column (link, relation) Select from multiple tables with join criteria E.g. an object id: select g.ra, g.dec, s.z from galaxy g, spec s where g.objid=s.objid and g.r<19

9/14/2004NVO Summer School, Aspen Astronomical Data Query Language SQL extended for astronomy Added survey name in from clause e.g. SDSS:Galaxy g, DLS:obj o Specify area on sky Added REGION keyword e.g. Region(' CIRCLE J ') Formulate federated query Added XMATCH keyword e.g. XMatch(g,o) using aliases

9/14/2004NVO Summer School, Aspen ADQL Translator Representations String for humans /s XML for machines /x Helper service Converts both ways String to XML XML to String XML is pre-parsed So your service could accept both if needed

9/14/2004NVO Summer School, Aspen ADQL representations ADQL/s ADQL/x < Ra Dec < Ra Dec select s.objd, t.id from TWOMASS:PhotoObj t, SDSS:Galaxy s where XMatch(s,t)<3.5 and Region('Circle J ') XML

9/14/2004NVO Summer School, Aspen Open SkyQuery SkyNode interface to archives Implements ADQL returns VOTable Basic node understands REGION Full node understands XMATCH SkyQuery portal Knows the SkyNodes from Registry Understands federated query

9/14/2004NVO Summer School, Aspen Architecture Image cutout SkyNode SDSS SkyNode 2Mass SkyNode First SkyQuery Web App

9/14/2004NVO Summer School, Aspen Step-by-step Analyze query Cost estimates Sort by size Execution plan Cross-match Recursively from small to large db Propagate necessary attributes only Return output in VO format SELECT o.objId, o.r, o.type, t.objId, t.j_m FROM SDSS:PhotoPrimary o, TWOMASS:PhotoObj t WHERE XMatch(o,t)<3.5 AND Region( CIRCLE J2000 … ) AND (o.i-t.j_m)>2 AND o.type=3 SELECT o.objId, o.r, o.type, t.objId, t.j_m FROM SDSS:PhotoPrimary o, TWOMASS:PhotoObj t WHERE XMatch(o,t)<3.5 AND Region( CIRCLE J2000 … ) AND (o.i-t.j_m)>2 AND o.type=3

9/14/2004NVO Summer School, Aspen SkyNode Metadata functions Tables, Columns, Functions Uptime, Footprint, etc … Query functions PerformQuery (ADQL q) Simple query interface QueryCost (ADQL q) Cost estimate for query ExecutePlan (XPlan plan) Recursive probabilistic join

9/14/2004NVO Summer School, Aspen Data flow SkyQuery query SkyNode 1 SkyNode 2 SkyNode 3 Registry

9/14/2004NVO Summer School, Aspen Cross-matching Probabilistic spatial join Likelihood that all measurements are actually observations of the same object Consider all objects from all surveys For surveys A, B and C, there are N A N B N C combinations, N X is the number of objects that meet criteria in survey X Massive optimization problem for true positions on the sky (x,y,z)

9/14/2004NVO Summer School, Aspen XMatch variants XMatch (r, g, w) Mandatory matches in all surveys ! XMatch (r, g,!w) Look for dropouts in certain surveys Remove objects if found in w ? XMatch (r, g,?w) Return matches in w if found but don t discard if not Essentially an outer join

9/14/2004NVO Summer School, Aspen SkyQuery portal Hides complexity Simple web services Methods Get to metadata of nodes Find location of nodes Send query to one node Send federated query Create execution plan Submit execution plan

9/14/2004NVO Summer School, Aspen

9/14/2004NVO Summer School, Aspen And more… Cross-match your own catalog Upload file to temporary table, e.g. MyTable Use MyData:MyTable in federated query Browse metadata on SkyNodes Sample queries of all types

9/14/2004NVO Summer School, Aspen Build your own SkyNode Download template SkyNode written in C# Uses SQL Server 2000 HTM for fast searches Where? Ready to use web service Templates for database From scratch Write it in any language C ++, Java, C #, Perl, Python Use ADQL Translator? Open source.NET C # w/ DB access and WS Runs on your favorite OS

9/14/2004NVO Summer School, Aspen Summary Astronomical Data Query Language Working VO standard for catalog access Constructs for area and cross-match Open SkyQuery Dynamically federates astronomical archives Uses VO Registry to lookup SkyNodes On-the-fly probabilistic cross-matching w/ dropout and outer join capabilities

9/14/2004NVO Summer School, Aspen Future Works Things to add Implement missing outer join Full featured region specs Footprint services Test survey boundaries Automated intersection of footprints And more …

9/14/2004NVO Summer School, Aspen Where to go Links in the talk Other relevant links