Question: How many counties of North Carolina have their Twitter username as BrunswickGovt or contains the administrative division Asheville?
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> "county of North Carolina" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "BrunswickGovt" .  } UNION { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Asheville" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
BrunswickGovt
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: Find
inputs: Asheville
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of North Carolina
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2