Using Regular expressions for DNG filtering and searching?
ed Neubecker (153●2●26●47)
| asked Mar 13 '18, 2:38 p.m.
JAZZ DEVELOPER retagged Feb 07 '19, 7:41 a.m. by Minakshi Jaint (511●3) Does DNG support any query language for advance filtering?
|
Accepted answer
Ian Barnard (1.9k●6●13)
| answered Mar 14 '18, 6:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Mar 14 '18, 6:45 a.m. 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
|
3 other answers
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. |
Thanks for the guidance on using LQE and RB. Very useful ideas to help.
|
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!
|
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.