Wikidata:WikiProject Religions/Queries
Jump to navigation
Jump to search
religion (Q9174) parent classes
[edit]
Ontology
[edit]- High-level religions tagged subclass of (P279) religion (Q9174) : Query: claim[279:9174]
- Complete sub-tree: Query: claim[279:(tree[9174[][279])]]
Errors
[edit]- instance of (P31) = religion (Q9174) : Query: claim[31:9174]
- monotheism (Q9159):
- polytheism (Q9163)
- henotheism (Q150395)
- atheism (Q7066)
- syncretism (Q172904)
- Greco-Roman mysteries (Q505821)
- gnosticism (Q48420)
By religions
[edit]General template to get a graph of sub-classes of a given religion:
# XXX sub-traditions
#defaultView:Graph
SELECT ?item ?itemLabel ?_subclass_of ?_subclass_ofLabel WHERE {
# Replace QXXX by the Q-id of your base item:
?item wdt:P279+ wd:QXXX.
?item wdt:P279 ?_subclass_of.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 100
Examples:
- Graph of sub-classes of Jainism (Q9232)]: → WQS