query-d91731f8f75525f7b736cd91a884def5
title:Distinct persons born in Pisa with LNB ID and with Latvian label SELECT DISTINCT ?item ?label ?lnb wHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P19 wd:Q13375 . ?item wdt:P1368 ?lnb . ?item rdfs:label ?label . FILTER(LANG(?label) = "lv") }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#title:Distinct persons born in Pisa with LNB ID and with Latvian label
SELECT DISTINCT ?item ?label ?lnb
wHERE {
?item wdt:P31 wd:Q5 .
?item wdt:P19 wd:Q13375 .
?item wdt:P1368 ?lnb .
?item rdfs:label ?label . FILTER(LANG(?label) = "lv")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label"):::projected
v3("?lnb"):::projected
c5(["wd:Q13375"]):::iri
c3(["wd:Q5"]):::iri
f0[["?label = 'lv'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"wdt:P19"--> c5
v2 --"wdt:P1368"--> v3
v2 --"rdfs:label"--> v1