stargazer : a semantic application
DESCRIPTION
Alvaro Graves, James Michaelis, Joshua Shinavier and Giovanni Thenstead Rensselaer Polytechnic Institute Troy, NY, USA. StarGazer : A Semantic Application. Motivation Related Work Benefits of Semantic technologies Implementation Evaluation Conclusions. Agenda. Motivation. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/1.jpg)
StarGazer: A Semantic Application
•Alvaro Graves, James Michaelis, •Joshua Shinavier and Giovanni Thenstead
•Rensselaer Polytechnic Institute•Troy, NY, USA
![Page 2: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/2.jpg)
AgendaMotivation
Related Work
Benefits of Semantic technologies
Implementation
Evaluation
Conclusions
![Page 3: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/3.jpg)
Motivation Scenario
An amateur astronomer is searching for a star in the field.
She forgot her star charts or they don't have the exact information she is looking for....
But... She has her cellphone/iPhone/etc. She has Internet access.
![Page 4: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/4.jpg)
Goals we want to accomplish
Web-based application
Interoperable
Extensible
![Page 5: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/5.jpg)
Use cases (I) Select all the stars from certain area of the sky
and show their name, apparent magnitude, distance and spectral type ordered descending by apparent magnitude.
Export (and publish) a geolocation.
Obtain the information related to certain star.
![Page 6: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/6.jpg)
Related Work
![Page 7: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/7.jpg)
Related Work
• Several related eScience works• VSTO observatory:– system for integrating data from heterogeneous
subdomains in astronomy (solar, space, and solar-terrestrial physics)
– caters to a broad range of user backgrounds, with varying degrees of training in different domains.
![Page 8: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/8.jpg)
Related Work
• While Stargazer not presently focused on domain data integration
• However, it is designed with Semantic Web driven usability in mind.
• Many of these eScience applications like VSTO could be useful in field research settings, but aren’t implemented for this purpose (e.g., no mobile endpoints)
![Page 9: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/9.jpg)
Related Work
• In addition to eScience, lot of prior work on defning domain ontologies for Astronomy and its sub-disciplines.
• Differing functionality aims for these ontologies– Facilitating domain intuitive user queries– Domain data integration from heterogeneous
sources.
![Page 10: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/10.jpg)
Related Work
• In Stargazer domain ontology, one of the primary objectives is to facilitate class hierarchy based inference.
• Domain-intuitive querying not of interest to us, since functionality for direct querying from Stargazer front-end not provided.
• Since we only rely upon central database, heterogeneous data integration not of concern.
![Page 11: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/11.jpg)
Benefits of Semantic Web
![Page 12: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/12.jpg)
What to discuss
• As currently Implemented• Possible improvements
![Page 13: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/13.jpg)
Current Functionality
• Class hierarchy based Inference• Internal function GetAllStars– Runs a query to get back all stars meeting a user
query.
![Page 14: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/14.jpg)
Current FunctionalityIn our ontology, Bunch of kinds of stars in range
Inference used to show these subtypes are kinds of stars, and should be returned
![Page 15: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/15.jpg)
Current Functionality
• Linked data based star descriptions:• Uses Representational state transfer (REST)
functionality to retrieve RDF-based descriptions of individual stars, via dereferenceable URIs
• Allows for very data-specific descriptions to be given for returned results, which could be more cumbersome to implement otherwise.
![Page 16: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/16.jpg)
Future Work
• Data inference driven user querying• Example:– Given: An observer’s position (in degrees latitude and
longitude)– A section of the sky (denoted by right ascension and
declination values)– Query: Find any visible constellations classified in the 1700s– Assuming stars are asserted constellation members, and
constellations given a date of classification, inference could come into play deciding which of these dates fall into the time range “1700s”.
![Page 17: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/17.jpg)
Future Work
• Distributed data access.• Lots of Astronomy data on the web, but few
means of integrating it.• Rather than enter this data into central
repository, could link to it via dereferenceable URIs.
• Our star descriptions provide an example of this functionality
![Page 18: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/18.jpg)
Future Work
• Verifying data credibility• Information regarding the authorship of
certain entities can be asserted. • Through this, users could assert metrics
by which to trust data. • For example, “trust data sources created
by agencies with IAU endorsement.”
![Page 19: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/19.jpg)
Implementation
![Page 20: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/20.jpg)
20
• ontology design• project structure• front end• triple store• Java beans• resource API• source code management
StarGazer Implementation
![Page 21: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/21.jpg)
21
• StarGazer ontology • hierarchy of celestial objects
• RDFS inference• OWL expressivity
• functional properties as documentation• reflected in beans interfaces
• Protégé used for ontology design and data entry
Ontology Design
![Page 22: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/22.jpg)
22
• choice of Java programming language:• prior experience of contributors• tool availability
• IDE-agnostic• Eclipse and IntelliJ IDEA environments used
• built using Maven 2.x• uniform build system• eases dependency management
Project Structure
![Page 23: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/23.jpg)
23
• use of Google Web Development Toolkit (GWT)• web-accessible UI
• support for basic HTML components• client/server architecture bridges JavaScript/Java
boundary• integration with Maven using GWT-Maven
Front-End
![Page 24: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/24.jpg)
24
• use of OpenRDF Sesame framework• previous experience• variety of pluggable components
• RDFS inferencer• MemoryStore Sail implementation
• fast and simple• good for small, static data sets• easily swapped out for persistent / more powerful triple
store• triple store is loaded with the ontology
Triple Store
![Page 25: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/25.jpg)
25
• treats RDF resources as Java objects with “get” and “set” methods for property values• “deep integration” simplifies manipulation of RDF data in
Java• use of OpenRDF Elmo BeanPool tookit
• compatible with Sesame• permits SPARQL-style queries for beans
• Java class hierarchy corresponds to class subsumption hierarchy in StarGazer ontology
Java Beans
![Page 26: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/26.jpg)
26
• search API allows retrieval of celestial objects subject to various constraints• currently: location, time, name, NGC number
• retrieve-all-and-filter• convenient but not scalable
• all available fields are retrieved for returned objects
Search API
![Page 27: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/27.jpg)
27
• all StarGazer resources exposed as Linked Data• includes individuals, classes, and properties
• alternately serve HTML or RDF/XML• using content negotiation
• description contains all statements in which the resource is the subject
• TODO: 303 redirection for resource URIs
Resource API
![Page 28: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/28.jpg)
28
HTML for Resources
![Page 29: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/29.jpg)
29
RDF/XML for Resources
![Page 30: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/30.jpg)
30
• StarGazer project hosted at Google Code• version control using Subversion over HTTPS• check out a copy from:
• http://stargazer.googlecode.com/
Source Code Management
![Page 31: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/31.jpg)
Conclusions StarGazer is an amateur astronomer assistant
It take advantage of semantic technologies, such as OWL to allow interoperability
The ontology created is extensible as well as the application
![Page 32: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/32.jpg)
Evaluation
![Page 33: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/33.jpg)
Evaluation: Goals
• Implicit Testing– Testing how well custom application interfaces with our API.
• Explicit Testing– Measuring against current web services for star gazing and
tracking.
• Durability Testing– How well does the annotation system works.– Test and compare annotated catalog against competitors.
![Page 34: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/34.jpg)
Evaluation: Preamble
• Test Bed:– IBM Thinkpad T60– 2.0 GHz Intel Duo Core T25000– 2.5 GB RAM @ 2.0GHz– Windows XP, Service Pack 3– Java JDK 6 Update 5
• Metrics:– Retrieval Success and Speed• Search by Location• Search by Name• Search by NGC No.
![Page 35: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/35.jpg)
Evaluation: Data Store
• Consists of equatorial coordinates for mapping star spatial dimensions.– Latitudinal and Longitudinal– Right accession and Declination coordinates– Time in day, month, year, hour, minutes, and
seconds.
• Limited, but useful for testing accuracy and speed benchmarks.
![Page 36: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/36.jpg)
Evaluation: Interfacing API with Custom App
![Page 37: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/37.jpg)
Evaluation: Extending Annotation System
• How does our API matchup against existing Sky-gazing applications?– Test retrieval success– Annotation success
![Page 38: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/38.jpg)
Evaluation: Extension to Google™ Sky
![Page 39: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/39.jpg)
Conclusions
• Much more work to be done– Way to successful extend Google Sky™ and other
web services.– Improving query response• Possible to offload data to multiple stores, improving
access– Porting APIs to languages
![Page 40: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/40.jpg)
Conclusions
![Page 41: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/41.jpg)
Future work Add user information, such as notes and comments
Possibility of adding information about planets and other celestial objects
Redevelop using AJAX, making a nicer interface
Look into implementing Semantic Web based functionality extensions mentioned earlier.
![Page 42: StarGazer : A Semantic Application](https://reader036.vdocument.in/reader036/viewer/2022062310/56816260550346895dd2bc0c/html5/thumbnails/42.jpg)
Thanks for your time