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=""/>
but the module has:
<rm:boundArtifact rdf:resource=""/>
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?*&oslc.prefix=dc=

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.