Question: Which Texas county containing Fort Worth (that is the twinned administrative body of Bandung) has the smallest area?
Choices:
McLennan County
Johnson County
Tarrant County
Cameron County
Montgomery County
Brazoria County
El Paso County
Denton County
Jefferson County
Dallas County
Program:
function: Find
inputs: Bandung
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Fort Worth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Texas
function: SelectAmong
dependencies: 5
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Fort Worth" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Bandung" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tarrant County