Question: What number of North Carolina counties are named after Benjamin Franklin (the one that is the member of American Philosophical Society) and have a population larger than 1200000?
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> "county of North Carolina" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Benjamin Franklin" . ?e_1 <member_of> ?e_2 . ?e_2 <pred:name> "American Philosophical Society" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "1200000"^^xsd:double ) .  }
Program:
function: Find
inputs: American Philosophical Society
function: Relate
dependencies: 0
inputs: member of
backward
function: Find
inputs: Benjamin Franklin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of North Carolina
function: FindAll
function: FilterNum
dependencies: 6
inputs: population
1200000
>
function: FilterConcept
dependencies: 7
inputs: county of North Carolina
function: And
dependencies: 5
8
function: Count
dependencies: 9