What is {day in year for periodic occurrence} of {Thanksgiving} that is {country} is {Liberia} ?
On which day, Thanksgiving celebrated in Liberia?
What day is Thanksgiving in Liberia?
SELECT ?z WHERE { ?m property:country resource:Liberia . resource:Thanksgiving property:day_in_year_for_periodic_occurrence ?m . ?m property:day_in_year_for_periodic_occurrence ?z }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13959> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P837> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P17> <http://wikidata.dbpedia.org/resource/Q1014>
} 

SELECT ?obj WHERE { wd:Q13959 p:P837 ?s . ?s ps:P837 ?obj . ?s pq:P17 wd:Q1014 }