It is possible to query for resources of the form: "Find all resources that have any property whose value is given". This type of query is useful from the point of view of another service provider who might want to know if the DM server is managing any resource that has any type of relationship to a resource that it is managing.
Request:
Query Parameters
GET https://example.com:9435/dm/oslcquery/_ro-fIPdeEeGIbrXzZZZ7PA?oslc.where=*%3D%3Chttps%3A%2F%2Fdodo%3A9443%2Fdm%2Fmodels%2F124%3E HTTP/1.1
Headersoslc.where=*=<https://example.com:9443/dm/models/124>
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
Response:
Headers
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/rdf+xml
Content-Length: 642
Date: Thu, 27 Sep 2012 13:39:16 GMT
<?xml version="1.0" encoding="UTF-8"?> <rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc="http://open-services.net/ns/core#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="https://example.com:9435/dm/oslcquery/_ro-fIPdeEeGIbrXzZZZ7PA?page=0&pageToken=&oslc.where=*%3D%3Chttps%3A%2F%2Fdodo%3A9443%2Fdm%2Fmodels%2F124%3E"> <oslc:totalCount rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</oslc:totalCount> <dcterms:title>OSLC AM Query Response</dcterms:title> <rdf:type rdf:resource="http://open-services.net/ns/core#ResponseInfo"/> </rdf:Description> </rdf:RDF>