What is {teams played for} of {Ryan Lochte}, that has {ballpark} is {O'Connell Center} ?
What team did {Ryan Lochte} play for, that has a {ballpark} named {O'Connell Center}.
SELECT ?answer WHERE { wd:Q201517 wdt:P54 ?answer . ?answer wdt:P115 wd:Q7071713}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q201517> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P54>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P115> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q7071713> . }
Which team has played for { Ryan Lochte }, which is called a { ballpark } { O'Connell Center}.