What is the {extrasolar planet} with the {MAX(semi-major axis)} ?
Which extra solar planet has the largest semi-major axis?
Which extrasolar planet has the largest semi-major axis?
SELECT ?b WHERE { ?b rdf:type ontology:extrasolar_planet . ?b property:semi-major_axis_of_an_orbit ?g }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q44559>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2233>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q44559 . ?ent wdt:P2233 ?obj } ORDER BY DESC(?obj)LIMIT 5 
WASP-174b TYC 9486-927-1b HIP 77900 b HD 97334 b WD 0806-661b