What is the {truss bridge} with the {MAX(longest span)} whose {country} is {France}  ?
Which French truss bridge is the longest?
Which French truss bridge is the longest?
SELECT ?p WHERE { ?p property:country resource:France . ?p property:longest_span ?x . ?p rdf:type ontology:truss_bridge }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q158218>.

?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/P2787>.
?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/P17> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q142> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q158218 . ?ent wdt:P2787 ?obj . ?ent wdt:P17 wd:Q142 } ORDER BY DESC(?obj)LIMIT 5 
Bras de la Plaine Bridge Viaur Viaduct Pont de Cordez Pont Eiffel de Conflans-Sainte-Honorine