Open main menu

Wikidata:WikiProject Religions/Queries

Home

 

Howto

 

Ontology

 

FAQ

 

Todo

 

Queries

 

Contents

religion (Q9174) parent classesEdit

complete tree:


OntologyEdit

By religionsEdit

General template to get a graph of sub-classes of a given religion:

0 # XXX sub-traditions
1 #defaultView:Graph
2 SELECT ?item ?itemLabel ?_subclass_of ?_subclass_ofLabel WHERE {
3   # Replace QXXX by the Q-id of your base item:
4   ?item wdt:P279+ wd:QXXX.
5   ?item wdt:P279 ?_subclass_of.
6   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
7 }
8 LIMIT 100

Examples: