VO Registry & China VO DAS
路勇
中国虚拟天文台研发团队
Chinese Virtual Observatory
11/29-12/03China-VO 2006, Guilin 2
Index
•VO Registry
•DAS and Registry
•Get Image and Spectral by ADQL
11/29-12/03China-VO 2006, Guilin 3
VO Registry
•Registry: A repository of structured descriptions of resources
•Expressed as structured metadata
•Resource: Anything can be a Resource
•Unique Identifier
11/29-12/03China-VO 2006, Guilin 4
VO Registry
The IVOA Registry allow astronomers to be able to locate, get details of, and make use of, any resource located anywhere in the IVO space, i.e. in any Virtual Observatory.
The IVOA will define the protocols and standards whereby different registry services are able to interoperate and thereby realise this goal.
11/29-12/03China-VO 2006, Guilin 5
VO Registry
Searchable registry
Publishing registry
Full registry
Local registry
11/29-12/03China-VO 2006, Guilin 6
VO Registry
Searchable Registry : allows users and client applications to search for resource records using selection criteria against the metadata contained in the records.
Publishing Registry : simply exposes its resource descriptions to the VO environment in a way that allows those descriptions to be harvested.
11/29-12/03China-VO 2006, Guilin 7
VO Registry
•Full registry: attempts to contain records of all resources known to the VO.
•Local Registry: contains only a subset of known resources.
11/29-12/03China-VO 2006, Guilin 8
Local PublishingRegistry Local
SearchableRegistry
FullSearchableRegistry
Local PublishingRegistry
FullSearchableRegistry
DataCenters
VOProjects
SpecializedPortals & Services
Registry Framework
11/29-12/03China-VO 2006, Guilin 9
Local PublishingRegistry Local
SearchableRegistry
FullSearchableRegistry
Local PublishingRegistry
FullSearchableRegistry
DataCenters
VOProjects
SpecializedPortals & Services
Registry Framework
harvest(pull)
11/29-12/03China-VO 2006, Guilin 10
Local PublishingRegistry Local
SearchableRegistry
FullSearchableRegistry
Local PublishingRegistry
FullSearchableRegistry
DataCenters
VOProjects
SpecializedPortals & Services
Registry Framework
harvest(pull)
replicate
11/29-12/03China-VO 2006, Guilin 11
Local PublishingRegistry Local
SearchableRegistry
FullSearchableRegistry
Local PublishingRegistry
FullSearchableRegistry
DataCenters
VOProjects
SpecializedPortals & Services
Registry Framework
harvest (pull)
replicate
selectiveharvesting
11/29-12/03China-VO 2006, Guilin 12
Local PublishingRegistry Local
SearchableRegistry
FullSearchableRegistry
Local PublishingRegistry
FullSearchableRegistry
DataCenters
VOProjects
SpecializedPortals & Services
ClientApplications
searchqueries
Registry Framework
11/29-12/03China-VO 2006, Guilin 13
Local PublishingRegistry Local
SearchableRegistry
FullSearchableRegistry
Local PublishingRegistry
FullSearchableRegistry
DataCenters
VOProjects
SpecializedPortals & Services
ClientApplications
searchqueries
Registry Framework
11/29-12/03China-VO 2006, Guilin 14
VO Registry
•Resources and Services can be searched for based on their characteristics
•Query results returned in machine-interpretable form
•It should be possible to uniquely retrieve a description of a resource or service either via a unique ID or via a small and predictable set of metadata.
11/29-12/03China-VO 2006, Guilin 15
VO Registry
•Be easy for data/service provider to register a new service.
•Be easy or automatic to update the metadata associated with a resource or service.
•Be easy to unregister a resource and service
•The registry should expect that registered services may become temporarily unavailable.
11/29-12/03China-VO 2006, Guilin 16
Registering your Resource
•First, just enter the description into registration form at one of the available registries:•STScI/JHU Registry: http://nvo.stsci.edu/voregistry/•NCSA Registration Portal: http://nvo.ncsa.uiuc.edu/nvoregistration.html•Caltech Carnivore: http://mercury.cacr.caltech.edu:8080/carnivore/
11/29-12/03China-VO 2006, Guilin 17
Registering your Resource
•Secondly, if you have a large number of resources to register, you can run your own registry on your own site:•NCSA VORegistry-in-a-Box http://nvo.ncsa.uiuc.edu/VO/software/
•Caltech Carnivore: http://mercury.cacr.caltech.edu:8080/carnivore/
11/29-12/03China-VO 2006, Guilin 18
Registry Interface
•Defining a standard query and harvesting interface.
•This will allow the communication between registries to be a standard, and allow external implementations that need access to a registry a standard for querying the Registry.
11/29-12/03China-VO 2006, Guilin 19
VO Registry & China VO DAS
11/29-12/03China-VO 2006, Guilin 20
Using Registry to get Data Resource
通过 Registry 获得 Data Resource 信息:1查询 Registry
2解析查询结果3生成 Metadata 对象4填充 DataResourceMap
11/29-12/03China-VO 2006, Guilin 21
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDItemCollection
11/29-12/03China-VO 2006, Guilin 22
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDTable
MDItemCollection
name
MDFiled
description
name
ucd
unit
description
datatype
11/29-12/03China-VO 2006, Guilin 23
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDItemCollection
MDItemResolution
MDItemCoverage
Facility
Instrument
Formats, etc
Spectral, Spectral
Region of Regards, Bandpass, etc
11/29-12/03China-VO 2006, Guilin 24
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDItemCollection
DataQuality
11/29-12/03China-VO 2006, Guilin 25
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDItemCollection
Title
Shortname
Identifer
11/29-12/03China-VO 2006, Guilin 26
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDItemCollection
Publisher
PublisherID
Creator
Date
ContactName
ContactEmail
11/29-12/03China-VO 2006, Guilin 27
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDItemCollection
Subject
Description
ReferenceURL
Type
Source, etc
11/29-12/03China-VO 2006, Guilin 28
VO Registry & China VO DAS
Metadata
MDDataResource
MDItemDataQuality
MDItemIdentity
MDItemCuration
MDItemGeneralContent
MDItemService
MDItemCollection
MDItemServiceInterface
MDItemServiceCapibility
11/29-12/03China-VO 2006, Guilin 29
Resource Metadata: XML Schema
<?xml version="1.0" encoding="utf-8"?><ArrayOfDBResource xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.us-vo.org">
<DBResource xsi:type="ServiceSkyNode"><dbid>5963</dbid><status>1</status><Identifier>ivo://archive.stsci.edu/galex/SKYNODE</Identifier><Title>Galaxy Evolution Explorer</Title><ShortName>GALEX</ShortName><CurationPublisherName>STScI</CurationPublisherName><CurationCreatorName>Alberto Conti</CurationCreatorName>…………………………
<PrimaryTable>Photoprimary</PrimaryTable><PrimaryKey>objid</PrimaryKey>
</DBResource>
11/29-12/03China-VO 2006, Guilin 30
Resource Metadata: XML Schema
<?xml version="1.0" encoding="utf-8"?><ArrayOfDBResource xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.us-vo.org">
<DBResource xsi:type="ServiceSkyNode"><dbid>5963</dbid><status>1</status><Identifier>ivo://archive.stsci.edu/galex/SKYNODE</Identifier><Title>Galaxy Evolution Explorer</Title><ShortName>GALEX</ShortName><CurationPublisherName>STScI</CurationPublisherName><CurationCreatorName>Alberto Conti</CurationCreatorName>…………………………
<PrimaryTable>Photoprimary</PrimaryTable><PrimaryKey>objid</PrimaryKey>
</DBResource>
11/29-12/03China-VO 2006, Guilin 31
VO Registry & VO Table
<?xml version="1.0"?><VOTABLE version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.ivoa.net/xml/VOTable/VOTable/v1.1"><COOSYS ID="J2000" equinox="J2000." epoch="J2000." system="eq_FK5"/><RESOURCE name="BADCDAITEST">
<TABLE name="sdss"><DESCRIPTION>Velocities and Distance estimations</DESCRIPTION><FIELD name="ra" ID="col1" ucd="pos.eq.ra;meta.main" ref="J2000"
datatype="float" width="6" precision="2" unit="deg"/><FIELD name="decl" ID="col2" ucd="pos.eq.dec;meta.main" ref="J2000"
datatype="float" width="6" precision="2" unit="deg"/></TABLE>
</RESOURCE></VOTABLE>
11/29-12/03China-VO 2006, Guilin 32
Get Image by ADQL
•用户提交 ADQL 查询语句•解析 ADQL
•如果涉及到 Image 查询, OGSA DAI 中的 activity 查询虚拟的“图像数据库”。
•查询的结果按照用户的需求放在指定的URL