What is the {stone bridge} with the {MAX(longest span)} ?
Name the stone bridge that was the longest lasting.
Which stone bridge has the longest span?
SELECT ?q WHERE { ?q rdf:type ontology:stone_bridge . ?q property:longest_span ?w }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3397526>.
?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/P2787>.
?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:Q3397526 . ?ent wdt:P2787 ?obj } ORDER BY DESC(?obj)LIMIT 5 
Syratalviadukt Pont des Pierres Luitpoldbrücke Orkla bridge Castelvecchio Bridge