Question: How many arts include the movement of Phil Collins (who was educated at the University of Manchester)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art" . ?e_1 <movement> ?e . ?e_1 <pred:name> "Phil Collins" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "University of Manchester" .   }
Program:
function: Find
inputs: University of Manchester
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Phil Collins
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: movement
forward
function: FilterConcept
dependencies: 4
inputs: art
function: Count
dependencies: 5
Answer: 1