query-0ac758f1968346149b63cd96ec36e1f7
Autori con ID autore SHARE Catalogue e senza VIAF SELECT ?author ?authorLabel ?shareID ?viafID WHERE { ?author wdt:P3987 ?shareID . OPTIONAL {?author wdt:P214 ?viafID . } FILTER(!bound(?viafID)) 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 bd: <http://www.bigdata.com/rdf#>
#Autori con ID autore SHARE Catalogue e senza VIAF
SELECT ?author ?authorLabel ?shareID ?viafID
WHERE
{
?author wdt:P3987 ?shareID .
OPTIONAL {?author wdt:P214 ?viafID . }
FILTER(!bound(?viafID))
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("?author"):::projected
v3("?shareID"):::projected
v1("?viafID"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not bound(?viafID)"]]
f0 --> v1
v2 --"wdt:P3987"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P214".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end