Question: How many non-metropolitan districts are in the United Kingdom or that are a filming location of Date Night?
Choices: 11
12
13
14
15
16
17
18
19
20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } UNION { ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Date Night" .  } }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: non-metropolitan district
function: Find
inputs: Date Night
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 17