What is {position held} of {Henry Parkes} that is {end time} is {1875-2-8} ?
Name the last position held by Mr. Henry Parkes during last term 8-2-1875?.
What was the position held by Mr. Henry Parkes at his last term 8-2-1875?
SELECT ?j WHERE { ?v property:position_held ?j . resource:Henry_Parkes property:position_held ?v . FILTER ( CONTAINS ( YEAR ( ?m ) , '1875' ) ) . ?v property:end_time ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1607143> .
?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> <1875-2-8>
} 

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