Question: Which city with millions of residents is the twinned administrative body of the city where the Royal Conservatoire of Scotland is located?
Choices:
Hyderabad
The Goonies
library science
James Stewart
Brian Grazer
Nuremberg
Rostov-on-Don
Havana
Rogue
Schenectady
Answer: Rostov-on-Don
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city with millions of inhabitants" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Royal Conservatoire of Scotland" .   }
Program:
function: Find
inputs: Royal Conservatoire of Scotland
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 3
inputs: city with millions of inhabitants
function: What
dependencies: 4