Question: How many counties in Pennsylvania are in the United States of America?
Choices: 38
39
40
41
42
43
44
45
46
47
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: county of Pennsylvania
function: Count
dependencies: 2
Answer: 39