Question: How is Peter Cook (the one whose ISNI is 0000 0000 5061 7640) related to a military officer ?
Choices:
affiliation
risk factor
worshipped by
season starts
airline alliance
sex or gender
occupation
architect
sexual orientation
father
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Cook" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 5061 7640" . ?e_2 <pred:name> "military officer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Peter Cook
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 5061 7640
function: Find
inputs: military officer
function: QueryRelation
dependencies: 1
2