Question: Which part of a sovereign state that has a diplomatic relation with Mexico (the subject of this statement is Australia–Mexico relations) does the area of 8,148,250 square km apply ?
Choices:
human leg
sea
Newfoundland
Lincoln County
northeastern part
Carter County
renting
Exclusive economic zone of Australia
active duty
Cölln
Answer: Exclusive economic zone of Australia
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Mexico" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Australia–Mexico relations" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "8148250"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <area> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Australia–Mexico relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: area
8148250 square kilometre
applies to part