Question: What is the relationship between Montana (the one that partially contains Missouri River) to Flathead County?
Choices: work location
discoverer or inventor
public holiday
designated as terrorist by
contains administrative territorial entity
commander of
headquarters location
owner of
eye color
exported to
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Montana" . ?e_1 <partially_contains> ?e_3 . ?e_3 <pred:name> "Missouri River" . ?e_2 <pred:name> "Flathead County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Missouri River
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: Montana
function: And
dependencies: 1
2
function: Find
inputs: Flathead County
function: QueryRelation
dependencies: 3
4
Answer: contains administrative territorial entity