What is {position held} of {Domenico Modugno} that is {end time} is {1990-4-19} ?
Until April 19, 1990, what office did Domenico Mondugno hold?
What position did Domenico Modugno held until April 19, 1990?
SELECT ?k WHERE { FILTER ( CONTAINS ( YEAR ( ?p ) , '1990' ) ) . ?m property:position_held ?k . ?m property:end_time ?p . resource:Domenico_Modugno property:position_held ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q201392> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <1990-4-19>
} 

SELECT ?obj WHERE { wd:Q201392 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1990')) }