Question: Which person is a cast member of Pretty Little Liars (the one that has Annabeth Gish as a cast member) and uses the English language?
Choices:
William Henry Harrison
Gene Wilder
Sylvester Stallone
Holly Marie Combs
Annabeth Gish
Lauren Tom
Dave Grohl
Max Fleischer
Sylvia Plath
Garret Dillahunt
Program:
function: Find
inputs: Annabeth Gish
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Pretty Little Liars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: English
function: Relate
dependencies: 6
inputs: languages spoken, written or signed
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Pretty Little Liars" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Annabeth Gish" .  ?e <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" .  }
Answer: Annabeth Gish