what is the {start time} for {Sardinia} has {contains administrative territorial entity} as {Province of Ogliastra} ?
What time did Sardinia become part of the Province of Ogliastra?
When did Sardinia become part of Province of Ogliastra?
SELECT ?f WHERE { resource:Sardinia property:contains_administrative_territorial_entity ?d . ?d property:start_time ?f . ?d property:contains_administrative_territorial_entity resource:Province_of_Ogliastra }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1462> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q16223> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q1462 p:P150 ?s . ?s ps:P150 wd:Q16223 . ?s pq:P580 ?value}