Question: What is the relationship between Natalie Morales (the one that has the occupation of actor) and Miami (the one whose population is 417650)?
Choices:
partially contains
military conflicts
place of birth
successful candidate
original network
studied by
capital
father
home venue
broadcast by
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Natalie Morales" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "Miami" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "417650"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Natalie Morales
function: And
dependencies: 1
2
function: Find
inputs: Miami
function: FilterNum
dependencies: 4
inputs: population
417650
=
function: QueryRelation
dependencies: 3
5