Question: How does Bill Berry (the one whose genre is alternative rock) relate to United States of America?
Choices:
military branch
filming location
applies to jurisdiction
presenter
donated by
distributor
costume designer
characters
country of citizenship
parent astronomical body
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bill Berry" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "alternative rock" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: alternative rock
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Bill Berry
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4