private String toComparison(ComparisonOpsTypeInfo coOps, FeatureInfo featureInfo) {
if (coOps instanceof BinaryComparisonOpTypeInfo) {
BinaryComparisonOpTypeInfo binary = (BinaryComparisonOpTypeInfo) coOps;
String propertyName = binary.getExpressionList().get(0).getValue();
String propertyValue = binary.getExpressionList().get(1).getValue();
PrimitiveType type = PrimitiveType.STRING;
for (AttributeInfo attributeInfo : featureInfo.getAttributes()) {
if (attributeInfo.getName().equals(propertyName)) {
if (attributeInfo instanceof PrimitiveAttributeInfo) {
type = ((PrimitiveAttributeInfo) attributeInfo).getType();
}