Question: How Bill Berry from United States of America related to basketball?
Choices:
director/manager
characters
penalty
dedicated to
sport
approved by
parent astronomical body
mouth of the watercourse
editor
honorific prefix
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Bill Berry
function: And
dependencies: 1
2
function: Find
inputs: basketball
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bill Berry" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "basketball" . ?e_1 ?p ?e_2 .  }
Answer: sport