query-fbd711bac015f8a2cd8ab3f9b5da0dd0
title:elementi con id DBE ma senza P106 occupazione SELECT ?item ?itemLabel ?workLabel (URI(Concat("http://dbe.editricebibliografica.it/cgi-bin/dbe/Scheda?",?idDBE)) as ?idDBEURL) WHERE { ?item wdt:P31 wd:Q5; wdt:P9625 ?idDBE. MINUS { ?item wdt:P106 ?work.} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
Use at
- https://query.wikidata.org/sparql
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#>
#title:elementi con id DBE ma senza P106 occupazione
SELECT ?item ?itemLabel ?workLabel (URI(Concat("http://dbe.editricebibliografica.it/cgi-bin/dbe/Scheda?",?idDBE)) as ?idDBEURL)
WHERE
{
?item wdt:P31 wd:Q5; wdt:P9625 ?idDBE.
MINUS { ?item wdt:P106 ?work.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?idDBE"):::projected
v4("?idDBEURL")
v1("?item"):::projected
v3("?work")
c6(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P9625"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P106"--> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind1[/"concat('http://dbe.editricebibliografica.it/cgi-bin/dbe/Scheda?',?idDBE)"/]
v2 --o bind1
bind1 --as--o v4