Question: How many colleges of the University of Oxford employ Jim Cummings (film director) or were established after 1427 ?
Choices: 9
10
11
12
13
14
15
16
17
18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Oxford" .  { ?e_1 <employer> ?e . ?e_1 <pred:name> "Jim Cummings" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "film director" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1427 ) .  } }
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jim Cummings
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: employer
forward
function: FilterConcept
dependencies: 4
inputs: college of the University of Oxford
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1427
>
function: FilterConcept
dependencies: 7
inputs: college of the University of Oxford
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 16