Question: How many mountain ranges connect with the Iberian Peninsula and are the main topic of A Beautiful Mind?
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> "mountain range" . ?e <connects_with> ?e_1 . ?e_1 <pred:name> "Iberian Peninsula" .  ?e_2 <main_subject> ?e . ?e_2 <pred:name> "A Beautiful Mind" .  }
Program:
function: Find
inputs: Iberian Peninsula
function: Relate
dependencies: 0
inputs: connects with
backward
function: FilterConcept
dependencies: 1
inputs: mountain range
function: Find
inputs: A Beautiful Mind
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: mountain range
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0