Changes between Version 28 and Version 29 of SQR
- Timestamp:
- Nov 5, 2010, 1:21:21 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SQR
v28 v29 147 147 <requestResource> 148 148 <resourceSpecification> 149 <tag> room</tag>149 <tag>apartment</tag> 150 150 </resourceSpecification> 151 151 <AdvancedSpecification> … … 169 169 {{{ 170 170 <requestResourceDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 171 <Selector xsi:type="ResourceSelector" >171 <Selector xsi:type="ResourceSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 172 172 <Type>Resource</Type> 173 <ResourceID>123</ResourceID>174 173 <AdvResourceSpecification> 175 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema# 176 PREFIX ard: <http://www.ict-sensei.org/AdvancedResourceDescription# 177 PREFIX om: <http://www.ict-sensei.org/ObservationAndMeasurement# 178 SELECT ?description 179 WHERE { 180 ?description ard:hasSemanticOperationDescription ?operation . 181 ?operation ard:hasOutput ?output . 182 ?output ard:hasInformationType ?out_infoType . 183 ?out_infoType rdfs:subClassOf om:HumanPresence . } 174 <![CDATA[ 175 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 176 PREFIX ard: <http://www.ict-sensei.org/AdvancedResourceDescription#> 177 PREFIX om: <http://www.ict-sensei.org/ObservationAndMeasurement#> 178 SELECT ?description 179 WHERE { 180 ?description ard:hasSemanticOperationDescription ?operation . 181 ?operation ard:hasOutput ?output . 182 ?output ard:hasInformationType ?out_infoType . 183 ?out_infoType rdfs:subClassOf om:HumanPresence . } 184 ]]> 184 185 </AdvResourceSpecification> 185 186 </Selector> … … 193 194 <Selector xsi:type="ContextSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 194 195 <Type>Context</Type> 195 <EntityID> 123456</EntityID>196 <EntityID>Apartment123456</EntityID> 196 197 <EntityType>http://www.ict-sensei.org/EntityOfInterest#Apartment</EntityType> 197 <Attribute> hasSeenPerson</Attribute>198 <Attribute>personPresent</Attribute> 198 199 </Selector> 199 200 </requestResourceDescription> … … 207 208 {{{ 208 209 <SimpleEDQuery> 209 <EoI> room333</EoI>210 <EntityType>http://www.ict-sensei.org/EntityOfInterest# MeetingRoom</EntityType>211 <Attribute> hasTemperature</Attribute>210 <EoI>Apartment123456</EoI> 211 <EntityType>http://www.ict-sensei.org/EntityOfInterest#Apartment</EntityType> 212 <Attribute>personPresent</Attribute> 212 213 <IOPEType>Output</IOPEType> 213 214 </SimpleEDQuery> … … 221 222 <ObservationArea>59.402925968170166-17.94867753982544</ObservationArea> 222 223 <Output> 223 <EoI> room333</EoI>224 <EntityType>http://www.ict-sensei.org/EntityOfInterest# MeetingRoom</EntityType>225 <Attribute> hasTemperature</Attribute>224 <EoI>Apartment123456</EoI> 225 <EntityType>http://www.ict-sensei.org/EntityOfInterest#Apartment</EntityType> 226 <Attribute>personPresent</Attribute> 226 227 </Output> 227 228 </JokerBinding> … … 238 239 <Selector xsi:type="ContextSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 239 240 <Type>Context</Type> 240 <EntityID> 123456</EntityID>241 <EntityID>Apartment123456</EntityID> 241 242 <EntityType>http://www.ict-sensei.org/EntityOfInterest#Apartment</EntityType> 242 243 <Attribute>personPresent</Attribute> … … 250 251 <requestInformation> 251 252 <Selector xsi:type="ResourceSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 252 </Selector> 253 <Type>Resource</Type> 254 <ResourceID>123</ResourceID> 255 <OperationID>req_value</OperationID> 256 </Selector> 253 257 </requestInformation> 254 258 }}} … … 264 268 <Selector xsi:type="ContextSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 265 269 <Type>Context</Type> 266 <EntityID> 123456</EntityID>270 <EntityID>Apartment123456</EntityID> 267 271 <EntityType>http://www.ict-sensei.org/EntityOfInterest#Apartment</EntityType> 268 272 <Attribute>personPresent</Attribute> … … 280 284 {{{ 281 285 <subscribeInformation> 282 <Selector xsi:type="ContextSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 283 </Selector> 286 <Selector xsi:type="ResourceSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 287 <Type>Resource</Type> 288 <ResourceID>123</ResourceID> 289 <OperationID>req_value</OperationID> 290 </Selector> 284 291 <NotificationCondition> 285 292 <OnlyOnChange>true</OnlyOnChange>