Queries can be executed on the source code or other relevant artifacts to, e.g., identify all classes that depend on particular other classes or packages [17].
to assess the architectural consistency, queries need to be written that identify forbidden dependencies.