Question: How long is the road in New Mexico, home of Alan Arkin?
Choices:
494 kilometre
14511 foot
3902 metre
8981 foot
2451 mile
1250 kilometre
22 inch
130 kilometre
491 kilometre
6992.15 kilometre
Program:
function: Find
inputs: Alan Arkin
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: New Mexico
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: road
function: QueryAttr
dependencies: 5
inputs: length
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "road" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "New Mexico" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Alan Arkin" .  ?e <length> ?pv .  }
Answer: 2451 mile