public ComponentQuery addInstallationEnvironment(String environment) {
if (environment != null && !environment.isEmpty()) {
Node processNode = NodeFactory.createAnon();
Node installationNode = NodeFactory.createAnon();
ElementGroup group = new ElementGroup();
group.addTriplePattern(new Triple(wfNode, NodeFactory.createURI(WFDESC_IRI + "hasSubProcess"),
processNode));
group.addTriplePattern(new Triple(processNode, NodeFactory.createURI(ONTOLOGY_IRI
+ "requiresInstallation"), installationNode));
group.addTriplePattern(new Triple(installationNode, NodeFactory.createURI(ONTOLOGY_IRI
+ "hasEnvironment"), NodeFactory.createURI(environment)));