World Bank · JSON-LD Context

Worldbank Context

JSON-LD context defining the semantic vocabulary for Worldbank from World Bank.

21 Classes 22 Properties 7 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
wb: https://data.worldbank.org/ontology/
xsd: http://www.w3.org/2001/XMLSchema#
dcat: http://www.w3.org/ns/dcat#
dcterms: http://purl.org/dc/terms/
owl: http://www.w3.org/2002/07/owl#
skos: http://www.w3.org/2004/02/skos/core#

Classes

WorldBankProvider Dataset Indicator Country Region IncomeLevel LendingType DataCatalog Project id type name description identifier capitalCity unit obs_status decimal sourceid sourcename sourceNote

Properties

Property Type Container
url reference
dateModified date
license reference
iso2Code string
countryiso3code string
longitude string
latitude string
region reference
adminregion reference
incomeLevel reference
lendingType reference
indicator reference
country reference
date string
value decimal
page integer
pages integer
per_page integer
total integer
lastupdated date
topics set
sourceOrganization string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "wb": "https://data.worldbank.org/ontology/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcat": "http://www.w3.org/ns/dcat#",
    "dcterms": "http://purl.org/dc/terms/",
    "owl": "http://www.w3.org/2002/07/owl#",
    "skos": "http://www.w3.org/2004/02/skos/core#",

    "WorldBankProvider": "schema:Organization",
    "Dataset": "dcat:Dataset",
    "Indicator": "wb:Indicator",
    "Country": "schema:Country",
    "Region": "wb:Region",
    "IncomeLevel": "wb:IncomeLevel",
    "LendingType": "wb:LendingType",
    "DataCatalog": "schema:DataCatalog",
    "Project": "wb:Project",

    "id": "@id",
    "type": "@type",

    "name": "schema:name",
    "description": "schema:description",
    "url": {
      "@id": "schema:url",
      "@type": "@id"
    },
    "identifier": "schema:identifier",
    "dateModified": {
      "@id": "dcterms:modified",
      "@type": "xsd:date"
    },
    "license": {
      "@id": "dcterms:license",
      "@type": "@id"
    },

    "iso2Code": {
      "@id": "wb:iso2Code",
      "@type": "xsd:string"
    },
    "countryiso3code": {
      "@id": "wb:iso3Code",
      "@type": "xsd:string"
    },
    "capitalCity": "wb:capitalCity",
    "longitude": {
      "@id": "schema:longitude",
      "@type": "xsd:string"
    },
    "latitude": {
      "@id": "schema:latitude",
      "@type": "xsd:string"
    },
    "region": {
      "@id": "wb:region",
      "@type": "@id"
    },
    "adminregion": {
      "@id": "wb:adminRegion",
      "@type": "@id"
    },
    "incomeLevel": {
      "@id": "wb:incomeLevel",
      "@type": "@id"
    },
    "lendingType": {
      "@id": "wb:lendingType",
      "@type": "@id"
    },

    "indicator": {
      "@id": "wb:hasIndicator",
      "@type": "@id"
    },
    "country": {
      "@id": "wb:forCountry",
      "@type": "@id"
    },
    "date": {
      "@id": "wb:referenceYear",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "wb:indicatorValue",
      "@type": "xsd:decimal"
    },
    "unit": "wb:unitOfMeasure",
    "obs_status": "wb:observationStatus",
    "decimal": "wb:decimalPlaces",

    "page": {
      "@id": "wb:currentPage",
      "@type": "xsd:integer"
    },
    "pages": {
      "@id": "wb:totalPages",
      "@type": "xsd:integer"
    },
    "per_page": {
      "@id": "wb:perPage",
      "@type": "xsd:integer"
    },
    "total": {
      "@id": "wb:totalRecords",
      "@type": "xsd:integer"
    },
    "lastupdated": {
      "@id": "dcterms:modified",
      "@type": "xsd:date"
    },
    "sourceid": "wb:sourceId",
    "sourcename": "wb:sourceName",

    "topics": {
      "@id": "wb:hasTopic",
      "@container": "@set"
    },
    "sourceNote": "dcterms:description",
    "sourceOrganization": {
      "@id": "dcterms:source",
      "@type": "xsd:string"
    }
  },
  "@graph": [
    {
      "@id": "https://data.worldbank.org",
      "@type": "schema:Organization",
      "schema:name": "World Bank",
      "schema:description": "The World Bank is an international financial institution that provides loans and grants to the governments of low- and middle-income countries for the purpose of pursuing capital projects.",
      "schema:url": "https://www.worldbank.org",
      "schema:sameAs": [
        "https://www.wikidata.org/wiki/Q7169",
        "https://dbpedia.org/resource/World_Bank"
      ]
    },
    {
      "@id": "https://api.worldbank.org/v2",
      "@type": "schema:WebAPI",
      "schema:name": "World Bank Indicators API",
      "schema:description": "Provides programmatic access to nearly 16,000 time series development indicators including GDP, poverty rates, health metrics, education statistics, and demographic data across countries and regions.",
      "schema:documentation": "https://datahelpdesk.worldbank.org/knowledgebase/articles/889392-about-the-indicators-api-documentation",
      "schema:license": "https://creativecommons.org/licenses/by/4.0/",
      "schema:provider": {
        "@id": "https://data.worldbank.org"
      }
    }
  ]
}