Question: How is Oregon (known as the Beaver State) related to Linn County (population 118178)?
Choices:
publisher
architect
executive producer
contains administrative territorial entity
capital
sexual orientation
from fictional universe
has parts of the class
director/manager
derivative work
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oregon" . ?e_1 <nickname> ?pv . ?pv <pred:value> "Beaver State" . ?e_2 <pred:name> "Linn County" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "118178"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Oregon
function: FilterStr
dependencies: 0
inputs: nickname
Beaver State
function: Find
inputs: Linn County
function: FilterNum
dependencies: 2
inputs: population
118178
=
function: QueryRelation
dependencies: 1
3