Question: What is the number of political parties whose chairperson is the source of the name Madison County (that has the FIPS 6-4 (US counties) 17119)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <chairperson> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_3 <named_after> ?e_1 . ?e_3 <pred:name> "Madison County" . ?e_3 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "17119" .   }
Program:
function: Find
inputs: Madison County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
17119
function: Relate
dependencies: 1
inputs: named after
forward
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: chairperson
backward
function: FilterConcept
dependencies: 4
inputs: political party
function: Count
dependencies: 5