Question: What does California (the filming location of The Hangover Part II) have to do with Mono County?
Choices:
military branch
terminus
programming language
filmography
does not have part
contains administrative territorial entity
permanent resident of
office held by head of government
position held
doctoral student
Program:
function: Find
inputs: The Hangover Part II
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Find
inputs: Mono County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "California" . ?e_3 <filming_location> ?e_1 . ?e_3 <pred:name> "The Hangover Part II" . ?e_2 <pred:name> "Mono County" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity