How to pass Artifact URL as a filter in OSLC Query where clause (DOORS Next Generartion 5.0.2)
Hi,
I want to pass artifact URL as a filter to OSLC query where clause.
I have tried the following code snippet :
OslcQueryParameters queryParams = new OslcQueryParameters();
queryParams.setPrefix("rdf=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>");
queryParams.setWhere("rdf:about=<https://localhost:9443/rm/resources/_kleppzqIEeW_svemam2HRw>");
queryParams.setSelect("*");
OslcQuery query = new OslcQuery(client, queryCapability, queryParams);
//client and queryCapability are properly initialized
OslcQueryResult result = query.submit();
int resultsSize = result.getMembersUrls().length;
//resultsSize is always 0.
Is 'rdf:about' the correct property to be queried for artifact URL?
Is there any other property to fetch artifacts based on their URL value?