What is the {supplementary intercardinal direction} with the {MAX(position angle)} whose {opposite of} is {east-northeast}  ?
What is supplementary intercardinal direction has the highest angle opposite east-northeast?
What is the supplementary intercardinal direction with the highest angle opposite of east-northeast?
SELECT ?b WHERE { ?b rdf:type ontology:supplementary_intercardinal_direction . ?b property:opposite_of resource:east-northeast . ?b property:position_angle ?z }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q22809326>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2211>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P461> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q12593409> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q22809326 . ?ent wdt:P2211 ?obj . ?ent wdt:P461 wd:Q12593409 } ORDER BY DESC(?obj)LIMIT 5 