A test could send the filter to the ohsome api for validation. https://github.com/GIScience/ohsome-quality-api/blob/main/tests/unittests/test_topics_definitions.py#L21 assert ohsome_filter_to_sql.validate_filter(topic)