Question: Tell me the relatoinship between Superman (which was written by Geoff Johns) and Mark Wahlberg.
Choices:
ethnic group
work location
parent club
main subject
territory claimed by
use
office held by head of state
student
creator
after a work by
Program:
function: Find
inputs: Geoff Johns
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: Mark Wahlberg
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Superman" . ?e_1 <author> ?e_3 . ?e_3 <pred:name> "Geoff Johns" . ?e_2 <pred:name> "Mark Wahlberg" . ?e_1 ?p ?e_2 .  }
Answer: creator