Question: How is John Williams with the native name John williams related to the role of politician?
Choices: has effect
occupation
afflicts
update method
contains administrative territorial entity
terminus
source of income
signatory
narrative location
followed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "John williams" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Williams
function: FilterStr
dependencies: 0
inputs: name in native language
John williams
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
Answer: occupation