wiki:RuSqr

Version 6 (modified by zach, 13 years ago) (diff)

--

Semantic Query Interface

The web interface leverages the Freemarker template engine and allows users to access the SQR main functionalities.

Table of Contents

  1. Index Page
  2. Request Resources
  3. Request Information
  4. Actuate
  5. Lookup Bindings
  6. Subscribe

Index Page

From the index page at http://host:port/sqr/, you can select the functionality you want to access from the top menu.

Request Resources

From this page you can lookup resource descriptions either directly from the RD interface or through selector queries.

Request Information

From this page you can request a piece of information using a selector query.

Actuate

From this page you can excute an actuation task.

No image "SQRActuate.jpg" attached to RuSqr

Lookup Bindings

From this page you can lookup the entries within the ED. You can do so either by using the form for simple queries or an XML Stream for complex ones.

For a simple query, a validation process takes place on the server side to verify that the following set of rules is satisfied.

The four first fields i.e. ID, !ResourceID, Operation, ObservationArea do not have any specific requirements.

When one of the fields !EoI, Attribute, EntityType, Value, QoA, QoI, Cost, an IOPEType has to be specified. As a matter of fact this part of the lookup will try to identify tuples of parameters e.g. (!EoI, EntityType) when an EoI and an EntityType are specified that belongs to the same type of IOPE, for instance Input. The IOPEType parameter can take a value in the set {Input, Output, PreCondition, PostCondition, any}. The GUI returns a set of bindings matching the request.

For a complex query, the Template has to match the schema specified at https://ncit-cluster.grid.pub.ro/trac/Sensei-Cookbook/attachment/wiki/ED/binding.xsd, the server returns an error otherwise.

Subscribe

No image "DQRSubscribe.jpg" attached to RuSqr


Attachments (11)

Download all attachments as: .zip