The World Wide Telescope – a Digital Library Prototype Jim Gray, Microsoft Research Alex Szalay, Johns Hopkins University Talk at OCLC @ Dublin, OH,

Download Report

Transcript The World Wide Telescope – a Digital Library Prototype Jim Gray, Microsoft Research Alex Szalay, Johns Hopkins University Talk at OCLC @ Dublin, OH,

The World Wide Telescope –
a Digital Library Prototype
Jim Gray, Microsoft Research
Alex Szalay, Johns Hopkins University
Talk at OCLC @ Dublin, OH, 17 May 2004
http://research.microsoft.com/~gray/talks/OCLC_WWT.ppt
Jim’s Model of Library Science 
• Alexandria
• Gutenberg
•
(Melvil)
Dewey Decimal
• MARC
(Henriette Avram)
• Dublin Core
Yes, I know there have been other things.
Dublin Core
Elements
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Elements+
Title
Creator
Subject
Description
Publisher
Contributor
Date
Type
Format
Identifier
Source
Language
Coverage
Rights
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Audience
Alternative
TableOfContents
Abstract
Created
Valid
Available
Issued
Modified
Extent
Medium
IsVersionOf
HasVersion
IsReplacedBy
Replaces
IsRequiredBy
Requires
IsPartOf
HasPart
IsReferencedBy
References
IsFormatOf
HasFormat
ConformsTo
Spatial
Temporal
Mediator
DateAccepted
DateCopyrighted
DateSubmitted
EducationalLevel
AccessRights
BibliographicCitation
Encoding
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
LCSH (Lb. Congress Subject Head)
MESH (Medical Subject Head)
DDC (Dewey Decimal Classification)
LCC (Lb. Congress Classification)
UDC (Universal Decimal Classification)
DCMItype (Dublin Core Meta Type)
IMT (Internet Media Type)
ISO639-2 (ISO language names)
RFC1766 (Internet Language tags)
URI (Uniform Resource Locator)
Point (DCMI spatial point)
ISO3166 (ISO country codes)
Box (DCMI rectangular area)
TGN (Getty Thesaurus of Geo Names)
Period (DCMI time interval)
W3CDTF (W3C date/time)
RFC3066 (Language dialects)
Types
–
–
–
–
–
–
–
–
–
–
–
–
Collection
Dataset
Event
Image
InteractiveResouce
Service
Software
Sound
Text
PhysicalObject
StillImage
MovingImage
What’s Happening?
• We are drowning in information
• Single fixed hierarchy is hopeless
– Can’t organize/find things in a simple tree
• HOPE: “schematized storage”
– Objects have “Dublin-like” facets
– Most facets acquired automatically (email, photo, doc,…)
– Users add annotations and relationships
Librarians call this accession
• Automate accession as much as possible
• Folders/directories are standing queries
– Organization is “search based” demo sis.
• Interesting (public) research projects
– Stuff I’ve Seen: http://research.microsoft.com/adapt/sis/
– MyLifebits: http://research.microsoft.com/barc/mediapresence/MyLifeBits.aspx
• Longhorn product embraces & extends these ideas.
But, what about the talk I promised you?
The World Wide Telescope –
a Digital Library Prototype
Jim Gray, Microsoft Research
Alex Szalay, Johns Hopkins University
Talk at OCLC @ Dublin, OH, 17 May 2004
http://research.microsoft.com/~gray/talks/OCLC_WWT.ppt
The Talk
•
Libraries morphing to integrated text + data (you know that)
•
Dublin Core is bedrock, but many issues remain. (you know that)
•
WWT: All Astronomy data and literature online and integrated
•
Problems Librarians have grappled with for centuries:
curation, preservation, indexing, access, summarization.
1. Overview of the World-Wide Telescope as a digital library
2. Focus on metadata, schema, curation, and preservation..
•
Candidly, we have more problems than solutions,
but the data is arriving and we are doing the best we can.
New Science Paradigms
• Thousand years ago:
science was empirical
describing natural phenomena
• Last few hundred years:
theoretical branch
using models, generalizations
• Last few decades:
a computational branch
2
.
4G
c2
a
 a   3   a 2
 
