Question: How is Scottish American John Paul Jones related to the role of composer?
Choices: superhuman feature or ability
instrumentation
parent club
genre
military rank
occupation
from fictional universe
candidacy in election
award disciplines or subjects
interested in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Paul Jones" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Scottish American" . ?e_2 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Scottish American
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: John Paul Jones
function: And
dependencies: 1
2
function: Find
inputs: composer
function: QueryRelation
dependencies: 3
4
Answer: occupation