Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Using Regular expressions for DNG filtering and searching?

Does DNG support any query language for advance filtering?
Looking for guidance on if Regular expressions, or some other query language can be used to help with something more than just simple text searching.



0 votes


Accepted answer

Permanent link

If you have LQE then you can use SPARQL against the LQE Sparql endpoint. I've done this using python and I'm sure it's possible in other languages that can invoke http calls.


Or if you have LQE and Report Builder, then you can use RB to create the basic query you want, then edit the RB-generated SPARQL if you want to go beyond what RB's graphic report builder can do - or replace the SPARQL and use handwritten - using RB has the advantage of subsequent better usability of the query/report than having done some python/java/whatever coding to use the sparql endpoint.

ed Neubecker selected this answer as the correct answer

0 votes


3 other answers

Permanent link

In the past, we have converted the DNG content in a separate triplestore and then run SPARQL queries supporting regular expressions against the content in the triplestore. 

0 votes


Permanent link

Thanks for the guidance on using LQE and RB. Very useful ideas to help.

To be complete, I am now looking for the "wild card" rules associated with the text search box that can be associated with a DNG filter.  It seems to be restricted to just the *  wildcard and I'd like to confirm this is the only wildcard that can be used for searching within DNG search windows.

Here is a reference to the DNG Infocenter on this feature.



0 votes


Permanent link

Is it possible to use regular expressions in DNG attribute filters?

I have a string type attribute that I need to search for more than one value, but DNG doesn't allow more than one filter per attribute.
It would solve my problem if DNG supported regexp in the filter settings!

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,381

Question asked: Mar 13 '18, 2:38 p.m.

Question was seen: 5,802 times

Last updated: Feb 07 '19, 7:41 a.m.

Confirmation Cancel Confirm