def eq():
    eq_ = {
        "eq": [
            {"property": "properties.featurecla"},
            "Admin-0 capital"
        ]
    }
    return CQLModel.parse_obj(eq_)
def between_lower():
    between_ = {
        "between": {
            "value": {"property": "properties.pop_max"},
            "lower": 10000
        }
    }
    return CQLModel.parse_obj(between_)
def intersects():
    intersects = {
        "intersects": [{
            "property": "geometry"
        }, {
            "type":
            "Polygon",
            "coordinates": [[[10.497565, 41.520355], [10.497565, 43.308645],
                             [15.111823, 43.308645], [15.111823, 41.520355],
                             [10.497565, 41.520355]]]
        }]
    }
    return CQLModel.parse_obj(intersects)
def _and(eq, between):
    and_ = {
        "and": [{
            "between": {
                "value": {
                    "property": "properties.pop_max"
                },
                "lower": 100000,
                "upper": 1000000
            }
        }, {
            "eq": [{
                "property": "properties.featurecla"
            }, "Admin-0 capital"]
        }]
    }
    return CQLModel.parse_obj(and_)