Question: What is the relation of Wonder Woman (which has Maya Rudolph as a performer) to Batman (which derives Batman Beyond)?
Choices:
Wikidata property
affiliation
signatory
source of material
distribution
political alignment
item operated
partner
film regional debut venue
writing system
Program:
function: Find
inputs: Maya Rudolph
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: Batman Beyond
function: Relate
dependencies: 4
inputs: based on
forward
function: Find
inputs: Batman
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wonder Woman" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Maya Rudolph" . ?e_2 <pred:name> "Batman" . ?e_4 <based_on> ?e_2 . ?e_4 <pred:name> "Batman Beyond" . ?e_1 ?p ?e_2 .  }
Answer: partner