Question: How many states of the United States share a common border?
Choices:
47
48
49
50
51
52
53
54
55
56
Answer: 48
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "contiguous United States" .   }
Program:
function: Find
inputs: contiguous United States
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Count
dependencies: 2