Question: What agent has David Simon as the chief executive officer ?
Choices:
Sega
McDonald's
Yahoo
NATO
KLM
AOL
United States Senate
Pfizer
Simon Property Group
National Aeronautics and Space Administration
Answer: Simon Property Group
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <chief_executive_officer> ?e_1 . ?e_1 <pred:name> "David Simon" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "chief executive officer" .   }
Program:
function: Find
inputs: chief executive officer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: David Simon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: chief executive officer
backward
function: FilterConcept
dependencies: 4
inputs: agent
function: What
dependencies: 5