Question: What is the relation between the rugby league and England (the one whose TOID is country/england)?
Choices:
student
patron saint
model item
family name
country of origin
home venue
twinned administrative body
donated by
successful candidate
location of discovery
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "rugby league" . ?e_2 <pred:name> "England" . ?e_2 <TOID> ?pv . ?pv <pred:value> "country/england" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: rugby league
function: Find
inputs: England
function: FilterStr
dependencies: 1
inputs: TOID
country/england
function: QueryRelation
dependencies: 0
2