Question: How many colleges of the University of Oxford are the filming location of Forrest Gump (whose original language is English) or are named after Jesus Christ?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Oxford" .  { ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Forrest Gump" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Jesus Christ" .  } }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Forrest Gump
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: college of the University of Oxford
function: Find
inputs: Jesus Christ
function: Relate
dependencies: 6
inputs: named after
backward
function: FilterConcept
dependencies: 7
inputs: college of the University of Oxford
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 2