what is the {valid in period} for {France} has {anthem} as {La Marseillaise} ?
The French anthem La Marseillaise was valid during what time period?
For what period is La Marseillaise valid as the French anthem?
SELECT ?n WHERE { ?p property:anthem resource:La_Marseillaise . resource:France property:anthem ?p . ?p property:valid_in_period ?n }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q142> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P85> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q41180> .
?statement <http://www.wikidata.org/entity/P1264> ?value. 
} 

SELECT ?value WHERE { wd:Q142 p:P85 ?s . ?s ps:P85 wd:Q41180 . ?s pq:P1264 ?value}