Question: What academic discipline is shared by Jordin Sparks and Bette Midler?
Choices:
motivational speaking
electrical engineering
Philadelphia
mezzo-soprano
choir
graph theory
soprano
English Studies
international relations
biochemistry
Answer: mezzo-soprano
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic discipline" . ?e_1 <voice_type> ?e . ?e_1 <pred:name> "Jordin Sparks" .  ?e_2 <voice_type> ?e . ?e_2 <pred:name> "Bette Midler" .  }
Program:
function: Find
inputs: Jordin Sparks
function: Relate
dependencies: 0
inputs: voice type
forward
function: FilterConcept
dependencies: 1
inputs: academic discipline
function: Find
inputs: Bette Midler
function: Relate
dependencies: 3
inputs: voice type
forward
function: FilterConcept
dependencies: 4
inputs: academic discipline
function: And
dependencies: 2
5
function: What
dependencies: 6