Question: What i are the positions that play Jim Morrison (the one that was born in Montreal) and Ryan Murphy (the one that is a member of Minnesota Wild)?
Choices:
defenceman
midfielder
lead vocalist
environmentalist
strongman
contestant
singer-songwriter
partner
samurai
all-rounder
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Jim Morrison
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 4
inputs: occupation
function: Find
inputs: Minnesota Wild
function: Relate
dependencies: 6
inputs: member of sports team
backward
function: Find
inputs: Ryan Murphy
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 10
inputs: occupation
function: And
dependencies: 5
11
function: What
dependencies: 12
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" . ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Jim Morrison" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Montreal" .  ?e_3 <position_played_on_team_/_speciality> ?e . ?e_3 <pred:name> "Ryan Murphy" . ?e_3 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> "Minnesota Wild" .  }
Answer: defenceman