What is {end time} and {start time} of {{William Henry Bragg} has {position held} as {President of the Royal Society}}
What is the start and end date of the position did William Henry Bragg have?
What is the position did William Henry Bragg have in the Royal Society, start and end date?
SELECT ?j ?m WHERE { resource:William_Henry_Bragg property:position_held ?d . ?d property:end_time ?j . ?d property:start_time ?m . ?d property:position_held resource:president_of_the_Royal_Society }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q133747> . ?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> <http://wikidata.dbpedia.org/resource/Q55713110>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q133747 p:P39 ?s . ?s ps:P39 wd:Q55713110 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }