Question: What is the connection between Richard Wagner (the one that was born in Leipzig) to poet?
Choices:
operating system
item operated
family name
characters
founded by
shares border with
contains administrative territorial entity
place of burial
occupation
film release region
Program:
function: Find
inputs: Leipzig
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Richard Wagner
function: And
dependencies: 1
2
function: Find
inputs: poet
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wagner" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Leipzig" . ?e_2 <pred:name> "poet" . ?e_1 ?p ?e_2 .  }
Answer: occupation