Question: How is Jason Momoa involved with Game of Thrones (starring Jerome Flynn)?
Choices:
filmography
use
student of
basic form of government
hair color
place of death
cast member
capital of
has quality
parent club
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Game of Thrones" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jerome Flynn" . ?e_2 <pred:name> "Jason Momoa" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jerome Flynn
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Game of Thrones
function: And
dependencies: 1
2
function: Find
inputs: Jason Momoa
function: QueryRelation
dependencies: 3
4