Wikidata:Properties/Statistics

This page lists some statistics and queries of Wikidata properties.

StatisticsEdit

SPARQL queriesEdit

Wikidata property (Q18616576) facet of (P1269) (branch of science (Q2465832) union (Q185359) science (Q336))Edit

The following query uses these:

  • Properties: instance of (P31)     , subclass of (P279)     , facet of (P1269)     
     1 SELECT ?sbLabel ?propLabel ?prop 
     2 WHERE
     3 {
     4 # TODO: ?item wdt:P31 wd:Q21099935 .
     5     ?prop wdt:P31 ?propClass .
     6     ?propClass wdt:P279 wd:Q18616576 .
     7     ?propClass wdt:P1269 ?sb . ## P1269; P361 - 0; P642 - 0
     8     { ?sb wdt:P31+ wd:Q2465832 }
     9     UNION { ?sb wdt:P31 wd:Q336 } .
    10           
    11 	SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
    12 } ORDER BY ?sbLabel ?propLabel
    

Wikidata property (Q18616576) facet of (P1269)Edit

The following query uses these:

  • Properties: instance of (P31)     , subclass of (P279)     , facet of (P1269)     
     1 SELECT ?aspLabel ?asp ?propLabel ?prop 
     2 WHERE
     3 {
     4 # TODO: ?item wdt:P31 wd:Q21099935 .
     5     ?prop wdt:P31 ?propClass .
     6     ?propClass wdt:P279 wd:Q18616576 .
     7     ?propClass wdt:P1269 ?asp .
     8 
     9 	SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
    10 } ORDER BY ?aspLabel ?propLabel