What is {position held} of {Frederick Douglass} that is {start time} is {1881-0-0} ?
Which was the position that Frederick Douglass held in 1881?
What position did Frederick Douglass hold in 1881?
SELECT ?b WHERE { resource:Frederick_Douglass property:position_held ?i . FILTER ( CONTAINS ( YEAR ( ?p ) , '1881' ) ) . ?i property:start_time ?p . ?i property:position_held ?b }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q215562> .
?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/P580> <1881-0-0>
} 

SELECT ?obj WHERE { wd:Q215562 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1881')) }