Question: How is mathematician William Goldman related to the University of California, Berkeley?
Choices:
medical condition
educated at
sponsor
works in collection
country for sport
professional or sports partner
had as last meal
natural product of taxon
indigenous to
exported to
Program:
function: Find
inputs: mathematician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: William Goldman
function: And
dependencies: 1
2
function: Find
inputs: University of California, Berkeley
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Goldman" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "mathematician" . ?e_2 <pred:name> "University of California, Berkeley" . ?e_1 ?p ?e_2 .  }
Answer: educated at