query-c6f0b9650d968364d3ed03c604a7d55b
title:elementi con id DBBI20 ma senza fonte per l'occupazione SELECT ?item ?itemLabel ?itemDescription (URI(Concat("https://www.aib.it/aib/editoria/dbbi20/",?idDBBI20)) as ?idDBBI20url) WHERE { ?item wdt:P31 wd:Q5; wdt:P8985 ?idDBBI20. ?item p:P106 ?occ. MINUS { ?occ prov:wasDerivedFrom ?occref.} 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 prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:elementi con id DBBI20 ma senza fonte per l'occupazione
SELECT ?item ?itemLabel ?itemDescription (URI(Concat("https://www.aib.it/aib/editoria/dbbi20/",?idDBBI20)) as ?idDBBI20url)
WHERE
{
?item wdt:P31 wd:Q5; wdt:P8985 ?idDBBI20.
?item p:P106 ?occ.
MINUS { ?occ prov:wasDerivedFrom ?occref.}
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("?idDBBI20"):::projected
v5("?idDBBI20url")
v1("?item"):::projected
v3("?occ")
v4("?occref")
c7(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P8985"--> v2
v1 --"p:P106"--> v3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 --"prov:wasDerivedFrom"--> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"concat('https://www.aib.it/aib/editoria/dbbi20/',?idDBBI20)"/]
v2 --o bind1
bind1 --as--o v5