What is {position held} of {Konstantinos Karamanlis} that is {start time} is {1974-7-24} ?
What is the title given to Konstantinos Karamanlis on July, 24, 1974?
What title did Konstantinos Karamanlis win on July 24, 1974?
SELECT ?b WHERE { ?u property:position_held ?b . resource:Konstantinos_Karamanlis property:position_held ?u . ?u property:start_time ?d . FILTER ( CONTAINS ( YEAR ( ?d ) , '1974' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q156806> .
?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> <1974-7-24>
} 

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