It's all about the answers!

Ask a question

Trying to get all modules in RM using OSLC query

Susanta Adhikary (111) | asked Aug 19 '19, 9:11 a.m.
edited Aug 19 '19, 9:15 a.m.
I am using the below query to get all the modules in RM

'oslc.query': 'true',
'projectURL': self.project_uri,
'oslc.prefix': 'rmTypes=<>,dcterms=<>',
'oslc.where': 'rmTypes:ArtifactFormat=<%s>' Module,

'': 'dcterms:title'  

Is the query correct?
I wanted to get a particular Module by name. 
After getting all the modules I am iterating through .//rdfs:member/* and matching dcterms:title with the actual module name. It was working before something happened recently.

Be the first one to answer this question!

Register or to post your answer.