Changes between Version 19 and Version 20 of SQR


Ignore:
Timestamp:
Nov 5, 2010, 9:07:19 AM (14 years ago)
Author:
claudia.villalonga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SQR

    v19 v20  
    1414
    1515* http://hostname:port/sqr/ : SQR index page
    16 * http://hostname:port/sqr/requestResDesc : Lookup resource descriptions (involving RD and ED lookups), simple and selector-based queries. See [[#Messages]] for the messages handled by this resource.
     16* http://hostname:port/sqr/requestResDesc : Lookup resource descriptions (involving RD and ED lookups), simple and SPARQL-based queries. See [[#Messages]] for the messages handled by this resource.
    1717* http://hostname:port/sqr/requestBinding : Lookup bindings on the ED, simple queries. See [[#Messages]] for the messages handled by this resource.
    1818* http://hostname:port/sqr/requestBindingIOPP : Lookup bindings on the ED, template queries. See [[#Messages]] for the messages handled by this resource.
     
    140140=== Request Resource Description ===
    141141
    142 The lookup for resource descriptions requires sending the following request HTTP POST http://hostname:port/sqr/requestResDesc .
    143 
    144 For the simple case.
    145 
    146 
    147 For the selector-based queries, the body of the message contains the following XML:
     142The lookup for resource descriptions requires sending the following request HTTP POST http://hostname:port/sqr/requestResDesc with the XML in the body:
     143
     144{{{
     145<requestResource>
     146        <resourceSpecification>
     147                <tag>bus</tag>
     148        </resourceSpecification>
     149        <AdvancedSpecification>
     150                <![CDATA[
     151                        PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
     152                        PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
     153                        PREFIX ard: <http://www.ict-sensei.org/AdvancedResourceDescription#>
     154                        PREFIX om: <http://www.ict-sensei.org/ObservationAndMeasurement#>
     155                        SELECT ?description
     156                        WHERE {
     157                             ?description ard:hasSemanticOperationDescription ?operation .
     158                             ?operation ard:hasOutput ?output .
     159                             ?output ard:hasInformationType ?out_infoType .
     160                             ?out_infoType rdfs:subClassOf om:HumanPresence . }
     161                ]]>
     162        </AdvancedSpecification>
     163</requestResource>
     164}}}
    148165
    149166=== Request Binding ===