User:Pigsonthewing/Kosovo
Jump to navigation
Jump to search
Try it!
Try it!
Try it!
Try it!
Try it!
Try it!
Try it!
Try it!
Setup
[edit]Properties
[edit]- Cultural Heritage Kosovo ID (P3227)
- That's it!
Queries
[edit]Historical buildings (monuments) in Pristina
[edit]- 3 results
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item wdt:P31/wdt:P279* wd:Q4989906;
wdt:P131+ wd:Q25270;
wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
Public art in Pristina
[edit]- no results
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item wdt:P31/wdt:P279* wd:Q557141;
wdt:P131+ wd:Q25270;
wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
Mosques in Pristina
[edit]- 1 result
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item wdt:P31/wdt:P279* wd:Q32815;
wdt:P131+ wd:Q25270;
wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
Museums in Pristina
[edit]- 2 results
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item wdt:P31/wdt:P279* wd:Q33506;
wdt:P131 wd:Q25270;
wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
Railway stations in Kosovo
[edit]- 1 result
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item wdt:P31/wdt:P279* wd:Q55488;
wdt:P17 wd:Q1246; # (wdt:P17|wdt:P131)+ times out
wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
Parks in Kosovo
[edit]- no results
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item wdt:P31/wdt:P279* wd:Q22698;
wdt:P131+ wd:Q25270;
wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
People born in Kosovo, but educated elsewhere
[edit]- 22 results (table)
SELECT ?item ?itemLabel ?school ?schoolLabel ?countryLabel {
{
SELECT ?item (SAMPLE(?school) AS ?school) {
?item wdt:P31 wd:Q5;
wdt:P19 ?place;
wdt:P69 ?school .
?place (wdt:P17|wdt:P131)* wd:Q1246 .
MINUS { ?school (wdt:P17|wdt:P131)* wd:Q1246 } .
#?school wdt:P17 wd:Q183 . # no results
} GROUP BY ?item
} .
OPTIONAL { ?school wdt:P17 ?country } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
...and who have a photo
[edit]- 11 results (image grid)
#defaultView:ImageGrid
SELECT ?item ?itemLabel ?image ?school ?schoolLabel {
{
SELECT ?item (SAMPLE(?school) AS ?school) (SAMPLE(?image) AS ?image) {
?item wdt:P31 wd:Q5;
wdt:P19 ?place;
wdt:P69 ?school;
wdt:P18 ?image .
?place (wdt:P17|wdt:P131)* wd:Q1246 .
MINUS { ?school (wdt:P17|wdt:P131)* wd:Q1246 } .
} GROUP BY ?item
} .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}