Who is head of state of Umayyad Caliphate whose is end time is 724-0-0 ?
SELECT ?obj WHERE { wd:Q8575586 p:P35 ?s . ?s ps:P35 ?obj . ?s pq:P582 ?x filter(contains(?x,'724-0-0')) }
umayyad caliphate: Q8575586