Question: How is Bellevue resident Harry Shum connected to The University of Hong Kong?
Choices:
home venue
educated at
location of final assembly
series spin-off
military branch
registered with
Wikidata property
location of discovery
art director
lyrics by
Answer: educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Shum" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "Bellevue" . ?e_2 <pred:name> "The University of Hong Kong" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bellevue
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Harry Shum
function: And
dependencies: 1
2
function: Find
inputs: The University of Hong Kong
function: QueryRelation
dependencies: 3
4