Question: How is Alaska (the one that was born in Mexico City) related to an actor ?
Choices:
software engine
mountain range
professional or sports partner
affiliation
time period
coextensive with
Wikidata property
replaces
stated in
occupation
Program:
function: Find
inputs: Mexico City
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Alaska
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alaska" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Mexico City" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation