Question: What does Mobile (whose number of episodes is 3) have to do with Manchester (whose demonym is Mancunian)?
Choices:
narrative location
manufacturer
next lower rank
sport
studied by
does not have part
office contested
terminus
producer
has quality
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mobile" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double . ?e_2 <pred:name> "Manchester" . ?e_2 <demonym> ?pv_1 . ?pv_1 <pred:value> "Mancunian" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mobile
function: FilterNum
dependencies: 0
inputs: number of episodes
3
=
function: Find
inputs: Manchester
function: FilterStr
dependencies: 2
inputs: demonym
Mancunian
function: QueryRelation
dependencies: 1
3