Question: How is Atlantic City, featuring Jason Segel in its cast, related to Alyson Hannigan?
Choices:
parent astronomical body
commander of
use
business division
cast member
domain of saint or deity
designed to carry
public holiday
league
fictional universe described in
Program:
function: Find
inputs: Jason Segel
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Atlantic City
function: And
dependencies: 1
2
function: Find
inputs: Alyson Hannigan
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Atlantic City" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jason Segel" . ?e_2 <pred:name> "Alyson Hannigan" . ?e_1 ?p ?e_2 .  }
Answer: cast member