Question: What is the NUTS code for the city where Jon Lord, who is famous for hard rock, was born.
Choices:
UKD7
CH012
NL13
UKJ13
BE21
UKF21
DEB35
UKC21
ITB04
DEE21
Answer: UKF21
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Jon Lord" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "hard rock" .  ?e <NUTS_code> ?pv .  }
Program:
function: Find
inputs: hard rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Jon Lord
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: QueryAttr
dependencies: 5
inputs: NUTS code