Question: What is the relationship between French citizen Paul Simon and politician?
Choices:
geography of topic
occupation
film release region
separated from
source of material
start point
conflict
official symbol
platform
practiced by
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Paul Simon
function: And
dependencies: 1
2
function: Find
inputs: politician
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Simon" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation