Question: John Hurt is cast as what character on Doctor Who, of the Instagram handle bbcdoctorwho?
Choices:
Deadpool
War Doctor
Rita Bennett
Bigweld
Chandler Bing
George Shapiro
Captain Teague
April O'Neil
Banzai
Fernand Mondego
Answer: War Doctor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Doctor Who" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> "bbcdoctorwho" . ?e_2 <pred:name> "John Hurt" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Doctor Who
function: FilterStr
dependencies: 0
inputs: Instagram username
bbcdoctorwho
function: Find
inputs: John Hurt
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role