Question: How many of the China provinces either have the administrative division of Qingdao or have the official website of http://www.shanxigov.cn?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" .  { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Qingdao" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.shanxigov.cn" .  } }
Program:
function: Find
inputs: Qingdao
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: province of China
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.shanxigov.cn
function: FilterConcept
dependencies: 4
inputs: province of China
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2