Question: What is the number of provinces in China that have the official website http://www.sd.gov.cn or the subreddit Hunan?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.sd.gov.cn" .  } UNION { ?e <subreddit> ?pv . ?pv <pred:value> "Hunan" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.sd.gov.cn
function: FilterConcept
dependencies: 1
inputs: province of China
function: FindAll
function: FilterStr
dependencies: 3
inputs: subreddit
Hunan
function: FilterConcept
dependencies: 4
inputs: province of China
function: Or
dependencies: 2
5
function: Count
dependencies: 6