query-9bf08f9aa17faed40d99ab84b6a567fb

rq turtle/ttl

title:Tutte le singole persone aventi almeno un IRIS e un SBN SELECT DISTINCT ?item ?itemLabel ?sbn WHERE { ?item ?irisst ?irisid . ?iris wikibase:directClaim ?irisst . ?iris wdt:P9073 [ wdt:P408 wd:Q107492957 ] . ?item wdt:P396 ?sbn . SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en,[AUTO_LANGUAGE]". } }

Use at

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:Tutte le singole persone aventi almeno un IRIS e un SBN
SELECT DISTINCT ?item ?itemLabel ?sbn
WHERE {
  ?item ?irisst ?irisid .
  ?iris wikibase:directClaim ?irisst .
  ?iris wdt:P9073 [ wdt:P408 wd:Q107492957 ] .
  ?item wdt:P396 ?sbn .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en,[AUTO_LANGUAGE]". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?iris") v3("?irisid") v2("?irisst") v1("?item"):::projected v5("?sbn"):::projected a1((" ")) c9(["it,en,#91;AUTO_LANGUAGE#93;"]):::literal c7(["bd:serviceParam"]):::iri c3(["wd:Q107492957"]):::iri v1 -->v2--> v3 v4 --"wikibase:directClaim"--> v2 a1 --"wdt:P408"--> c3 v4 --"wdt:P9073"--> a1 v1 --"wdt:P396"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end