group.addTriplePattern(new Triple(migrationPath, NodeFactory.createURI(TYPE_IRI), NodeFactory
.createURI(ONTOLOGY_IRI + "MigrationPath")));
group.addTriplePattern(new Triple(migrationPath,
NodeFactory.createURI(ONTOLOGY_IRI + "targetMimetype"), toMimetype));
query.addElement(group);
ElementFilter filter = new ElementFilter(new E_StrContains(new ExprVar(toMimetype),
new NodeValueString(migrationPathTargetPattern)));
query.addElementFilter(filter);
}
}