Question: How is James K. Polk related to lawyer?
Choices:
lifestyle
language of work or name
present in work
enclave within
sport
organisation directed from the office or person
dialect of
student
occupation
airline alliance
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James K. Polk" . ?e_2 <pred:name> "lawyer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James K. Polk
function: Find
inputs: lawyer
function: QueryRelation
dependencies: 0
1