What is {position held} of {Louis VII of France} and {start time}
What position was held by Louis VII of France and when did he start?
Louis VII of France held which position and when did he start?
SELECT ?o ?a WHERE { ?s property:start_time ?o . . resource:Louis_VII_of_France property:position_held ?s . ?s property:position_held ?a }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q134259> . ?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> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q134259 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?value1 . }