query-6bf632fcdc23f5e21fad4a7f36525655
Propertiesinstance of (P31)sex or gender (P21)occupation (P106)
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?linkcount WHERE {
?item wdt:P31 wd:Q5;
wdt:P21 wd:Q6581072;
wdt:P106 wd:Q36180;
wikibase:sitelinks ?linkcount.
FILTER(?linkcount >= 50 )
FILTER(NOT EXISTS {
?article schema:about ?item;
schema:inLanguage "ml";
schema:isPartOf <https://ml.wikipedia.org/>.
})
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,es,ar,fr". }
}
GROUP BY ?item ?itemLabel ?linkcount
ORDER BY DESC (?linkcount)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article")
v3("?item"):::projected
v1("?linkcount"):::projected
c10(["wd:Q6581072"]):::iri
c12(["wd:Q36180"]):::iri
c15(["bd:serviceParam"]):::iri
c5([https://ml.wikipedia.org/]):::iri
c8(["wd:Q5"]):::iri
c17(["en,de,es,ar,fr"]):::literal
c3(["ml"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:inLanguage"--> e0c3
e0v1 --"schema:isPartOf"--> e0c5
e0v1("?article"):::projected
e0v2("?item"):::projected
e0c5([https://ml.wikipedia.org/]):::iri
e0c3(["ml"]):::literal
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
f0 --> c2
f0 --> c3
f0 --> c4
f0 --> c5
v2 --"schema:about"--> v3
v2 --"schema:inLanguage"--> c3
v2 --"schema:isPartOf"--> c5
f1[["?linkcount >= '50^^xsd:integer'"]]
f1 --> v1
v3 --"wdt:P31"--> c8
v3 --"wdt:P21"--> c10
v3 --"wdt:P106"--> c12
v3 --"wikibase:sitelinks"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c17
end