Question: Apple and Hewlett Packard both belong to the industry which is characterized by what activity?
Choices:
geology
Information Technology
anthropology
green politics
economics
aesthetics
gluten-free diet
biotechnology
logic
philosophy of science
Answer: Information Technology
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e_1 <industry> ?e . ?e_1 <pred:name> "Hewlett-Packard" .  ?e_2 <industry> ?e . ?e_2 <pred:name> "Apple" .  }
Program:
function: Find
inputs: Hewlett-Packard
function: Relate
dependencies: 0
inputs: industry
forward
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: Apple
function: Relate
dependencies: 3
inputs: industry
forward
function: FilterConcept
dependencies: 4
inputs: activity
function: And
dependencies: 2
5
function: What
dependencies: 6