query-10e1dae2514081c5735f57086ec5d82e
title:Scientists born in Liepāja with LNB ID SELECT ?item ?itemLabel ?lnb wHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P19 wd:Q167668 . ?item wdt:P106/wdt:P279* wd:Q901 . ?item wdt:P1368 ?lnb . SERVICE wikibase:label { bd:serviceParam wikibase:language "lv,mul,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 bd: <http://www.bigdata.com/rdf#>
#title:Scientists born in Liepāja with LNB ID
SELECT ?item ?itemLabel ?lnb
wHERE {
?item wdt:P31 wd:Q5 .
?item wdt:P19 wd:Q167668 .
?item wdt:P106/wdt:P279* wd:Q901 .
?item wdt:P1368 ?lnb .
SERVICE wikibase:label { bd:serviceParam wikibase:language "lv,mul,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?lnb"):::projected
a1((" "))
c4(["wd:Q167668"]):::iri
c10(["bd:serviceParam"]):::iri
c7(["wd:Q901"]):::iri
c2(["wd:Q5"]):::iri
c12(["lv,mul,en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P19"--> c4
v1 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c7
v1 --"wdt:P1368"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end