What is {edited by} of {Quan Tangshi}, that has {courtesy name} is {子清} ?
WHO Altered QUAN TANGHSI WITH THE Cordiality Title OF
WHO EDITED QUAN TANGHSI WITH THE COURTESY NAME OF
SELECT ?r WHERE { ?r property:courtesy_name ?o . FILTER ( CONTAINS ( ?o , '子清' ) ) . resource:Quan_Tangshi property:editor ?r }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q846569> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P98>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1782> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <子清> . }
SELECT ?answer WHERE { wd:Q846569 wdt:P98 ?answer . ?answer wdt:P1782 ?x FILTER(contains(?x , '子清'))}