query-eff5ca885df384bf9a3d2846d36a3669

rq turtle/ttl

Genderless people from jawiki

Use at

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/>
SELECT ?item {

  ?article schema:isPartOf <https://ja.wikipedia.org/> .
  ?article schema:about ?item .
  ?item wdt:P31 wd:Q5 .
  OPTIONAL {?item wdt:P21 ?gender} filter (!bound(?gender))
  ?item wikibase:sitelinks 1 .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article") v1("?gender") v3("?item"):::projected c8(["1^^xsd:integer"]):::literal c5(["wd:Q5"]):::iri c2([https://ja.wikipedia.org/]):::iri f0[["not bound(?gender)"]] f0 --> v1 v2 --"schema:isPartOf"--> c2 v2 --"schema:about"--> v3 v3 --"wdt:P31"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P21".-> v1 end v3 --"wikibase:sitelinks"--> c8