SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/related> <http://dbpedia.org/resource/IBC_Root_Beer> . ?x <http://dbpedia.org/property/locationCity> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Beverage>}
In which cities can i find drinks similar to the IBC root beer?
SELECT DISTINCT ?f WHERE { ?y property:related resource:I_B_C_Root_Beer . ?y rdf:type ontology:Beverage . ?y property:location_city ?f }
Jasper, Indiana, Indiana
The cities with drinks related to the IBC Root Beer are [Jasper, Indiana, Indiana].
Cities with IBC root beer drinks [Jasper, Indiana, Indiana].