Question: How many of the University of Oxford's colleges are the filming location of Harry Potter and the Goblet of Fire (whose distributor is Warner Bros.) or have the ISNI 0000 0004 0632 4532?
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> "college of the University of Oxford" .  { ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Harry Potter and the Goblet of Fire" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "Warner Bros." .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0632 4532" .  } }
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Harry Potter and the Goblet of Fire
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: FindAll
function: FilterStr
dependencies: 6
inputs: ISNI
0000 0004 0632 4532
function: FilterConcept
dependencies: 7
inputs: college of the University of Oxford
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 2