Question: What city is the place where Michael Collins (the one whose date of birth is 1924-01-15) works, and that is also a twinned administrative body of the city of the United States ?
Choices:
Kingston
San Juan
Kilkenny
Trieste
Guangzhou
Thiruvananthapuram
Bergamo
Potsdam
Salford
Cork
Answer: San Juan
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_2 <work_location> ?e_1 . ?e_2 <pred:name> "Michael Collins" . ?e_2 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1924-01-15"^^xsd:date .   }
Program:
function: Find
inputs: Michael Collins
function: FilterDate
dependencies: 0
inputs: date of birth
1924-01-15
=
function: Relate
dependencies: 1
inputs: work location
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: city
function: What
dependencies: 5