query-1e5d04f314c2de64068885827a2ed9a8

rq turtle/ttl

title:Persone con almeno un id e senza etichetta in italiano SELECT ?person ?personLabel ?id WHERE { ?person wdt:P8750 ?id . ?person wdt:P31 wd:Q5 . MINUS { ?person rdfs:label ?label . FILTER(LANG(?label) = "it") } SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr,es". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Persone con almeno un id e senza etichetta in italiano
SELECT ?person ?personLabel ?id
WHERE {
  ?person wdt:P8750 ?id .
  ?person wdt:P31 wd:Q5 .
  MINUS { ?person rdfs:label ?label . FILTER(LANG(?label) = "it") }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr,es". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?id"):::projected v3("?label") v1("?person"):::projected c7(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c9(["en,de,fr,es"]):::literal v1 --"wdt:P8750"--> v2 v1 --"wdt:P31"--> c3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["?label = 'it'"]] f1 --> v3 v1 --"rdfs:label"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end