What is {position held} of {Gianni Agnelli} and {appointed by}
When was Gianni Agnelli's position held and appointed by?
When did position held of Gianni Agnelli and appointed by?
SELECT ?k ?x WHERE { resource:Gianni_Agnelli property:position_held ?z . ?z property:appointed_by ?k . . ?z property:position_held ?x }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q356351> . ?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:Q356351 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P748 ?value1 . }