Question: How many plays are different from Beauty and the Beast which was shot in Germany?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "play" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> "Germany" .   }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: play
function: Count
dependencies: 5