Question: What is the association between Bill Nelson (whose name is Bill Nelson in native language) and politician?
Choices:
contains administrative territorial entity
famous people
domain of saint or deity
penalty
from fictional universe
source of income
subject has role
work location
occupation
natural product of taxon
Program:
function: Find
inputs: Bill Nelson
function: FilterStr
dependencies: 0
inputs: name in native language
Bill Nelson
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bill Nelson" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Bill Nelson" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation