Question: What person is a cast member in the character role of Joey Tribbiani in the television series whose genre is romance film?
Choices:
Courteney Cox
William Henry Harrison
Lisa Kudrow
Rahul Dev Burman
Richard Gere
Max Fleischer
Elliott Gould
Matt LeBlanc
Matthew Perry
Sylvester Stallone
Answer: Matt LeBlanc
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romance film" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Joey Tribbiani" .  }
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: Relate
dependencies: 2
inputs: cast member
forward
function: QFilterStr
dependencies: 3
inputs: character role
Joey Tribbiani
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5