query-a8c33890ab3290850aa4ec2b5eac6d47
Propertiessubclass of (P279)developer (P178)instance of (P31)sex or gender (P21)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?developer ?developerLabel (COUNT(?software) AS ?count) WHERE {
?software (p:P31/ps:P31/wdt:P279*) wd:Q7397.
?software wdt:P178 ?developer.
?developer wdt:P31 wd:Q5.
?developer wdt:P21 wd:Q6581072.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUP BY ?developer ?developerLabel
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count")
v3("?developer"):::projected
v2("?software"):::projected
a1((" "))
a2((" "))
c13(["en"]):::literal
c9(["wd:Q6581072"]):::iri
c4(["wd:Q7397"]):::iri
c11(["bd:serviceParam"]):::iri
c7(["wd:Q5"]):::iri
v2 --"p:P31"--> a1
a1 --"p:statement/P31"--> a2
a2 --"p:direct/P279"--> c4
v2 --"p:direct/P178"--> v3
v3 --"p:direct/P31"--> c7
v3 --"p:direct/P21"--> c9
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end
bind1[/"count(?software)"/]
v2 --o bind1
bind1 --as--o v4