parameter description language: describing parameters (and ... · building our solution our goal is...
TRANSCRIPT
![Page 1: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/1.jpg)
Puna InterOp 17/10/2011
Parameter Description Language: describing parameters (and their constraints)
within the Virtual Observatory
Carlo Maria Zwölf, Franck Le Petit, Paul Harrison.
![Page 2: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/2.jpg)
Recall the context● In Naples we presented some ideas fur further developments in the
UWS
![Page 3: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/3.jpg)
Recall the context● In Naples we presented some ideas for further developments in the
UWS
● We have start working on a layer we called Parameter description language.
![Page 4: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/4.jpg)
Recall the context● In Naples we presented some ideas for further developments in the
UWS
● We have start working on a layer we called Parameter description language.
● It quickly appeared that this layer
● Could work as an additional (and optional) component of UWS● Could be profitable transversally into the VO context.● Makes interoperability straightforward by checking automatically
if two (or more) services could be 'piped' into a given workflow
![Page 5: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/5.jpg)
Recall the context● In Naples we presented some ideas for further developments in the
UWS
● We have start working on a layer we called Parameter description language.
● It quickly appeared that this layer
● Could work as an additional (and optional) component of UWS● Could be profitable transversally into the VO context.● Makes interoperability straightforward by checking automatically
if two (or more) services could be 'piped' into a given workflow
● Our needs comes from the requirements of Theory Group: they would like to deploy online codes with complex sets of in(out)put data making them interoperable with databases (Sim-DB, spectra, images,...).
![Page 6: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/6.jpg)
Building our solution
Our goal is
● Finely describe the set of parameters (inputs & outputs) of a given service (in the largest informatics sense) in a way that
● Could be understood easily by humans● Could be interpreted and handled by a computer
![Page 7: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/7.jpg)
Building our solution
Our goal is
● Finely describe the set of parameters (inputs & outputs) of a given service (in the largest informatics sense) in a way that
● Could be understood easily by humans● Could be interpreted and handled by a computer
● Describe complex relations and constraints on and between parameters
![Page 8: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/8.jpg)
Building our solution
Our goal is
● Finely describe the set of parameters (inputs & outputs) of a given service (in the largest informatics sense) in a way that
● Could be understood easily by humans● Could be interpreted and handled by a computer
● Describe complex relations and constraints on and between parameters
![Page 9: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/9.jpg)
Building our solution
Our goal is
● Finely describe the set of parameters (inputs & outputs) of a given service (in the largest informatics sense) in a way that
● Could be understood easily by humans● Could be interpreted and handled by a computer
● Describe complex relations and constraints on and between parameters
![Page 10: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/10.jpg)
Building our solution
Our goal is
● Finely describe the set of parameters (inputs & outputs) of a given service (in the largest informatics sense) in a way that
● Could be understood easily by humans● Could be interpreted and handled by a computer
● Describe complex relations and constraints on and between parameters
Existing products (ex. Apache Wadl) do not have this fine required descriptive capabilities.
![Page 11: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/11.jpg)
Building our solution
Our goal is
● Finely describe the set of parameters (inputs & outputs) of a given service (in the largest informatics sense) in a way that
● Could be understood easily by humans● Could be interpreted and handled by a computer
● Describe complex relations and constraints on and between parameters
Existing products (ex. Apache Wadl) do not have this fine required descriptive capabilities.
Our ideas lead to a working solution fitting our requirements.
![Page 12: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/12.jpg)
The working solution● The grammar and syntax for building parameters description are
fixed in a XML schema:
http://code.google.com/p/vo-param/source/browse/trunk/model/src/schema/UWS2-V1.1.xsd
![Page 13: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/13.jpg)
The working solution● The grammar and syntax for building parameters description are
fixed in a XML schema:
http://code.google.com/p/vo-param/source/browse/trunk/model/src/schema/UWS2-V1.1.xsd
● In practice:● Service providers (unless they want) don't need to handle directly the XSD file
A GUI and an ad hoc command line framework will be provided for composing the service description in few clicks
(This development is a part of a course that will take place during the first half 2012)
![Page 14: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/14.jpg)
The working solution● The grammar and syntax for building parameters description are
fixed in a XML schema:
http://code.google.com/p/vo-param/source/browse/trunk/model/src/schema/UWS2-V1.1.xsd
● In practice:● Service providers (unless they want) don't need to handle directly the XSD file
A GUI and an ad hoc command line framework will be provided for composing the service description in few clicks
(This development is a part of a course that will take place during the first half 2012)
● With our protocol, one could easy express
– All the possible mathematical expressions involving parameters
– All the possible conditional sentences (provided they have a logical sense)
![Page 15: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/15.jpg)
The working solution● The grammar and syntax for building parameters description are
fixed in a XML schema:
http://code.google.com/p/vo-param/source/browse/trunk/model/src/schema/UWS2-V1.1.xsd
● In practice:● Service providers (unless they want) don't need to handle directly the XSD file
A GUI and an ad hoc command line framework will be provided for composing the service description in few clicks
(This development is a part of a course that will take place during the first half 2012)
● All the following examples are automatically generated from Java code using the JaxB Api.
● With our protocol, one could easy express
– All the possible mathematical expressions involving parameters
– All the possible conditional sentences (provided they have a logical sense)
![Page 16: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/16.jpg)
• Code modeling the micro-physics of interstellar clouds (used to interpret HERSCHEL observations)
• Already Implemented in Astrogrid (CEA) in 2007.
• Incident radiation feld• observer and back side• ISRF intensity• Type of stellar spectrum• distance of the star• ...
• Grains properties• R min and max• Extinction properties• ...
• State equation• isochore (density)• isobare (pressure)• specifc user density profle• ...
Non trivial relationships between parameters
A working example : the PDR code
![Page 17: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/17.jpg)
![Page 18: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/18.jpg)
About the interoperability
![Page 19: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/19.jpg)
About the interoperability
The equality is in the sense that parameters have same
UCDs
UTypes
SkossConcepts
Units
![Page 20: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/20.jpg)
About the interoperability
The equality is in the sense that parameters have same
UCDs
UTypes
SkossConcepts
Units
If the difference is on units, the services are still compatibles: we can build a third service performing the unit change, making interoperability possible.
![Page 21: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/21.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
![Page 22: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/22.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
Set ofAutomatic tools
for
Generating a dynamic GUI for interacting
with service
![Page 23: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/23.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
Set ofAutomatic tools
for
Generating a dynamic GUI for interacting
with service
![Page 24: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/24.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
Set ofAutomatic tools
for
Generating a dynamic GUI for interacting
with service
![Page 25: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/25.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
Set ofAutomatic tools
for
Generating a dynamic GUI for interacting
with service
![Page 26: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/26.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
Set ofAutomatic tools
for
Generating a dynamic GUI for interacting
with service
![Page 27: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/27.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
Set ofAutomatic tools
for
Generating a dynamic GUI for interacting
with service
Generating the checking algorithms for validating
inputs and outputs(according to the description)
![Page 28: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/28.jpg)
Sketch of the integral solution
XML Schema Model
XML Service Description
GUItool
Set ofAutomatic tools
for
Generating a dynamic GUI for interacting
with service
Generating the checking algorithms for validating
inputs and outputs(according to the description)
Computing the interoperabilitybetween all the available
services (by implementingthe previous algorithm)
![Page 29: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/29.jpg)
Concluding remarks
With our formalism:
● Users can easily describe parameters and overall their constraints in a unified way
● Descriptions are human readable and could be understood by computers.
Interoperability graphs connecting services can be computed a priori automatically
It is a consistent step towards a real and integrated interoperability in the VO.
![Page 30: Parameter Description Language: describing parameters (and ... · Building our solution Our goal is Finely describe the set of parameters (inputs & outputs) of a given service (in](https://reader035.vdocument.in/reader035/viewer/2022071218/6052a3a06178ef3bff094f69/html5/thumbnails/30.jpg)
Concluding remarks
With our formalism:
● Users can easily describe parameters and overall their constraints in a unified way
● Descriptions are human readable and could be understood by computers.
Interoperability graphs connecting services can be computed a priori automatically
It is a consistent step towards a real and integrated interoperability in the VO.
Thank you for your kind attention.