Question: How many U.S. states border Florida or have PermID 4296214987?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" .  { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Florida" .  } UNION { ?e <PermID> ?pv . ?pv <pred:value> "4296214987" .  } }
Program:
function: Find
inputs: Florida
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: PermID
4296214987
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3