query-ea24a4cfbc894d19115204787ef452d0
Humans without gender SELECT ?item ?orwiki WHERE { ?item wdt:P31 wd:Q5. minus {?item wdt:P21 [] . }
?item wikibase:statements "8"^^xsd:integer .
?article schema:about ?item ; schema:isPartOf https://or.wikipedia.org/ ; schema:name ?sitelink .
bind(concat("",?sitelink,"") as ?orwiki) }
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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/>
# Humans without gender
SELECT ?item ?orwiki WHERE
{
?item wdt:P31 wd:Q5.
minus {?item wdt:P21 [] . }
# ?item wikibase:statements "8"^^xsd:integer .
?article schema:about ?item ;
schema:isPartOf <https://or.wikipedia.org/> ;
schema:name ?sitelink .
bind(concat("",?sitelink,"") as ?orwiki)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article")
v1("?item"):::projected
v4("?orwiki"):::projected
v3("?sitelink")
a1((" "))
c2(["wd:Q5"]):::iri
c6([https://or.wikipedia.org/]):::iri
v1 --"wdt:P31"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P21"--> a1
end
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c6
v2 --"schema:name"--> v3
bind1[/"concat('',?sitelink,'')"/]
v3 --o bind1
bind1 --as--o v4