Query for all resources that are of type RSA UML Interface. The oslc.where query parameter specifies the type as http://jazz.net/ns/dm/rsa/uml#Interface
. The results are return as rdfs:member
properties of the return resource. Only the resource URI is returned (no oslc.select
query parameter).
Request:
Query Parameters
GET https://example.com:9435/dm/oslcquery/_ro-fIPdeEeGIbrXzZZZ7PA?oslc.where=rdf%3Atype%3D%3Chttp%3A%2F%2Fjazz.net%2Fns%2Fdm%2Frsa%2Fuml%23Interface%3E HTTP/1.1
Headersoslc.where=rdf:type=<http://jazz.net/ns/dm/rsa/uml#Interface>
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: 1204
Date: Thu, 27 Sep 2012 13:39:21 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#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <rdf:Description rdf:about="https://example.com:9435/dm/oslcquery/_ro-fIPdeEeGIbrXzZZZ7PA"> <rdfs:member rdf:resource="https://example.com:9435/dm/models/529"/> <rdfs:member rdf:resource="https://example.com:9435/dm/models/229"/> <rdfs:member rdf:resource="https://example.com:9435/dm/models/226"/> <rdfs:member rdf:resource="https://example.com:9435/dm/models/222"/> </rdf:Description> <rdf:Description rdf:about="https://example.com:9435/dm/oslcquery/_ro-fIPdeEeGIbrXzZZZ7PA?page=0&pageToken=&oslc.where=rdf%3Atype%3D%3Chttp%3A%2F%2Fjazz.net%2Fns%2Fdm%2Frsa%2Fuml%23Interface%3E"> <oslc:totalCount rdf:datatype="http://www.w3.org/2001/XMLSchema#int">4</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>