Question: How many metropolitan areas are contained in the nighttime view file Long Beach, CA at night.jpg, or are the place where the storyline of Miami Vice, released on 24th August 2006, took place?
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> "metropolitan area" .  { ?e <nighttime_view> ?pv . ?pv <pred:value> "Long Beach, CA at night.jpg" .  } UNION { ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Miami Vice" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2006-08-24"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: nighttime view
Long Beach, CA at night.jpg
function: FilterConcept
dependencies: 1
inputs: metropolitan area
function: Find
inputs: Miami Vice
function: FilterDate
dependencies: 3
inputs: publication date
2006-08-24
=
function: Relate
dependencies: 4
inputs: narrative location
forward
function: FilterConcept
dependencies: 5
inputs: metropolitan area
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2