Question: What is its OSM tag or key for the religion of Robert Smith (the one that hold the position United States Secretary of State), which is Calvinism?
Choices:
Tag:religion=jain
Tag:building:architecture=modern
Tag:sport=chess
Tag:denomination=presbyterian
Tag:sport=taekwondo
Tag:healthcare:speciality=biochemistry
Tag:denomination=catholic
Tag:building=hotel
Tag:religion=sikh
Tag:tourism=hotel
Answer: Tag:denomination=presbyterian
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Calvinism" . ?e_1 <religion> ?e . ?e_1 <pred:name> "Robert Smith" . ?e_1 <position_held> ?e_2 . ?e_2 <pred:name> "United States Secretary of State" .  ?e <OSM_tag_or_key> ?pv .  }
Program:
function: Find
inputs: United States Secretary of State
function: Relate
dependencies: 0
inputs: position held
backward
function: Find
inputs: Robert Smith
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: religion
forward
function: FilterConcept
dependencies: 4
inputs: Calvinism
function: QueryAttr
dependencies: 5
inputs: OSM tag or key