query-56b8b86f51eb8fee76b85ec999dfb8f5
Arabic WP female mathematicians, not in enWP. Can use with embed.html for performance reasons. SELECT DISTINCT ?item ?itemLabel
WHERE {?item wdt:P31 wd:Q5 . ?item wdt:P21 wd:Q6581072 . ?item wdt:P106 wd:Q170790 . FILTER EXISTS { ?war schema:about ?item . ?war schema:inLanguage "ar" } FILTER NOT EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" }
SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .} }
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#>
#Arabic WP female mathematicians, not in enWP. Can use with embed.html for performance reasons.
SELECT DISTINCT ?item ?itemLabel
WHERE {?item wdt:P31 wd:Q5 .
?item wdt:P21 wd:Q6581072 .
?item wdt:P106 wd:Q170790 .
FILTER EXISTS { ?war schema:about ?item . ?war schema:inLanguage "ar" }
FILTER NOT EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" }
SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?war")
v1("?wen")
c10(["wd:Q170790"]):::iri
c3(["en"]):::literal
c8(["wd:Q6581072"]):::iri
c4(["ar"]):::literal
c12(["bd:serviceParam"]):::iri
c6(["wd:Q5"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:inLanguage"--> e0c3
e0v2("?item"):::projected
e0v1("?wen"):::projected
e0c3(["en"]):::literal
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> c3
v1 --"schema:about"--> v2
v1 --"schema:inLanguage"--> c3
f1[[" "]]
subgraph f1e1["Exists Clause"]
e1v1 --"schema:about"--> e1v2
e1v1 --"schema:inLanguage"--> e1c3
e1v2("?item"):::projected
e1v1("?war"):::projected
e1c3(["ar"]):::literal
end
f1--EXISTS--> f1e1
f1 --> v3
f1 --> c1
f1 --> v2
f1 --> c2
f1 --> c4
v3 --"schema:about"--> v2
v3 --"schema:inLanguage"--> c4
v2 --"wdt:P31"--> c6
v2 --"wdt:P21"--> c8
v2 --"wdt:P106"--> c10
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c3
end