We use cookies for authentication and — with your consent — for analytics. Read more.

Skip to content
KETL Data
DataAppsMCPSign in
  1. Home
  2. Data catalogue
  3. Wikidata SPARQL — structured open knowledge
BusinessStandardCC0

Wikidata SPARQL — structured open knowledge

Wikidata is Wikimedia's open knowledge graph with 100+ million entities. The Query Service provides programmatic access to companies, politicians, municipalities and events connected to the Nordics. Acts as an enrichment/glue layer across connectors via LEI (P1278), ISIN (P946), DK CVR (P1059), SE org numbers (P6460) and Norwegian org numbers (org.no, P2333). CC0, no auth. Read-only queries only.

110.0M rows

Data volume

Real time

Updates

6

MCP tools

Example response — /connectors/wikidata/search
{
  "data": "..."
}

MCP integration

Available MCP tools
wikidata.company_by_orgnr
wikidata.entity
wikidata.municipalities
wikidata.politicians
wikidata.search
wikidata.sparql
Configuration for Claude Desktop / Cursor
{
  "mcpServers": {
    "wikidata": {
      "url": "https://data.ketl.no/mcp/wikidata",
      "headers": {
        "Authorization": "Bearer $KETL_API_KEY"
      }
    }
  }
}

Analysis apps that use this source

Ready-made tools built on Wikidata SPARQL — structured open knowledge data. Use them directly in the browser, or wire the same data into your own analysis via the API below.

Company profile
Cross-referenced company profile in a single lookup — Brreg, GLEIF LEI, OpenCorporates and Wikidata, with Nordic name matches from CVR (DK) and YTJ (FI). KYB, journalism and investor analysis.
Norwegian continental shelf
Oil and gas production, fields, wells and production licences.
Wikidata — structured knowledge
Wikimedia's open knowledge graph — companies by org number (LEI/ISIN), Nordic municipalities with NUTS, and politicians per national parliament. CC0, cross-links Nordic registers.

API endpoints

GET
/search

Fritekst-sok pa Wikidata-entiteter (wbsearchentities)

q required
Søketerm — entitetsnavn eller -alias. q=Equinor
lang optional
Språkkode for label/beskrivelse (Wikidata `uselang`). Kappes til 10 tegn og sendes urørt videre — vi validerer den ikke. lang=no
language optional
Alias for `lang`. `lang` vinner hvis begge er gitt. language=en
limit optional
Maks antall treff (1–50). Verdier utenfor intervallet KLEMMES; en ikke-numerisk verdi faller til 10. limit=10
Show curl example
# GET https://data.ketl.no/api/connectors/wikidata/search?q=Equinor
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/wikidata/search?q=Equinor"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/sparql

Fri SPARQL-spørring (read-only)

query required
SPARQL-spørring query=SELECT ?item WHERE { ?item wdt:P31 wd:Q5 } LIMIT 1
Show curl example
# GET https://data.ketl.no/api/connectors/wikidata/sparql?query=SELECT%20%3Fitem%20WHERE%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ5%20%7D%20LIMIT%201
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/wikidata/sparql?query=SELECT%20%3Fitem%20WHERE%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ5%20%7D%20LIMIT%201"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

POST
/sparql

Fri SPARQL-spørring (read-only)

query required
SPARQL-spørring query=SELECT ?item WHERE { ?item wdt:P31 wd:Q5 } LIMIT 1
Show curl example
# POST https://data.ketl.no/api/connectors/wikidata/sparql?query=SELECT%20%3Fitem%20WHERE%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ5%20%7D%20LIMIT%201
curl -X POST \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/wikidata/sparql?query=SELECT%20%3Fitem%20WHERE%20%7B%20%3Fitem%20wdt%3AP31%20wd%3AQ5%20%7D%20LIMIT%201"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/entity/{qid}

Hent entitet på QID

lang optional
Foretrukket språk for label/beskrivelse. Legges først i fallback-kjeden; svaret ekkoer faktisk brukt språk i `lang`. lang=en
Show curl example
# GET https://data.ketl.no/api/connectors/wikidata/entity/{qid}
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/wikidata/entity/{qid}"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/company-by-orgnr

Selskap på SE/DK/NO org.nr

orgnr required
Organisasjonsnummer (norsk 9-siffer eller annet register-ID) orgnr=923609016
country optional
Hvilket lands org.nr-property som slås opp (SE P6460, DK P1059, NO P2333). Store bokstaver godtas. country=no
Show curl example
# GET https://data.ketl.no/api/connectors/wikidata/company-by-orgnr?orgnr=923609016
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/wikidata/company-by-orgnr?orgnr=923609016"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/municipalities

Kommuner m/ NUTS-kode per land

country optional
Land. Kun se/dk/no — Wikidata-klassen per land er MÅLT, ikke utledet av landkoden. Store bokstaver godtas. country=no
limit optional
Maks antall kommuner (1–500). En verdi utenfor intervallet AVVISES med 400 — den klemmes ikke. limit=50
Show curl example
# GET https://data.ketl.no/api/connectors/wikidata/municipalities
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/wikidata/municipalities"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

GET
/politicians

Nasjonalforsamling-medlemmer per land

country optional
Land. Kun se/dk/no — forsamlings-QID per land er MÅLT, ikke utledet av landkoden. Store bokstaver godtas. country=no
limit optional
Maks antall medlemmer (1–500). En verdi utenfor intervallet AVVISES med 400 — den klemmes ikke. limit=50
Show curl example
# GET https://data.ketl.no/api/connectors/wikidata/politicians
curl \
  -H "Accept: application/json" \
  "https://data.ketl.no/api/connectors/wikidata/politicians"

Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.

Access and pricing

Wikidata SPARQL — structured open knowledge is openly available — create an account to get started.

globalsparqlkunnskapselskapgeografifellesnordisk
KETL Data

Nordic open-data and compliance infrastructure. Source, rule and confidence on every answer.

Product links

  • Data
  • Apps
  • MCP
  • Contact

Legal links

  • AI transparency
  • Privacy
  • Terms
  • SLA
  • Cookies
  • Security

© 2026 KETL Data

build 8f3b7512