Question: How many real estate properties are the setting of the black-and-white version of King Kong or are designated by Minor Planet Center observatory code 095?
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> "real property" .  { ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "King Kong" . ?e_1 <color> ?e_2 . ?e_2 <pred:name> "black-and-white" .  } UNION { ?e <Minor_Planet_Center_observatory_code> ?pv . ?pv <pred:value> "095" .  } }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: King Kong
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: real property
function: FindAll
function: FilterStr
dependencies: 6
inputs: Minor Planet Center observatory code
095
function: FilterConcept
dependencies: 7
inputs: real property
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 2