Question: How many Christian doctrines are the religion of John Quincy Adams (whose birth name is John Quincy Adams) and have the OSM tag or key Tag:denomination=evangelical?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Christianity" . ?e_1 <religion> ?e . ?e_1 <pred:name> "John Quincy Adams" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "John Quincy Adams" .  ?e <OSM_tag_or_key> ?pv_1 . ?pv_1 <pred:value> "Tag:denomination=evangelical" .  }
Program:
function: Find
inputs: John Quincy Adams
function: FilterStr
dependencies: 0
inputs: birth name
John Quincy Adams
function: Relate
dependencies: 1
inputs: religion
forward
function: FilterConcept
dependencies: 2
inputs: Christianity
function: FindAll
function: FilterStr
dependencies: 4
inputs: OSM tag or key
Tag:denomination=evangelical
function: FilterConcept
dependencies: 5
inputs: Christianity
function: And
dependencies: 3
6
function: Count
dependencies: 7