Did {Dublin} {located in or next to body of water} {Liffey} and {Royal Canal} ?
Is it true that Dublin is located next to the Liffey and the Royal Canal?
Is Dublin located next to the Liffey and the Royal Canal?
ASK WHERE { resource:Dublin property:located_in_or_next_to_body_of_water resource:Liffey . resource:Dublin property:located_in_or_next_to_body_of_water resource:Royal_Canal }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1761> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P206> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q208009>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1761> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P206> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1542268>. } 
ASK WHERE { wd:Q1761 wdt:P206 wd:Q208009 . wd:Q1761 wdt:P206 wd:Q1542268 }