Question: What is the relationship between Sonic the Hedgehog (the one whose game mode is multiplayer video game) and Sonic the Hedgehog (the one whose Giphy username is sonic-the-hedgehog)?
Choices:
parent club
candidacy in election
license
substitute/deputy/replacement of office/officeholder
has parts of the class
currency
derivative work
characters
patron saint
lowest point
Answer: characters
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sonic the Hedgehog" . ?e_1 <game_mode> ?e_3 . ?e_3 <pred:name> "multiplayer video game" . ?e_2 <pred:name> "Sonic the Hedgehog" . ?e_2 <Giphy_username> ?pv . ?pv <pred:value> "sonic-the-hedgehog" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: multiplayer video game
function: Relate
dependencies: 0
inputs: game mode
backward
function: Find
inputs: Sonic the Hedgehog
function: And
dependencies: 1
2
function: Find
inputs: Sonic the Hedgehog
function: FilterStr
dependencies: 4
inputs: Giphy username
sonic-the-hedgehog
function: QueryRelation
dependencies: 3
5