Question: What is the relationship between Elizabeth Banks (the one that is a cast member of Modern Family) and Pittsfield?
Choices:
award received
derivative work
Wikidata property
genre
sponsor
mother
place of birth
feast day
location of final assembly
make-up artist
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elizabeth Banks" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "Modern Family" . ?e_2 <pred:name> "Pittsfield" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Modern Family
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Elizabeth Banks
function: And
dependencies: 1
2
function: Find
inputs: Pittsfield
function: QueryRelation
dependencies: 3
4