Question: What is the connection between pop music to Queen (the one that origins from United Kingdom)?
Choices:
uses
organisation directed from the office or person
spouse
position held
famous people
distribution
basic form of government
newspaper format
territory overlaps
head coach
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "pop music" . ?e_2 <pred:name> "Queen" . ?e_2 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: pop music
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Queen
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4