10 likes | 125 Views
Center of Excellence. www.scidesign.org. Sharing Resources to Advance Research and Education through Cyber-infrastructure. Visualization Queries:. A Declarative Approach To Generating Visualizations Using the Semantic Web. ED. X-INF. Nicholas Del Rio and Paulo Pinheiro da Silva. ES. GEO.
E N D
Center of Excellence www.scidesign.org Sharing Resources to Advance Research and Education through Cyber-infrastructure Visualization Queries: A Declarative Approach To Generating Visualizations Using the Semantic Web ED X-INF Nicholas Del Rio and Paulo Pinheiroda Silva ES GEO University of Texas at El Paso Computer Science Trust Lab ndel2@miners.utep.edu and paulo@utep.edu CI Query Processing Background • Visualization toolkits, such as Generic Mapping Tools (GMT) and Visualization Toolkit (VTK), consist of a suite of visualization operators from which users can chain together and build visualization applications. • Using these toolkits can be challenging because users must: • developthe applications using procedural code, and thus • understand implementation details associated with each operator, including input/output formats, parameters, and function. • A knowledge enhanced management system ingests the query and knows how to derive visualization pipelines. The system applies a set of rules for composing pipelines defined by the Web Ontology Language (OWL) and SPARQL queries. • Input format of first pipeline operator must match format of data • Output format of operator must match input format of following operator • Output format of final operator must match input format of viewer • Pipelines must contain an operator that generates the requested view • Pellet is used to derive the pipelines provided: • Information specified in the query • Pipeline composition rules • Knowledge base of toolkit operators Visualization Query Language With the goal of improving scientists’ experience using visualization technology, we have applied the query-answering pattern to a visualization setting, where scientists specify what visualizations they want generated using a declarative SQL-like notation known as Visualization Query. PREFIX formats http://utep.edu/formats.owl# PREFIX types http://utep.edu/HolesCodeWDO.owl# PREFIX visko http://utep.edu/visko.owl# PREFIX params http://utep.edu/MapperParams.owl# SELECT visko:isosurfaces IN-VIEWER visko:firefox FROM http://rio.cs.utep.edu/HolesCodeFullPML/time.3d FORMAT formats:BINARYFLOATARRAY TYPE types:d2 WHERE params:xRotation= 104 AND params:yRotation= 0 AND params:zRotation= 0 Prefix Section (optional) View and Viewer Specification Data Characterization Parameter Bindings (optional) Geometry Format/Type Example: Velocity Model isa hasInput/Output PREFIX formats http://rio.cs.utep.edu/ciserver/ciprojects/formats/ PREFIX types http://rio.cs.utep.edu/ciserver/ciprojects/HolesCode/HolesCodeWDO.owl# PREFIX visko http://rio.cs.utep.edu/ciserver/ciprojects/visko/ PREFIX params http://trust.utep.edu/visko/services/vtkVolumeService.owl# SELECT *IN-VIEWER visko:firefox FROM http://rio.cs.utep.edu/ciserver/ciprojects/vel.3d FORMAT formats:BINARYFLOATARRAY TYPE types:d2 The wild card (*) symbol was used in place of the view, resulting in multiple visualizations. Operator Parameter View hasParam buildsView No parameter bindings, system will roll back to defaults Knowledge Base of Toolkit Operators • The pipeline composition rules are applied to a knowledge base of visualization toolkit operators, ranging from Visualization Toolkit (VTK), NCAR Command Language (NCL), and Generic Mapping Tools (GMT). • Each toolkit operator description is encoded in the Resource Document Framework (RDF), and includes: • The input formats ingested • The output format of the data produced • The classification of the operator (e.g., viewer, transformer, mapper) • The generated view if the operator is a mapper Example: Environmental Data PREFIX visko http://rio.cs.utep.edu/ciserver/ciprojects/visko/ PREFIX params http://trust.utep.edu/visko/services/netCDFTimeSeries.owl# SELECT visko:XYPlotIN-VIEWER visko:firefox FROM http://cybershare.utep.edu:8080/opendap/data/nc/average_data.nc FORMAT http://rio.cs.utep.edu/ciserver/ciprojects/pmlp/NETCDF.owl#NETCDF TYPE visko:e1 WHERE params:title = Average-Data AND params:xDimSize = 338 AND params:xDimName = time AND params:yRAxisLabel = Mean-CO2 AND params:rPlotVariablesList = mean_CO2 AND params:yLAxisLabel = Mean-H2O-HMP AND params:lPlotVariablesList = mean_H2O_hmp dim, scalar type, byte order interval, color function {color function} {magnification} Vtk PolyData Mapper vtk Contour Filter vtkImage Reader vtkJPEG Writer Parameter bindings fully specified vtkRender Window vtkPolyData vtkImageData implementedBy OWL-Service Parameters controlled the plot annotation (e.g., titles and labels) http://trust.utep.edu/visko Supported in part by the National Science Foundation under Grant No. HRD-0734825. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.