what is the {point in time} for {euro} has {replaces} as {peseta} ?
The euro replaced the peseta on what date?
When was the peseta replaced by the euro?
SELECT ?i WHERE { resource:euro property:replaces ?l . ?l property:replaces resource:peseta . ?l property:point_in_time ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4916> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1365> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q189097> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q4916 p:P1365 ?s . ?s ps:P1365 wd:Q189097 . ?s pq:P585 ?value}