It's all about the answers!

Ask a question

How to find all artifacts that have given attribute(!=null) in RDNG 6.0.1M1?


Dinyo Dinev (311134) | asked Sep 07 '15, 4:16 a.m.
Hi, I find search based on id and I have 3 rsults for "id=1" one is the base artifact and the others 2 are the modules in which it is used. But I want to make a query that filters the modules and displays only the base one. The differences between the two artefacts is that tha base have:
<nav:parent rdf:resource="https://10.0.2.79:9443/rm/folders/_gzGfo0DUEeW98vRabXRPEQ"/>
but the module has:
<rm:boundArtifact rdf:resource="https://10.0.2.79:9443/rm/resources/_hlPHMUDUEeW98vRabXRPEQ"/>
How to make my query that I can return olny one result with the base artifact only. Can I say something like:
give me all artifacts with id=1 which has nav:parent !=null ? Is that possible?

https://10.0.2.79:9443/rm/views?oslc.query=true&projectURL=https%3A%2F%2F10.0.2.79%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_Agw1YEA_EeW98vRabXRPEQ&oslc.prefix=dcterms=http://purl.org/dc/terms/&oslc.select=*&oslc.prefix=dc=http://purl.org/dc/terms/&oslc.where=dc:identifier=1

One answer



permanent link
Donald Nong (14.5k414) | answered Sep 07 '15, 9:00 p.m.
In general (not just RM), OSLC does not provide functions such as exists, not exists, is null or is not null. I believe the best you can do is to filter the results _after_ the OSLC call. You still need to deal with the situation where no results are returned, right?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.