What is {work} of {designer} of {Metropolitan Railway A Class} ?
Which designer designed the Metropolitan Railway A Class?
Who designed the Metropolitan Railway A Class?
SELECT ?y WHERE { resource:Metropolitan_Railway_A_Class property:designed_by ?o . ?o property:notable_work ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6825216> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P287>. ?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/P800> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q6825216 wdt:P287 ?X . ?X wdt:P800 ?answer}
Forth Bridge