Question: How is James Brown (the one that is related to basketball) related to United States of America?
Choices:
director/manager
dialect of
interests
mascot
professional or sports partner
different from
natural product of taxon
signatory
publisher
country of citizenship
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "basketball" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: basketball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: James Brown
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4