Question: Which Texas county that is located in Texas (that is located in the United States of America) has the largest area?
Choices:
Johnson County
Collin County
Galveston County
Dallas County
Denton County
McLennan County
Hidalgo County
El Paso County
Bexar County
Harris County
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Texas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Texas
function: SelectAmong
dependencies: 5
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Texas" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Harris County