Question: How many college towns are in the filming location of The Cassandra Crossing and are the twinned administrative body of Rio de Janeiro (the one that is the twinned administrative body of Warsaw)?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: The Cassandra Crossing
function: Relate
dependencies: 0
inputs: filming location
forward
function: FilterConcept
dependencies: 1
inputs: college town
function: Find
inputs: Warsaw
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: Find
inputs: Rio de Janeiro
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 7
inputs: college town
function: And
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college town" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "The Cassandra Crossing" .  ?e_2 <twinned_administrative_body> ?e . ?e_2 <pred:name> "Rio de Janeiro" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Warsaw" .  }
Answer: 1