Question: What occupation is the position of LeBron James and Carmelo Anthony?
Choices:
all-rounder
environmentalist
singer-songwriter
lead vocalist
power forward
contestant
small forward
samurai
strongman
defenceman
Answer: small forward
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> "LeBron James" .  ?e_2 <position_played_on_team_/_speciality> ?e . ?e_2 <pred:name> "Carmelo Anthony" .  }
Program:
function: Find
inputs: LeBron James
function: Relate
dependencies: 0
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 1
inputs: occupation
function: Find
inputs: Carmelo Anthony
function: Relate
dependencies: 3
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 4
inputs: occupation
function: And
dependencies: 2
5
function: What
dependencies: 6