Question: How many metropolitan areas are the headquarters location of the New England Patriots and overlap Louisiana (whose ISO 3166-2 code is US-LA)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "New England Patriots" .  ?e <territory_overlaps> ?e_2 . ?e_2 <pred:name> "Louisiana" . ?e_2 <ISO_3166-2_code> ?pv . ?pv <pred:value> "US-LA" .  }
Program:
function: Find
inputs: New England Patriots
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: FilterConcept
dependencies: 1
inputs: metropolitan area
function: Find
inputs: Louisiana
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
US-LA
function: Relate
dependencies: 4
inputs: territory overlaps
backward
function: FilterConcept
dependencies: 5
inputs: metropolitan area
function: And
dependencies: 2
6
function: Count
dependencies: 7