Question: What is the length of the geographic region that is the filming location of Dr. Strangelove (whose script is written by Stanley Kubrick)?
Choices:
3660 metre
644 kilometre
2850 kilometre
2000 kilometre
12091 foot
750 kilometre
22 inch
12079 foot
334 kilometre
4800 kilometre
Answer: 4800 kilometre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Dr. Strangelove" . ?e_1 <screenwriter> ?e_2 . ?e_2 <pred:name> "Stanley Kubrick" .  ?e <length> ?pv .  }
Program:
function: Find
inputs: Stanley Kubrick
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Dr. Strangelove
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: QueryAttr
dependencies: 5
inputs: length