Question: Tell me the relationship between Janet Jackson and Gary (which has a population of 80294)
Choices: time period
dialect of
presenter
educated at
has cause
headquarters location
costume designer
had as last meal
convicted of
place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Janet Jackson" . ?e_2 <pred:name> "Gary" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "80294"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Janet Jackson
function: Find
inputs: Gary
function: FilterNum
dependencies: 1
inputs: population
80294
=
function: QueryRelation
dependencies: 0
2
Answer: place of birth