Question: What is the connection between Norman Foster (the one that received Royal Gold Medal) to architecture?
Choices:
winner
operator
commander of
shares border with
start point
update method
political alignment
author
work location
field of work
Program:
function: Find
inputs: Royal Gold Medal
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Norman Foster
function: And
dependencies: 1
2
function: Find
inputs: architecture
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Norman Foster" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Royal Gold Medal" . ?e_2 <pred:name> "architecture" . ?e_1 ?p ?e_2 .  }
Answer: field of work