What is the {has edition} and the {author} of {Pied_Piper_of_Hamelin} ?
Who edited and who wrote the Pied Piper Hamelin book?
Who is the editor and author of the Pied Piper of Hamelin book?
SELECT ?c ?x WHERE { resource:Pied_Piper_of_Hamelin property:author ?x . resource:Pied_Piper_of_Hamelin property:edition ?c }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q111502> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P747> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q111502> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P50> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q111502 wdt:P747 ?ans_1 . wd:Q111502 wdt:P50 ?ans_2 }
The Ratcatcher Johann Wolfgang von Goethe The Ratcatcher Robert Browning