Question: How is Fiorello H. LaGuardia High School related to Manhattan (birthplace of Lady Gaga)?
Choices: inspired by
costume designer
heritage designation
founded by
located in the administrative territorial entity
discoverer or inventor
award received
sidekick of
has immediate cause
vehicle normally used
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fiorello H. LaGuardia High School" . ?e_2 <pred:name> "Manhattan" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Lady Gaga" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Fiorello H. LaGuardia High School
function: Find
inputs: Lady Gaga
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Manhattan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: located in the administrative territorial entity