Question: Which Pennsylvania city is Montreal's twinned administrative body?
Choices:
Hiroshima
Philadelphia
Greensburg
Pittsburgh
Harrisburg
Lucknow
Milan
Johnstown
Bethlehem
Manila
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Montreal" .   }
Answer: Harrisburg