What is {partner} of {Édith Piaf} that is {end time} is {1948-1-1} ?
Who was Edith Piaf's partner in 1948?
Who was the partner of Edith Piaf in 1948?
SELECT ?f WHERE { FILTER ( CONTAINS ( YEAR ( ?f ) , '1948' ) ) . resource:Édith_Piaf property:unmarried_partner ?g . ?g property:end_time ?f . ?g property:unmarried_partner ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1631> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P451> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1948-1-1>
} 

SELECT ?obj WHERE { wd:Q1631 p:P451 ?s . ?s ps:P451 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1948')) }