Question: How is Batman whose birth name is Thomas Wayne related to DC Universe?
Choices:
enclave within
professional or sports partner
contains settlement
from fictional universe
has part
newspaper format
distributor
fabrication method
field of work
officeholder
Answer: from fictional universe
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Thomas Wayne" . ?e_2 <pred:name> "DC Universe" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Batman
function: FilterStr
dependencies: 0
inputs: birth name
Thomas Wayne
function: Find
inputs: DC Universe
function: QueryRelation
dependencies: 1
2