simulating complex phenomena
• Today:
data exploration (eScience)
synthesizing theory, experiment and
computation with advanced data
management and statistics
The Big Picture
Experiments &
Instruments
Other Archives
Literature
questions
facts
facts
?
answers
Simulations
The Big Problems
•
•
•
•
•
•
Data ingest
Managing a petabyte
Common schema
How to organize it?
How to reorganize it
How to coexist with others
•
•
•
Data Query and Visualization tools
Support/training
Performance
– Execute queries in a minute
– Batch (big) query scheduling
The Virtual Observatory
• Premise: most data is (or could be online)
• The Internet is the world’s best telescope:
– It has data on every part of the sky
– In every measured spectral band:
optical, x-ray, radio..
– As deep as the best instruments (2 years ago).
– It is up when you are up
– The “seeing” is always great
– It’s a smart telescope:
links objects and data to literature
• Software is the capital expense
– Share, standardize, reuse..
Why Is Astronomy Special?
• Almost all literature online and public
ADS:
http://adswww.harvard.edu/
CDS:
http://cdsweb.u-strasbg.fr/
• Data has no commercial value
IRAS 25m
2MASS 2m
– No privacy concerns, freely share results with others
DSS Optica
– Great for experimenting with algorithms
• It is real and well documented
– High-dimensional
– Spatial, temporal
(with confidence intervals)
IRAS 100m
• Diverse and distributed
– Many different instruments from
many different places and
many different times
WENSS 92cm
NVSS 20cm
• The community wants to share the data
• There is a lot of it (soon petabytes)
ROSAT ~keV
GB 6cm
Like all sciences,
Astronomy Faces an Information Avalanche
• Astronomers have a few hundred TB now
– 1 pixel (byte) / sq arc second ~ 4TB
– Multi-spectral, temporal, … → 1PB
• They mine it looking for
1000
100
new (kinds of) objects or
more of interesting ones (quasars),
density variations in 400-D space
correlations in 400-D space
•
•
•
•
Data doubles every year
Data is public after 1 year
So, 50% of the data is public
Same access for everyone
10
1
0.1
1970
1975
1980
1985
1990
1995
2000
CCDs
Glass
Publishing Data
Roles
Authors
Publishers
Curators
Consumers
Traditional
Scientists
Journals
Libraries
Scientists
Emerging
Collaborations
Project www site
Bigger Archives
Scientists
• Exponential growth:
– Projects last at least 3-5 years
– Data sent upwards only at the end of the project
– Data will never be centralized
• More responsibility on projects
– Becoming Publishers and Curators
• Data will reside with projects
– Analyses must be close to the data
How to Publish Data: Web Services
• Web SERVER:
– Given a url + parameters
– Returns a web page (often dynamic)
Your
program
Web
Server
• Web SERVICE:
•
– Given a XML document (soap msg)
– Returns an XML document (with schema)
– Tools make this look like an RPC.
Your
• F(x,y,z) returns (u, v, w)
program
– Distributed objects for the web.
– + naming, discovery, security,..
Data
In your
Internet-scale
address
distributed computing space
Web
Service
The Core Problem: No Economic Model
• The archive user has not yet been born.
How can he pay you to curate the data?
• Q: The Scientist gathered data for his own purpose.
Why should he pay (invest time) for your needs?
A: that’s the scientific method
• Curating data
(documenting the design, the acquisition, and the processing)
is very hard and there is no reward for doing it.
Results are rewarded, not the process of getting them.
• Storage/archive NOT the problem (it’s almost free)
• Curating/Publishing is expensive.
• Better standards & tools lower costs
Data Inflation – Data Pyramid
• Level 1A
• Level 2
Grows 5TB pixels/year Derived data products ~10x smaller
growing to 25TB
But there are many catalogs.
~ 2 TB/y compressed • Publish new edition each year
– Fixes bugs in data.
growing to 13TB
– Must preserve old editions
~ 4 TB today
– Creates data pyramid
(level 1A in NASA terms)
• Store each edition
– 1, 2, 3, 4… N ~ N2 bytes
• Net: Data Inflation: L2 ≥ L1
Level 1A
4 editions of Level 2 products
E4
E3
time
E2
E1
4 editions of
level 1A data
(source data)
4 editions of level 2 derived data products. Note that each derived product is
small, but they are numerous. This proliferation combined with the data
pyramid implies that level2 data more than doubles the total storage volume.
What SDSS is Doing: Capture the Bits
• Best-effort documenting data and process.
• Publishing data: often by UPS
(~ 5TB today and so ~5k$ for a copy)
• Replicating data on 3 continents.
• EVERYTHING online (tape data is dead data)
• Archiving all email, discussions, ….
• Keeping all web-logs.
• Now we need to figure out how to
organize/search all this metadata.
Making Discoveries
• Where are discoveries made?
– At the edges and boundaries
– Going deeper, collecting more data, using more colors….
• Metcalfe’s law: quadratic benefit
– Utility of computer networks grows as the
number of possible connections: O(N2)
• Data Federation: quadratic benefit
– Federation of N archives has utility O(N2)
– Possibilities for new discoveries grow as O(N2)
• Current sky surveys have proven this
– Very early discoveries from SDSS, 2MASS, DPOSS
Global Federations
• Massive datasets live near their owners:
– Near the instrument’s software pipeline
– Near the applications
– Near data knowledge and curation
• Each Archive publishes a (web) service
– Schema: documents the data
– Methods on objects (queries)
• Scientists get “personalized” extracts
• Uniform access to multiple Archives
– A common global schema
Schema (aka metadata)
• Everyone starts with the same schema
<stuff/>
Then the start arguing about semantics.
• Virtual Observatory: http://www.ivoa.net/
• Metadata based on Dublin Core:
http://www.ivoa.net/Documents/latest/RM.html
• Universal Content Descriptors (UCD):
http://vizier.u-strasbg.fr/doc/UCD.htx
Captures quantitative concepts and their units
Reduced from ~100,000 tables in literature to ~1,000 terms
• VOtable – a schema for answers to questions
http://www.us-vo.org/VOTable/
• Common Queries:
Cone Search and Simple Image Access Protocol, SQL
• Registry: http://www.ivoa.net/Documents/latest/RMExp.html
still a work in progress.
Data Access is Hitting a Wall
Current practice of data download (FTP/GREP)
will not scale to petabyte datasets
•You can GREP 1 MB in a second
•You can GREP 1 GB in a minute
•You can GREP 1 TB in 2 days
•You can GREP 1 PB in 3 years
• You can FTP 1 MB in 1 sec
• You can FTP 1 GB / min (= 1 $/GB)
• You can FTP 1 TB in 2 days and 1K$
• You can FTP 1 PB in 3 years and 1M$
•Oh!, and 1PB ~4,000 disks
•At some point you need
indices to limit search
parallel data search and analysis
•This is where databases can help
Smart Data
• Better Data Schemas
• There is too much data to move around
Do data manipulations at database
– Build custom procedures and functions into DB
Move Mohamed to the mountain,
– Unify data Access & Analysis
not the mountain to Mohamed.
– Examples
• Temporal and spatial indexing
• Pixel processing
• Automatic parallelism
• Auto (re)organize
• Scalable to Petabyte datasets
Next-Generation Data Analysis
• Looking for
– Needles in haystacks – the Higgs particle
– Haystacks: dark matter, dark energy,
turbulence, ecosystem dynamics
• Needles are easier than haystacks
• Global statistics have poor scaling
– Correlation functions are N2, likelihood techniques N3
• As data and computers grow at Moore’s Law,
we can only keep up with N logN
• A way out?
– Relax optimal notion (data is fuzzy, answers are approximate)
– Don’t assume infinite computational resources or memory
• Requires combination of statistics & computer science
The Sloan Digital Sky Survey
• Goal
– Create the most detailed map
of the Northern Sky to-date
• 2.5m telescope
– 3 degree field of view
• Two surveys in one
– 5-color images of ¼ of the sky
– Spectroscopic survey of a million
galaxies and quasars
• Very high data volume
– 40 Terabytes of raw data
– 10 Terabytes processed
– All data public
The University of Chicago
Princeton University
The Johns Hopkins University
The University of Washington
New Mexico State University
University of Pittsburgh
Fermi National Accelerator Laboratory
US Naval Observatory
The Japanese Participation Group
The Institute for Advanced Study
Max Planck Inst, Heidelberg
Sloan Foundation, NSF, DOE, NASA
SkyServer
• A multi-terabyte database
• An educational website
– More than 50 hours of educational exercises
– Background on astronomy
– Tutorials and documentation
http://skyserver.sdss.org/
– Searchable web pages
• Easy astronomer access
to SDSS data.
• Prototype eScience lab
• Interactive visual tools for
data exploration
Demo SkyServer
•
•
•
•
atlas
education project
Mouse in pixel space
Explore an object
(record space)
• Explore literature
• Explore a set
• Pose a new question
SkyQuery (http://skyquery.net/)
• Distributed Query tool using a set of web services
• Many astronomy archives from
Pasadena, Chicago, Baltimore, Cambridge (England)
• Has grown from 4 to 15 archives,
now becoming international standard
•SELECT
Allows
querieso.r,
like:o.type,
o.objId,
t.objId
FROM SDSS:PhotoPrimary o,
TWOMASS:PhotoPrimary t
WHERE XMATCH(o,t)<3.5
AND AREA(181.3,-0.76,6.5)
AND o.type=3 and (o.I - t.m_j)>2
Demo SkyQuery Structure
• Portal is
– Plans Query (2 phase)
– Integrates answers
– Is itself a web service
• Each SkyNode publishes
– Schema Web Service
– Database Web Service
Image
Cutout
SDSS
SkyQuery
Portal
FIRST
2MASS
INT
MyDB: eScience Workbench
• Prototype of bringing analysis to the data
• Everybody gets a workspace (database)
– Executes analysis at the data
– Store intermediate results there
– Long queries run in batch
– Results shared within groups
• Only fetch the final results
• Extremely successful – matches work patterns
National Center Biotechnology
Information (NCBI) A Better Example
• Pubmed:
– Abstracts and books and..
• Genbank:
– All Gene sequences deposited
– BLAST and other searches
– Website to explore data and literature
• Entrez:
– unifies many databases
with literature (books, journals,..)
– Organizes the data
The Big Picture
Experiments &
Instruments
Other Archives
Literature
questions
facts
facts
?
answers
Simulations
The Big Problems
•
•
•
•
•
Data ingest
Managing a petabyte
Common schema
How to organize it?
How to reorganize it
•
•
•
Query and Vis tools
Support/training
Performance
– Execute queries in a minute
– Batch query scheduling
The Talk
•
Libraries morphing to integrated text + data (you know that)
•
Dublin Core is bedrock, but many issues remain. (you know that)
•
WWT: All Astronomy data and literature online and integrated
•
Problems Librarians have grappled with for centuries:
curation, preservation, indexing, access, summarization.
1. Overview of the World-Wide Telescope as a digital library
2. Focus on metadata, schema, curation, and preservation..
•
Candidly, we have more problems than solutions,
but the data is arriving and we are doing the best we can.
Education
• Educational Projects, aimed at advanced high
school students, but covering middle school
• Teach how to analyze data, discover patterns,
not just astronomy
• 3.7 million project hits,
1.25 million page views
of educational content
• More than 4000 textbooks
• On the whole web site: 44 million web hits
• Largely a volunteer effort by many individuals
• Matches the 2020 curriculum
1
Ju
l-0
1
O
ct
-0
1
Ja
n02
Ap
r-0
2
Ju
l-0
2
O
ct
-0
2
Ja
n03
Ap
r-0
3
Ju
l-0
3
O
ct
-0
3
Ja
n04
80,000
70,000
60,000
50,000
40,000
30,000
20,000
10,000
0
Ap
r-0
Page views
SkyServer project page views
Date