Question: In what way is politician related to the lawyer Henry King?
Choices:
occupation
honorific prefix
famous people
located in or next to body of water
military rank
talk show guest
developer
director/manager
platform
replaced by
Program:
function: Find
inputs: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Henry King
function: And
dependencies: 1
2
function: Find
inputs: politician
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Henry King" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "lawyer" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation