Question: What is the connection between Houston (the one that was born in Los Angeles) to Los Angeles?
Choices:
grants
drug used for treatment
place of birth
draft pick from school
patron saint
uses
parent club
has effect
twinned administrative body
geography of topic
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Houston
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Houston" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Los Angeles" . ?e_1 ?p ?e_2 .  }
Answer: place of birth