Wikidata:WikiProject Portugal/Queries
Sample queries
editNight in Portugal
edit#Night in Portugal
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord ?noctu
WHERE
{
?item wdt:P17 wd:Q45 .
?item wdt:P3451 ?noctu .
OPTIONAL { ?item wdt:P625 ?coord } .
OPTIONAL { ?item wdt:P18 ?picture } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "pt,es,en,ca,gl,eu,fr,de,it" . }
}
Mapa de tudo o que está em Lisbon (Q597) com base em located in the administrative territorial entity (P131)
edit#defaultView:Map
SELECT ?item ?itemLabel ?coord
WHERE {
?item wdt:P131 ?sub1 .
?sub1 (wdt:P131)* wd:Q597 .
?item wdt:P625 ?coord .
{ ?sitelink schema:about ?item . ?sitelink schema:inLanguage "pt" }
SERVICE wikibase:label { bd:serviceParam wikibase:language "pt,it,en" . }
}
Portuguese scientists
edit# Portuguese scientists
SELECT ?item ?itemLabel
WHERE
{
# human beings
?item wdt:P31 wd:Q5.
# from Portugal
?item wdt:P27 wd:Q45.
# with occupations which has a subclass of scientist
?item wdt:P106/wdt:P279* wd:Q901.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query links
edit- Portuguese people without gender information
- "Stuff" in Brazilian Portuguese without the corresponding Portuguese version (inspired by User:JotaCartas/Queries)
- List of best represented Portuguese families on Wikidata
- Portuguese monuments without heritage designation, excluding the ones not protected by law
- Portuguese bandstands