Open Data APIs

In addition to the Drupal and CKAN-based APIs supplied with DKAN, two major open data standards are supported. Both are supplied by and configurable through the Open Data Schema Map module.

Project Open Data

DKAN provides full support and mapping for U.S. Project Open Data, in both its federal and non-federal variants, with a data.json endpoint. The optional Open Data Federal Extras module is needed for full federal POD compliance. See a demo here.

DCAT-AP

DKAN also provides endpoints and configurable field mappings for DCAT-AP, the application profile for data portals in Europe, developed by the European Commission. DCAT-AP is of course based on the Data Catalog Vocabulary (DCAT), but provides stricter definitions of catalogs, datasets, distributions and other objects. Through Open Data Schema Map, DKAN provides both a catalog endpoint (see demo) and individual RDF endoints for each dataset (see by going to any dataset on http://demo.getdkan.com/ and clicking the “RDF” link on the lefthand sidebar).

Field Comparison

Catalog

Dataset

DKAN Field/Property label DKAN Field/Property machine name DCAT-AP property POD property
Title title dct:title title
Description body dct:description description
Tags field_tags dcat:keyword keyword
License field_license   license
Author field_author    
Spatial / Geographical Coverage Area field_spatial_geographical_area    
Spatial / Geographical Coverage Location field_spatial_geographical_cover dct:spatial spatial
Frequency field_frequency dct:accrualPeriodicity accrualPeriodicity
Publisher og_group_ref dct:publisher publisher
Temporal Coverage field_temporal_coverage dct:temporal temporal
Granularity field_granularity    
Data Dictionary field_data_dictionary   dataDictionary
Contact Name field_contact_name dcat:contactPoint.vcard:fn contactPoint
Contact Email field_contact_email dcat:contactPoint.vcard:hasEmail mbox
Public Access Level field_public_access_level dct:accessRights accessLevel
Additional Info field_additional_info    
Resources field_resources dcat:distribution distribution
Related Content field_related_content   references
Data Standard field_conforms_to   conformsTo
  uuid dct:identifier identifier
  modified_date dct:modified modified
  release_date dct:issued issued

The following properties are provided by the Open Data Federal Extras module and have no equivilant in DCAT. They are only relevant to U.S. federal agencies.

DKAN Field/Property label DKAN Field/Property machine name POD property
Bureau Code field_odfe_bureau_code bureauCode
Data Quality field_odfe_data_quality dataQuality
Primary IT Investment UII field_odfe_investment_uii primaryITInvestmentUII
Program Code field_odfe_program_code programCode
System of Records field_odfe_system_of_records systemOfRecords

Resource / Distribution

DKAN Field/Property label DKAN Field/Property machine name DCAT-AP property POD property
    dcat:accessURL accessURL
    dct:conformsTo conformsTo
      describedBy
      describedByType
Description body dct:description description
Link File || Upload field_link_remote_file || field_upload dcat:downloadURL downloadURL
Format field_format   format
  field_upload:mime dcat:mediaType mediaType
Title title title dct:title