SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/tenant> <http://dbpedia.org/resource/Oakland_Athletics> . ?uri <http://dbpedia.org/ontology/locationCity> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/AmericanFootballTeam>}
Which football teams are in a city where Oakland Athletics were the tenants?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:American_Football_Team . ?r property:tenant resource:Oakland_Athletics . ?w property:location_city ?r }
Oakland Raiders
The american football team whose location city's tenant is Oakland Athletics is [Oakland Raiders].
An American football team, whose tenant is the Oakland Athletics [Oakland Raiders].