Question: What occupation is Muhammad's occupation and Jesus Christ's (the supportor of statement of this statement is Islam) occupation?
Choices:
singer-songwriter
all-rounder
strongman
small forward
partner
prophet
environmentalist
samurai
lead vocalist
defenceman
Program:
function: Find
inputs: Muhammad
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: occupation
function: Find
inputs: Jesus Christ
function: Relate
dependencies: 3
inputs: occupation
forward
function: QFilterStr
dependencies: 4
inputs: statement supported by
Islam
function: FilterConcept
dependencies: 5
inputs: occupation
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Muhammad" .  ?e_2 <occupation> ?e . ?e_2 <pred:name> "Jesus Christ" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <occupation> ; <pred:fact_t> ?e ] <statement_supported_by> ?qpv . ?qpv <pred:value> "Islam" .  }
Answer: prophet