query-24f0f1e9670d49e6784a7585bbad8fb6

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?person ?personLabel WHERE {
  ?person wdt:P27 wd:Q20.
  FILTER NOT EXISTS { ?person wdt:P734 ?lastname . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nn". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?lastname") v1("?person"):::projected c7(["#91;AUTO_LANGUAGE#93;,nn"]):::literal c5(["bd:serviceParam"]):::iri c3(["wd:Q20"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P734"--> e0v2 e0v2("?lastname"):::projected e0v1("?person"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 v1 --"wdt:P734"--> v2 v1 --"wdt:P27"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end