Title: VOEvent Ontology Queries
1VOEvent Ontology Queries
- Elizabeth Auden
- AstroGrid, Mullard Space Science Lab
- VOTech DS5 Reports
- 4th September 2006
- Strasbourg Astronomical Observatory
2VOEvent Ontology Use Cases
- Find all solar flares of x-ray class M or higher
- Find all solar flares or coronal mass ejections
between two dates - Find all coronal mass ejections occurring within
24 hours of a solar flare
3Schemas to Ontologies
- VOEvent1.1.owl OWL-DL ontology hand constructed
from VOEvent 1.1 schema (May 2006, updated August
2006) - http//wiki.eurovotech.org/twiki/bin/view/VOTech/V
oEventOntology - STC1.3.owl OWL-DL ontology hand constructed from
STC 1.3 schema (May 2006) - http//wiki.eurovotech.org/twiki/bin/view/VOTech/S
tcOntology
4Solar VOEvent Packets
- 35,170 solar VOEvent 1.1 packets generated from 3
solar catalogues - NOAA GOES mission solar x-ray flares 1999-2006
- BATSE solar x-ray flares 1991 2000
- SOHO LASCO coronal mass ejections 1996 2005
- VOEvent packets stored as individual XML files on
msslxx.mssl.ucl.ac.uk
5VOEvent XML to N3
- For testing, event-specific elements were
extracted from the VOEvent XML packets and
encoded as N3 - Start / stop date
- Spectral info
- References
- Parameters
- Event concept
- Event IVORN
BATSE7372 a voeVOEvent voeivorn
"ivo//mssl.ucl.ac.uk/BATSEBATSE7372"
voehasName "BATSE 7372"
voehasStartTime "2000-05-26T180300"
voehasStopTime "2000-05-26T180400"
voehasHiLimit 25 voehasLoLimit 300
voehasSpectralUnit "keV"
voehasReference "ftp//umbra.nascom.nasa.gov/pub/
batse/batseplots/batse_7372.ps"
voehasPeakCountsPerSeconds "487"
voehasConcept "Solar Flare".
6Quaestor SPARQL Endpoint
- Norman Grays SPARQL endpoint Quaestor 0.4 beta
installed on msslxv.mssl.ucl.ac.uk. - MSSL Quaestor VOEvent knowledge base
- Created with HTTP PUT upload of knowledge base
N3 description to MSSL Quaestor - VOEvent 1.1 OWL-DL ontology uploaded to
knowledge base with HTTP PUT - Alpha version 1 instance file of solar events
described in N3 uploaded with HTTP PUT
7Quaestor SPARQL Endpoint
8VOEvent SPARQL Queries
- SPARQL queries performed against Quaestor
knowledge base containing ontology and solar
event instance file. - SPARQL query files submitted using HTTP POST
- Return all events basic query to list all
events in instance file. - Return all coronal mass ejections query on
ontology element hasConcept Coronal Mass
Ejection - Return all solar xray flares of class M or
higher query using ontology inference of x-ray
flare and x-ray class M
9SPARQL Query Get Flares
prefix voe lthttp//eurovotech.org/VOEvent1.1.owl
gt select ?name ?concept where ?voevent
voehasConcept ?concept . ?voevent
voehasConcept "Solar Flare" . ?voevent
voehasName ?name
Query
---------------------------------------------
name concept
"NOAA_xray_20000524_1928" "Solar Flare"
"BATSE 7366" "Solar Flare"
"NOAA_xray_20000525_0744" "Solar Flare"
"NOAA_xray_20000524_0908" "Solar Flare"
"NOAA_xray_20000525_0728" "Solar Flare"
"NOAA_xray_20000524_2104" "Solar Flare"
"BATSE 7370" "Solar Flare"
"BATSE 7371" "Solar Flare"
"NOAA_xray_20000524_1615" "Solar Flare"
"NOAA_xray_20000524_1757" "Solar Flare"
"NOAA_xray_20000525_0207" "Solar Flare"
"NOAA_xray_20000525_1132" "Solar Flare"
"BATSE 7369" "Solar Flare"
"NOAA_xray_20000524_1140" "Solar Flare"
"BATSE 7372" "Solar Flare"
"BATSE 7367" "Solar Flare"
"BATSE 7368" "Solar Flare"
---------------------------------------------
Results
10SPARQL Query Get CMEs
prefix voe lthttp//eurovotech.org/VOEvent1.1.owl
gt select ?name ?concept ?linearspeed
?starttime where ?voevent voehasConcept
?concept . ?voevent voehasConcept "Coronal
Mass Ejection" . ?voevent voehasLinearSpeed
?linearspeed . ?voevent voehasStartTime
?starttime . ?voevent voehasName ?name
Query
Results
--------------------------------------------------
---------------------------------------------
name concept
linearspeed starttime
"LASCO20000524T103011_308" "Coronal Mass
Ejection" "521" "2000-05-24T103011"
"LASCO_20000524T090605_339" "Coronal Mass
Ejection" "244" "2000-05-24T090605"
"LASCO20000525T033005_197" "Coronal Mass
Ejection" "460" "2000-05-25T005405"
"LASCO20000524T165405_301" "Coronal Mass
Ejection" "618" "2000-05-24T165405"
"LASCO20000524T140605_277" "Coronal Mass
Ejection" "575" "2000-05-24T140605"
"LASCO20000525T005405_299" "Coronal Mass
Ejection" "420" "2000-05-25T005405"
------------------------------------------------
-----------------------------------------------
11SPARQL Query Operations
Numerical Query CME linear speed gt 400 km/s
prefix voe lthttp//eurovotech.org/VOEvent1.1.owl
gt select ?name ?concept ?starttime
linearspeed where ?voevent voehasConcept
?concept . ?voevent voehasConcept "Coronal
Mass Ejection" . ?voevent voehasStartTime
?starttime . ?voevent voehasLinearSpeed
?linearspeed . ?linearspeed
opnumeric-greater-than 400 . ?voevent
voehasName ?name
Date Query flares observed after 25th May 2000
prefix voe lthttp//eurovotech.org/VOEvent1.1.owl
gt select ?name ?concept ?starttime where
?voevent voehasConcept ?concept . ?voevent
voehasConcept Solar Flare" . ?voevent
voehasStartTime ?starttime . ?startTime
opdateTime-greater-than "2000-05-25T000000" .
?voevent voehasName ?name
12Ongoing Work
- Increase community relevance
- Include astronomical and solar event inferences
in event type ontology - Test VOEvent SPARQL queries against OGLE and GCN
feeds - Java GUI containing pre-defined VOEvent SPARQL
queries and text box for advanced users to define
their own queries - Solar specific demonstrate solar VOEvent SPARQL
queries at HELAS meeting at end of September
13Ongoing Work
- Ontology development
- Define VOEvent knowledge base with multiple
ontologies VOEvent 1.1, STC 1.3, and
hand-constructed event type ontology - Convert VOEvent XML files to individual N3
instances (using XSLT or GRDDL) - Increase number of VOEvent and STC elements
encoded in event N3 instances - Integrate work on UCD ontology effort to enhance
ltparamgt queries
14Ongoing Work
- VOTech interoperability
- Investigate rdfstore module to submit SPARQL
queries to remote VOEvent repositories instead of
instance file in Quaestor knowledgebase test
with VOEvent RSS feed - PLASTICize java interface to offer option to load
URLs contained in VOEvent Reference elements in
applications such as TOPCAT or Aladin. - Solar-specific application load series of FITS
images between event start and stop times into
the SDO streaming tool to watch event in movie
mode.
15Remote SPARQL Queries
Quaestor VOEvent KB (MSSL)
SPARQL Query (curl or GUI)
VOEvent Solar flares
STC 1.3
VOEvent CMEs
VOEvent 1.1
VOEvent GRBs
Event Type
16Conclusions
-
- VOEvent 1.1 and STC 1.3 ontologies completed P
- VOEvent packets generated for solar flares and
coronal mass ejections P - Quaestor SPARQL endpoint used to query these
solar events with regards to VOEvent ontology P - Future work expand event-related inferences,
provide GUI for user queries, migrate to queries
on remote VOEvent repositories