Question: How is m Wonder Woman (the one that has Elizabeth Hurley as a cast member) related to Wonder Woman (the one that lives in a lifestyle of superhero) ?
Choices:
set in period
replaced by
officially opened by
official color
airline hub
coextensive with
home venue
subject has role
based on
series spin-off
Answer: based on
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wonder Woman" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Elizabeth Hurley" . ?e_2 <pred:name> "Wonder Woman" . ?e_2 <lifestyle> ?e_4 . ?e_4 <pred:name> "superhero" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Elizabeth Hurley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: superhero
function: Relate
dependencies: 4
inputs: lifestyle
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7