Did {Thanksgiving} {location} {Panama}?
Does Panama have a Thanksgiving?
Is there a Thanksgiving in Panama?
ASK WHERE { resource:Thanksgiving property:location resource:Panama }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13959> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P276> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q804>. } 
ASK WHERE { wd:Q13959 wdt:P276 wd:Q804 }