What is {position held} of {Frank Bainimarama} that is {start time} is {2006-12-5} ?
As of 2006-12-5 what was Frank Bainimarama's position?
What is {position held} of {Frank Bainimarama} where {start time} is {2006-12-5} ?
SELECT ?d WHERE { ?h property:position_held ?d . FILTER ( CONTAINS ( YEAR ( ?n ) , '2006' ) ) . resource:Frank_Bainimarama property:position_held ?h . ?h property:start_time ?n }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57830> .
?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> <2006-12-5>
} 

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