Question: Which academic discipline includes both Phil Collins (whose CANTIC-ID is a10887131) and Linda Ronstadt in famous people?
Choices:
Yellow Submarine
choir
big band
electrical engineering
English Studies
biochemistry
pop rock
soprano
international relations
rock music
Answer: big band
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic discipline" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Phil Collins" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10887131" .  ?e <famous_people> ?e_2 . ?e_2 <pred:name> "Linda Ronstadt" .  }
Program:
function: Find
inputs: Phil Collins
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10887131
function: Relate
dependencies: 1
inputs: famous people
backward
function: FilterConcept
dependencies: 2
inputs: academic discipline
function: Find
inputs: Linda Ronstadt
function: Relate
dependencies: 4
inputs: famous people
backward
function: FilterConcept
dependencies: 5
inputs: academic discipline
function: And
dependencies: 3
6
function: What
dependencies: 7