Question: How many port cities are the birthplace of Haim Saban or have http://www.tj.gov.cn as their official website?
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> "port city" .  { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Haim Saban" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.tj.gov.cn" .  } }
Program:
function: Find
inputs: Haim Saban
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: port city
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.tj.gov.cn
function: FilterConcept
dependencies: 4
inputs: port city
function: Or
dependencies: 2
5
function: Count
dependencies: 6