What is {admin HQ} of {team played for} of {Somchai Subpherm} ?
What was the location and the name of the association that Somchai Subpherm played for?
What team did Somchai Subpherm play for, and where was it headquartered?
SELECT ?n WHERE { resource:Somchai_Subpherm property:member_of_sports_team ?t . ?t property:headquarters_location ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4926223> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q4926223 wdt:P54 ?X . ?X wdt:P159 ?answer}
Thailand Nonthaburi