Question: Does the metropolitan area that contains San Francisco (the one that is the narrative location of House of Sand and Fog), have a population greater than 27000000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "San Francisco" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "House of Sand and Fog" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "27000000"^^xsd:double ) .  }
Program:
function: Find
inputs: House of Sand and Fog
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: San Francisco
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan area
function: QueryAttr
dependencies: 5
inputs: population
function: VerifyNum
dependencies: 6
inputs: 27000000
>