Question: How many metro areas in Kentucky, which partly contains the Louisville metro area, overlap Connecticut?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Louisville metropolitan area
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: Kentucky
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: metropolitan area
function: Find
inputs: Connecticut
function: Relate
dependencies: 6
inputs: territory overlaps
backward
function: FilterConcept
dependencies: 7
inputs: metropolitan area
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Kentucky" . ?e_1 <partially_contains> ?e_2 . ?e_2 <pred:name> "Louisville metropolitan area" .  ?e <territory_overlaps> ?e_3 . ?e_3 <pred:name> "Connecticut" .  }
Answer: 0