Question: How is sports commentator James Brown linked to the USA?
Choices:
grants
source of material
family
country of citizenship
location of final assembly
nominated for
director of photography
dialect of
stated in
film crew member
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "sports commentator" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: sports commentator
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: James Brown
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4