Question: How Pretty Little Liars, cast member of Holly Marie Combs is related to Los Angeles?
Choices:
partially contains
significant person
field of this occupation
appears in the form of
candidate
original language of film or TV show
filming location
month of the year
official symbol
notable work
Answer: filming location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pretty Little Liars" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Holly Marie Combs" . ?e_2 <pred:name> "Los Angeles" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Holly Marie Combs
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Pretty Little Liars
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: QueryRelation
dependencies: 3
4