Question: How many law schools are part of the higher-education institution which is the filming location of A Clockwork Orange (the one that has Stanley Kubrick as an executive producer)?
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> "law school" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "higher education institution" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "A Clockwork Orange" . ?e_2 <executive_producer> ?e_3 . ?e_3 <pred:name> "Stanley Kubrick" .   }
Program:
function: Find
inputs: Stanley Kubrick
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: A Clockwork Orange
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: Relate
dependencies: 5
inputs: part of
backward
function: FilterConcept
dependencies: 6
inputs: law school
function: Count
dependencies: 7
Answer: 0