query-22571bb551a840b95c1004c27de2f9b4

rq turtle/ttl

Matematici con id SHARE Cat e senza VIAF con sitelink EN (Utile authority ctrl)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?idSHARE ?sitelink
WHERE
{
  ?item wdt:P106 wd:Q170790 .
  ?item wdt:P3987 ?idSHARE .
  OPTIONAL {?item wdt:P214 ?viafID .}
  ?sitelink schema:about ?item . ?sitelink schema:inLanguage "en" 
  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; v3("?idSHARE"):::projected v2("?item"):::projected v4("?sitelink"):::projected v1("?viafID") c2(["wd:Q170790"]):::iri c9(["bd:serviceParam"]):::iri c7(["en"]):::literal c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not bound(?viafID)"]] f0 --> v1 v2 --"wdt:P106"--> c2 v2 --"wdt:P3987"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P214".-> v1 end v4 --"schema:about"--> v2 v4 --"schema:inLanguage"--> c7 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end