SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/builder> <http://dbpedia.org/resource/Soares_da_Costa> . ?x <http://dbpedia.org/ontology/crosses> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Bridge>}
Saores de costa built a bridge over which river?
SELECT DISTINCT ?q WHERE { ?l property:builder resource:Soares_da_Costa . ?l property:crosses ?q . ?l rdf:type ontology:Bridge }
Zambezi
The cross of the bridge builded by Soares da Costa is [Zambezi].
The bridge built by Soares da Costa is [Zambezi].