Question: What is the number of cities with the official website http://jalandhar.nic.in or that is the Baptists terrain feature?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://jalandhar.nic.in" .  } UNION { ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> "Baptists" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://jalandhar.nic.in
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Baptists
function: Relate
dependencies: 3
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 4
inputs: city
function: Or
dependencies: 2
5
function: Count
dependencies: 6