Question: Which is the longest among the feature films whose narrative location is California that contains the administrative division Solano County?
Choices:
Back to the Future
Old Dogs
The Parent Trap
Back to the Future Part III
John Carter
Holes
Hannah Montana: The Movie
G-Force
National Treasure: Book of Secrets
Back to the Future Part II
Answer: The Parent Trap
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "California" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Solano County" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Solano County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: SelectAmong
dependencies: 5
inputs: duration
largest