Question: What belief system is the religion of Punjabi people and whose OSM tag or key is Tag:religion=sikh ?
Choices:
Sikhism
Unitarianism
Russian Orthodox Church
Lutheranism
Baptists
Scientology
Greek Orthodox Church
Presbyterianism
Hinduism
Jainism
Program:
function: Find
inputs: Punjabi people
function: Relate
dependencies: 0
inputs: religion
forward
function: FilterConcept
dependencies: 1
inputs: belief system
function: FindAll
function: FilterStr
dependencies: 3
inputs: OSM tag or key
Tag:religion=sikh
function: FilterConcept
dependencies: 4
inputs: belief system
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" . ?e_1 <religion> ?e . ?e_1 <pred:name> "Punjabi people" .  ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:religion=sikh" .  }
Answer: Sikhism