query-66c0220db3661ffc2e11a962d97ed96f
, while this (Q55586529)Wikidata property for authority control by VIAF member is a list of properties being
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?items_with_property ?uses_of_property
WHERE {
SELECT
(wikibase:statementProperty as ?use)
(COUNT(DISTINCT(?item)) as ?items_with_property)
(COUNT(?value) as ?uses_of_property)
WHERE { ?item p:P227 ?value }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item")
v4("?items_with_property"):::projected
v3("?use")
v5("?uses_of_property"):::projected
v2("?value")
v1 --"p:P227"--> v2
bind2[/"'wikibase:statementProperty'"/]
bind2 --as--o v3
bind3[/"count(?item)"/]
v1 --o bind3
bind3 --as--o v4
bind4[/"count(?value)"/]
v2 --o bind4
bind4 --as--o v5