Wikidata:WikiProject Norway


Project for coordination regarding properties and items relating to Norway.


Important properties that are missing labels in Norsk, bokmål (nb) edit

At the time of writing this, there is about 6600 properties of about 10000 that do not have a Norwegian translation. Of these around 900 are "important", so if you are bored, please consider doing a quality translation of any one of these.

SELECT ?item ?itemLabel
WHERE {
  ?item rdf:type wikibase:Property.
  FILTER NOT EXISTS { ?item wikibase:propertyType wikibase:ExternalId. }
  FILTER NOT EXISTS { ?item rdfs:label ?nblabel. FILTER(LANG(?nblabel) = "nb") }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Try it!

Sider på norsk Wikipedia som mangler instance of (P31) eller subclass of (P279) på Wikidata edit

En del av disse kan være duplikater og kan flettes, andre kan få tilføyd P31 utsagn.

SELECT ?item ?name ?article
WHERE {
  ?article schema:about ?item ;
    schema:name ?name ;
    schema:isPartOf <https://no.wikipedia.org/> .
  # ?item wikibase:sitelinks 1 .
  FILTER NOT EXISTS { ?item wdt:P31|wdt:P279 [] . }
}
#LIMIT 1000
Try it!

Artikler på norsk wikipedia, uten bilde på Wikidata men med kobling til kategori på Commons edit

select ?item ?itemLabel ?instLabel ?sl_nowiki ?sl_commons
where {
  {
    select *
    where {
      ?item wdt:P17|wdt:P27|wdt:P495|wdt:P1532|wdt:P8047 wd:Q20 .
      ?item wdt:P31 ?inst .
      filter not exists { ?item wdt:P18 [] . }
      ?sl_nowiki schema:about ?item ;
        schema:isPartOf <https://no.wikipedia.org/> .
      ?sl_commons schema:about ?item ;
        schema:isPartOf <https://commons.wikimedia.org/> .
    }
  }
  service wikibase:label { bd:serviceParam wikibase:language "nb,nn,en" . }
}
Try it!

Items edit

Types edit

Laws & Regulations edit

Act of the Parliament of Norway

SELECT ?item ?itemLabel {
  # instance of (P31) subclass of (P279) Act of the Parliament of Norway (Q91267389)
  ?item wdt:P31 / wdt:P279* wd:Q91267389.
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Try it!

Regulation of the Government of Norway

SELECT ?item ?itemLabel {
  # instance of (P31) subclass of (P279) Regulation of the Government of Norway (Q4590880)
  ?item wdt:P31 / wdt:P279* wd:Q4590880.
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" "nb" }
}
Try it!

Other edit

SELECT ?item ?itemLabel {
  # instance of (P31) subclass of (P279) Norwegian Health Register (Q91500776)
  ?item wdt:P31 / wdt:P279* wd:Q91500776.
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Try it!

Properties edit

Queries edit

Dictionaries with language Norwegian

SELECT DISTINCT ?item ?itemNativeLabel ?itemDescription ?accessStatusLabel ?website WHERE {
  ?item wdt:P31 / wdt:P279* wd:Q23622.
  ?item wdt:P407 / wdt:P279* wd:Q9043.
  OPTIONAL { ?item ( wdt:P1705| wdt:P1476 | wdt:P1448 ) ?itemNativeLabel }.
  OPTIONAL { ?item ( wdt:P856 | wdt:P953 ) ?website }.
  ## OPTIONAL { ?item wdt:P407 ?language }.
  OPTIONAL { ?item (wdt:P31 / wdt:P279*)? / wdt:P6954 ?accessStatus }.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!


subclass of legislative act (itemsubclass of (P279)statute (Q820655)) that applies to jurisdiction Norway (itemapplies to jurisdiction (P1001)Norway (Q20)) edit

SELECT ?item ?itemLabel ?linkTo {
  ?item wdt:P279* wd:Q820655.
  ?item ( wdt:P1001| wdt:P17 ) wd:Q20.
  OPTIONAL { ?item wdt:P279 ?linkTo }
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Try it!

instance of company (iteminstance of (P31)company (Q783794)) in country Norway (itemcountry (P17)Norway (Q20)) edit

SELECT ?item ?itemLabel ?linkTo {
  ?item (wdt:P31 / wdt:P279*) wd:Q783794.
  ?item wdt:P17 wd:Q20.
  OPTIONAL { ?item wdt:P279 ?linkTo }
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Try it!

subclass of something (?itemsubclass of (P279)type) with country Norway (?itemcountry (P17)Norway (Q20)) edit

SELECT ?item ?itemLabel ?type ?typeLabel {
  ?item wdt:P279 ?type.
  ?item wdt:P17 wd:Q20. 
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Try it!


subclass of something (?itemsubclass of (P279)type) linked to Norway (?item?propertyNorway (Q20)) edit

SELECT ?item ?itemLabel ?property ?propertyLabel ?type ?typeLabel {
  ?item wdt:P279 ?type.
  ?item ?prop wd:Q20.
  ?property wikibase:directClaim ?prop.
  MINUS { ?item wdt:P31 / wdt:P279* wd:Q34770 }.
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Try it!


Subpages edit

Participants edit

The participants listed below can be notified using the following template in discussions:
{{Ping project|Norway}}