Selector selector = qomFactory.selector("notion:typed", "node");
Constraint constraint = null;
if (propertyName != null && operator != null) {
PropertyValue propValue = qomFactory.propertyValue("node", propertyName);
Literal literal = qomFactory.literal(propertyValueObj);
constraint = qomFactory.comparison(propValue, operator, literal);
}
Column[] columns = new Column[2];
columns[0] = qomFactory.column("node", "notion:booleanProperty", "notion:booleanProperty");
columns[1] = qomFactory.column("node", "notion:booleanProperty2", "notion:booleanProperty2");