PQL
PQL is a special-purpose programming language for managing process models based on information about that these models describe.
A more profound description on PQL can be found on http://processquerying.com/pql/.Example
SELECT * FROM * WHERE AlwaysOccurs;
SELECT * FROM "\orders" WHERE Executes;