Question: What researcher has the same occupation of Democratic member Bill Nelson (the start time of this statement is 1986)?
Choices:
make-up artist
seiyū
computer scientist
bandleader
physicist
biochemist
biologist
astronaut
statistician
astronomer
Answer: astronaut
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "researcher" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Bill Nelson" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Democratic Party" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <occupation> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1986 .  }
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Bill Nelson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: QFilterYear
dependencies: 4
inputs: start time
1986
=
function: FilterConcept
dependencies: 5
inputs: researcher
function: What
dependencies: 6