What is {position held} of {George Curzon, 1st Marquess Curzon of Kedleston} that is {end time} is {1919-10-23} ?
who held the position of 1st Marquess Curzon of Kedleston from December 16, 1916 until October 10, 1923?
What position did George Curzon, 1st Marquess Curzon of Kedleston, hold from December 16, 1916 until October 10, 1923?
SELECT ?r WHERE { resource:George_Curzon,_1st_Marquess_Curzon_of_Kedleston property:position_held ?u . FILTER ( CONTAINS ( YEAR ( ?l ) , '1919' ) ) . ?u property:position_held ?r . ?u property:end_time ?l }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q271878> .
?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> <1919-10-23>
} 

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