Question: Is the apparent magnitude of the Messier 2 less than 5.2?
Paraphrase: Is 5.2  greater than the apparent magnitude of the Messier 2?
SPARQL (Wikidata): ASK WHERE { wd:Q11099 wdt:P1215 ?obj filter(?obj < 5.2) }