Here is a SPARQL query to fetch (up to) 50 Wikidata items representing people who identify as non-binary:

SELECT DISTINCT ?item ?itemLabel ?genderIdentityLabel
WHERE {
  ?item wdt:P31 wd:Q5;         # items that are instances of human
        wdt:P21 wd:Q48270;     # items with gender identity of non-binary
        rdfs:label ?itemLabel.
  FILTER(LANG(?itemLabel) = "en")
  OPTIONAL { ?item wdt:P21 ?genderIdentity. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
LIMIT 50
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence