What is {date of the end} of {mentor} of {Muslim ibn al-Hajjaj} ?
Who gave the {date of the end} of {mentor} of {Muslim ibn al-Hajjaj} ?
SELECT ?answer WHERE { wd:Q140124 wdt:P1066 ?X . ?X wdt:P570 ?answer}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q140124> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1066>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P570> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
Tell me who gave the {date of the end} of {mentor} to {Muslim ibn al-Hajjaj}