Question: Which has more people, Portsmouth (the one whose elevation (above sea level) is 162 metre) or Auburn (the one whose postal code is 36800_36899)?
Choices: distribution
properties for this type
material used
use
contains administrative territorial entity
broadcast by
discoverer or inventor
operating area
award disciplines or subjects
published in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Massachusetts" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Brandeis University" . ?e_2 <pred:name> "Suffolk County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "755503"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brandeis University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Massachusetts
function: And
dependencies: 1
2
function: Find
inputs: Suffolk County
function: FilterNum
dependencies: 4
inputs: population
755503
=
function: QueryRelation
dependencies: 3
5
Answer: contains administrative territorial entity