CKAN DCAT-AP metadata: how a portal publishes and harvests RDF
A portal team that must expose its datasets to a national or European catalog, and pull in records that other catalogs publish, should plan around ckanext-dcat, the official CKAN extension for this work. It provides DCAT-AP v1, v2 and v3 schemas, DCAT RDF endpoints that other catalogs can read, and an RDF harvester for importing records from other sources. Most of the effort is configuration and metadata mapping, carried out inside infrastructure the client controls, whether that is their own servers, data centers or cloud accounts. The team should decide early which DCAT-AP version each counterpart expects, because that choice drives the field mapping in both directions. The extension's source and documentation are in the ckanext-dcat repository.
Version support is the first constraint to settle. The extension is listed as supported on CKAN 2.10 and 2.11. CKAN 2.12.0 was released on August 26, 2026, and support for that release has to be confirmed with the extension maintainers before a portal moves to it. Ask for the tested CKAN version range, the DCAT-AP versions covered on each, and any open issues on your target. Confirm 2.12 support before upgrading core. Upgrading CKAN before that answer is in hand can change RDF output without an obvious failure, so the check belongs in staging: publish an RDF export, validate it against the profile the receiving catalog uses, and read a sample back through the harvester on a second instance.
On the harvest side, records from other catalogs arrive in their own vocabulary and must land in the portal's dataset model. Review each source before its first run: confirm the DCAT-AP version it publishes, which required properties it fills, and how it expresses licenses, publishers and themes. Gaps often appear as empty fields or datasets filed under the wrong organization, and a job can finish without a visible error, so a data steward should inspect a sample of imported records. Scheduling and job monitoring belong to the harvesting framework, but the mapping decisions made here set the quality of every record that framework imports.
What a CKAN portal needs before ckanext-dcat is enabled
Enabling ckanext-dcat changes what your portal publishes and what it accepts from other catalogs, so the platform and the people behind it need to be settled first. The six items below cover software you install, decisions your team makes, and access paths you must open. Confirm the software items against the install documentation for your exact CKAN release, and provide the decisions and access paths yourself before configuration starts.
CKAN version pairing
ckanext-dcat is supported on CKAN 2.10 and 2.11, so a portal on either line can enable it without an upgrade. CKAN 2.12.0 was released on August 26, 2026, but that release date does not by itself confirm extension support, so check the ckanext-dcat repository before planning a move to 2.12. Patch releases are the safe default because they exclude schema changes and new features, while minor releases may include backwards-incompatible changes. Record the exact patch version you run.
ckanext-dcat repositoryPython and PostgreSQL versions
Python 3.10 or newer and PostgreSQL 12 or newer are the minimum versions for a source install. Confirm that build hosts, application servers and database servers meet these floors, and check which newer versions your chosen CKAN line supports before you standardize. Assign an owner for interpreter and database patching, since both affect the portal on every update. Keep the database on a version your DBA team can back up and restore with a tested procedure, and include the DataStore database in that plan.
Install from source guideSolr and Redis services
Solr 9 is recommended, with Solr 8 as the other supported option, and Redis must be available to the portal. Solr holds the search index for every dataset, so size it, back it up and plan index rebuilds with the rest of the platform. Confirm the Solr and Redis versions against the install documentation for your exact CKAN release. Decide who runs a full reindex after schema changes, and confirm with the ckanext-dcat documentation whether enabling it requires one.
Metadata owner for DCAT-AP
Name one metadata owner who can complete every mandatory DCAT-AP field and who can refuse records that are incomplete. The implementation team can configure the schema, but it cannot supply facts about your data, such as publisher and license information. Ask the owner to confirm which DCAT-AP version your target catalog expects, since ckanext-dcat provides v1, v2 and v3 schemas. Without this role, the RDF output will publish gaps that consumers find first.
Base URI policy for datasets
Decide the stable base URI that identifies each dataset and organization before any RDF is published, because consumers and harvesters store these identifiers. Confirm the domain, the path pattern and whether the identifiers must survive a future move to new hosts. Agree the policy in writing with the owner of your national or institutional catalog, and confirm whether that catalog requires a specific pattern. Changing identifiers later breaks references from other catalogs that have already harvested them.
Network paths for consumers and harvesters
Confirm that the RDF catalog endpoints are reachable over HTTPS from each consumer and from any harvest source that will pull from the portal, through DNS, load balancers, proxies and firewall rules. Harvest sources on other networks also need outbound access from worker hosts to reach them. Check that bot filters and login walls do not block the endpoints for legitimate consumers. Your network team provides the rules, and your security team approves any new inbound exposure before go-live.
CKAN DCAT-AP version limits: what to confirm before CKAN 2.12
Before you move a portal that runs ckanext-dcat to CKAN 2.12, confirm that the extension supports it. The ckanext-dcat repository lists CKAN 2.10 and 2.11 as supported. CKAN 2.12.0 was released on August 26, 2026, on the same day as maintenance releases 2.11.6 and 2.10.11, so a portal can sit on a supported CKAN line while its DCAT layer is still unverified on the new release. Check the extension's README, compatibility notes, tagged releases and open issues for 2.12 before you change the CKAN version. Treat a gap as a blocker. The DCAT-AP v1 to v3 schemas, the RDF catalog endpoints and the RDF harvester all come from this extension, so a CKAN upgrade without a matching extension leaves those outputs untested.
CKAN's release policy explains why the version boundary matters. Patch releases, such as 2.11.6 and 2.10.11, do not break backwards compatibility and exclude schema changes and new features. Minor releases, such as 2.12, may include backwards-incompatible changes. The team supports the latest patch of the current minor version and the previous minor version, and an outdated patch loses support once a newer one ships. Moving from 2.11 to 2.12 is a minor upgrade that needs its own test cycle. Until the extension status is confirmed, keep the portal on a current 2.11 patch so it stays supported.
Once the extension status is clear, pin ckanext-dcat to a specific release or commit in your deployment definition, so a rebuild cannot pull in a different version without review. Run the DCAT endpoints and a test harvest from an RDF source against a staging copy on CKAN 2.12, then compare the output with what your national or European catalog partners expect to ingest. Record the CKAN version, the extension version and the test results together, so an auditor or partner can trace what changed. If the extension does not yet support 2.12, you have two options: wait for a compatible extension release, or carry a tested fork. A fork needs a named owner, a patch process and a plan for each future CKAN release.
Configuring CKAN DCAT-AP endpoints and the RDF harvester in order
This sequence takes a CKAN portal from a staging copy to a working DCAT-AP catalog endpoint and a monitored RDF harvester. Each step ends with a check you can record, so faults surface on one dataset or one test source before they reach the public catalog. Configuration key names belong to the extension's own documentation, so confirm them there before you edit any file.
Confirm version pairing on staging
Your platform team clones the production portal into a staging environment that runs the same CKAN version and matching Python and database settings. Before changing anything, check the ckanext-dcat release against your CKAN version. The extension is documented as supported on CKAN 2.10 and 2.11, so confirm in its repository whether your CKAN release is covered before you go further. Record the CKAN and extension versions in your change log. Done when staging starts cleanly and the portal's dataset pages load without errors.
Install and pin the DCAT extension
Install the ckanext-dcat package into the virtual environment used by the CKAN web and worker processes. Pin the exact version in your requirements file so that rebuilds on other hosts install the same release. Use the ckanext-dcat repository for install notes and release tags. Restart the web server and background workers after installation. Done when the package appears in the installed package list on every host and the CKAN log shows no plugin load errors.
Enable DCAT plugins and the profile version
Add the DCAT plugins to the plugins setting in the CKAN configuration file. Then set the DCAT-AP profile version that the extension documents for your target schema, which is one of the v1, v2 or v3 profiles the extension supports. Match the profile to what your national or European receiving catalog expects. Take the exact setting names from the extension's documentation and keep a copy of the version you chose. Done when the DCAT RDF endpoints respond on staging and a dataset page shows the expected DCAT fields.
Set base URIs and publisher identifiers
Set the base URI for the catalog and its datasets so that RDF subject identifiers resolve to stable addresses under your domain. Assign publisher identifiers that match the organization records your receiving catalog uses. Agree these values with the data governance owner before anything is published, because changing identifiers later breaks links that other catalogs have already harvested. Done when the RDF output for a sample dataset on staging shows the agreed base address and publisher values.
Populate mandatory fields on sample datasets
Select a small sample of datasets that covers your organizations, licenses and resource types. Fill every field the selected DCAT-AP profile treats as mandatory, such as title, description, publisher, license and contact details. Confirm the mandatory field list against the profile documentation and the extension's schema configuration, since the required set depends on the profile version. Done when the data owner reviews each sample dataset and finds no missing mandatory values.
Validate RDF output with an external validator
Export the RDF catalog from staging and run it through a DCAT-AP validator that runs independently of CKAN. Use the validator published by your receiving catalog or national authority where one exists. Confirm the validator version and the profile it checks against before you rely on its result. Correct errors in the field mapping or the source data, then rerun the export until the validator reports no errors on the sample. Done when the exported file validates against the profile version you selected and the report is saved with the change record.
Configure the RDF harvester on one test source
Create a single harvest source that points at one test RDF catalog. Set an import scope that limits the run to a small set of datasets, for example by filtering on one publisher. Take the harvester type and scope keys from the ckanext-dcat and ckanext-harvest documentation. Run the harvest manually, then inspect the created datasets for mapping errors, duplicate records and missing organizations. Done when the test run finishes and each imported dataset matches its record in the source catalog.
Schedule and monitor recurring harvests
Once the test source runs cleanly, schedule the harvest job at an interval the data owner agrees. Review the job log and the harvest object errors after each run. Set alerts for failed jobs and for dataset counts that change sharply between runs, since a silent change at the source can otherwise go unnoticed. Record the schedule, the named owner and the rollback steps in the runbook. Done when consecutive scheduled runs complete with no new errors and the imported counts match the source.
Datasets flow out through RDF endpoints and in through the harvester
The diagram starts with CKAN datasets on the left. The DCAT serializer in ckanext-dcat turns each dataset into DCAT RDF, which the DCAT RDF endpoints publish for national or EU portals to read. The reverse path starts at a remote DCAT catalog, whose RDF is fetched by the harvest fetch path and parsed by the RDF harvester before records are created in CKAN. The portal host and the fetch path sit inside the shaded trust boundary, so outbound network access, credentials and certificate checks belong to your review. Confirm which DCAT-AP version each consuming portal expects, and how the harvester validates imported records.
Datasets leave through the RDF endpoints and remote catalogs enter through the harvester.
How CKAN DCAT-AP fields map to datasets, resources and publishers
This table compares each DCAT-AP concept with the CKAN object or field that carries it, and lists what to check for each one. The mapping depends on the DCAT-AP profile in use and any custom schema fields, and the RDF harvester maps the same fields in the reverse direction. Confirm each row against the ckanext-dcat documentation and a sample export before you rely on it.
| DCAT-AP concept | CKAN object or field | What to check |
|---|---|---|
| Catalog settings | Extension configuration for catalog title, base URI and publisher defaults | Confirm the catalog identifier and base URI are stable, since RDF endpoints and links depend on them. |
| Dataset | CKAN dataset (package) | Confirm each dataset has a persistent identifier and URI so exports and harvests can match records. |
| Distribution | CKAN resource | Check URL, format and media type on every resource, and confirm which resource fields the profile exports. |
| Publisher | Owning organization | Check that organization titles and identifiers match the publisher names and identifiers your profile expects. |
| Title and description | Dataset title and notes | Check language tags and translated values, and confirm how the profile reads multilingual text. |
| Keywords | Dataset tags | Check tag spelling and vocabulary, since free-text tags may not match a controlled keyword list. |
| License | License identifier (license_id) | Check that each value maps to a license URI the profile accepts, because unmapped licenses can export incorrectly. |
| Issued and modified dates | Custom date fields, plus CKAN's metadata created and modified timestamps | Check whether your profile treats CKAN's system timestamps as publication dates or needs dedicated custom fields. |
| Theme and spatial coverage | Custom schema fields for theme and spatial values | Confirm these fields exist in your custom schema with controlled values before expecting export or harvest to carry them. |
Securing DCAT endpoints and harvest sources
The RDF endpoints and the RDF harvester connect a CKAN portal to the outside in two directions: the portal publishes metadata to anonymous consumers, and it pulls RDF from catalogs it does not run. Each direction needs its own controls, and both depend on pinned CKAN and extension versions that receive security fixes.
Publish only permitted metadata
Anonymous RDF endpoints publish whatever the portal exposes without a login, so private datasets must never appear in the output. Verify that private datasets are absent by requesting the catalog endpoints without a session and searching the RDF for their identifiers and titles, then repeat the check after each schema or permission change. Base URIs belong to the published surface as well: changing one breaks consumers that stored the old identifiers, so route any change through change control.
Treat harvested RDF as untrusted input
An RDF harvester fetches documents from remote catalogs and turns them into CKAN datasets, so every remote file is untrusted input. Validate the parsed graph against the DCAT-AP profile you expect and reject records that fail. Restrict fetch targets to approved hosts so a harvest source cannot point the server at internal addresses, and limit redirects so an approved host cannot send the fetch somewhere you never approved. Confirm which of these controls your ckanext-dcat and harvest versions enforce natively.
Manage harvest source credentials
Some source catalogs require API keys or tokens, so harvest sources often hold credentials. Store them in a managed secrets store and keep them out of dataset descriptions, exported configuration and shared spreadsheets, and confirm where your harvest source configuration keeps them. Rotate each credential on a schedule and whenever someone with access leaves. Give each source its own credential so that revoking one does not stop the others, and ask each source owner whether a read-only key is available.
Terminate TLS and log at the proxy
Production CKAN is usually served behind a reverse proxy, commonly Nginx, so the proxy is where TLS terminates and where endpoint access is recorded. Serve every RDF endpoint over HTTPS, and monitor certificate renewal so an expired certificate does not break consumers. Keep access logs at the proxy with timestamps, status codes and requested paths, and send them to a store your security team reviews. Confirm log retention with your policy owner, because scrapers and harvesters both appear as anonymous traffic.
Pin versions and track advisories
The RDF output depends on CKAN and on ckanext-dcat, which supports CKAN 2.10 and 2.11, so an unplanned CKAN upgrade can change the schemas you publish. Pin the CKAN and extension versions in your build, and check extension compatibility before moving to CKAN 2.12.0, released August 26, 2026. CKAN supports the latest patch of the current minor release and the previous minor release, so watch the CKAN release notices and apply security patches promptly.
CKAN release policyCommon CKAN DCAT-AP failures and how to fix them
This table lists five failures teams commonly meet when publishing or harvesting DCAT-AP metadata with ckanext-dcat, with the likely cause and a check for each. Each fix is a check that narrows the cause and does not guarantee an outcome. Start with the upgrade and identifier rows if output changed after a portal change or a re-run.
| Failure | Likely cause | Check and fix |
|---|---|---|
| Validator rejects output because mandatory properties are empty | Fields that your profile marks as mandatory are blank, or they map to an empty CKAN field in the schema. | Validate exported RDF against the DCAT-AP version you target, then fill the mapped CKAN fields and export again. |
| Endpoint lists fewer datasets than expected | Some datasets are private, draft or deleted, or the endpoint returns a cached response from before recent changes. | Confirm the visibility of the datasets and the account used, check cache settings in front of the endpoint, and compare counts with the dataset search page. |
| Plugin fails to load after upgrading to CKAN 2.12 | The ckanext-dcat release in use is not confirmed for CKAN 2.12. Its documented support covers CKAN 2.10 and 2.11. | Check the extension's release notes for 2.12 support before upgrading, and test the upgrade in staging. Review the startup log and the plugins setting. |
| Harvested datasets duplicate on re-run | The harvester does not map a stable identifier from the source record, so each run creates new CKAN datasets. | Confirm that the source's dataset identifier maps to a fixed CKAN field, then run a test harvest twice and check that the dataset count stays the same. |
| Large harvest sources time out | Catalog size exceeds what one harvest job can gather and import, and job queue capacity is shared with other jobs. | Split the source into smaller harvests or schedule them apart. Watch queue length and worker activity during a full run. |
What buyers ask before hiring a partner for CKAN DCAT-AP
What drives the cost and effort of a CKAN DCAT-AP project?
The main drivers are dataset volume, metadata quality, schema changes, harvest sources, and version pairing with test environments. Effort grows with the number of datasets and resources to map, and records with missing publisher, license or theme values need owners to correct them before mapping can be trusted. Custom schema fields add design and test time, since each one must survive export to DCAT-AP and import back. Each harvest source adds mapping and monitoring work. The CKAN version you run also sets the ckanext-dcat release you can use, because ckanext-dcat is supported on CKAN 2.10 and 2.11, so confirm coverage for any other version you run. A staging portal is needed to test changes first, which adds environment cost. Ask for each driver to be priced separately in the quote.
How long does a CKAN DCAT-AP rollout take?
No duration can be stated before the scope is written, because timing follows the drivers above and the decisions your team makes. The first delays usually come from metadata owners who need time to review mappings and agree on field meanings. URI policy is another common source of delay, since identifiers for datasets, publishers and vocabularies must be settled before RDF endpoints are published. Test environment availability and the CKAN version pairing affect the schedule as well. Sign-off on the test results, and on the RDF output reviewed against your national or European profile, closes the project. Ask the partner for a written schedule that lists each dependency and the owner who must act on it.
What does the client team need to provide for the project?
Your team provides the people and decisions that the partner cannot make for you. You need named metadata owners who can confirm what each field means and which values are correct for each dataset. A written URI policy is required, covering how dataset, organization and vocabulary identifiers are formed and kept stable. You also need a test environment that matches production closely enough to run harvests and RDF endpoint checks safely. Finally, someone with authority must sign off on the mapping, the test results and the go-live decision. Confirm these owners and dates before the scope is agreed, because missing owners slow every later step.
Can our own team implement CKAN DCAT-AP without a partner?
Yes, a team can do it alone if it is comfortable with CKAN plugins and Python deployments. The work involves installing and configuring ckanext-dcat, setting the DCAT-AP profile you need, enabling the RDF endpoints, and configuring the RDF harvester for other catalogs. Those tasks sit close to the day-to-day work of a CKAN operator who maintains Python packages, reads plugin configuration and checks logs. The harder parts are usually metadata governance and cross-team sign-off, which have to be staffed whoever builds the system. Teams without that Python and plugin experience should plan to train staff or bring in a partner. Either way, the scope and test steps should be written down before work starts.
Does DeployOpen validate CKAN DCAT-AP conformance for our portal?
DeployOpen prepares, configures and tests the DCAT-AP output, but it does not issue validation results, certifications or attestations. Validation results come from the validators and the bodies that define the requirements, and those are the results you should show to reviewers. DeployOpen's part includes setting up the profile, mapping fields, running test exports and harvests, and documenting what was tested. Ask the validator or the relevant standards body which checks apply to your profile and version, and agree in the scope which validator runs and who receives its report. Test results from DeployOpen support that process but do not replace an independent review.
How does DeployOpen quote a CKAN DCAT-AP project?
A quote follows from a fixed scope that is agreed in writing before work starts. DeployOpen does not publish a price list, so the written scope, deliverables and timeline are what the quote is built from. Most engagements are fixed-scope, so the scope should name the datasets and sources in play, the DCAT-AP version and endpoints, the test environment, and the sign-off steps. Ask for the quote to show each part separately, including any optional work such as ongoing support, which is offered as a retainer. Compare quotes on the same written scope, since different scopes produce different prices.
How DeployOpen scopes and supports a CKAN DCAT-AP rollout
DeployOpen implements CKAN portals that publish and consume DCAT-AP metadata through ckanext-dcat, inside infrastructure you control. Work starts with a written scope that names the DCAT-AP version, the RDF endpoints and the harvest sources, because the extension's supported CKAN versions set limits on the build. Engagements are fixed-scope, and ongoing support is available as a retainer.
How we scope
- The written scope names the DCAT-AP version, RDF endpoints and harvest sources in use.
- Confirm your CKAN version early: ckanext-dcat is listed as supported on CKAN 2.10 and 2.11.
- The scope lists the metadata profile, harvest sources, deliverables and verification steps before work starts.
How we build
- Install and configure ckanext-dcat on the agreed CKAN version, with the DCAT-AP schema set in the portal configuration.
- Map custom dataset fields to DCAT-AP properties, and test each mapping against sample records before go-live.
- Configure the RDF harvester for each upstream catalog, and check imported records against expected field values.
How we hand over
- Documented endpoint URLs, serialization formats and the DCAT-AP mapping table for your data stewards and reviewers.
- Test evidence showing the RDF catalog endpoints and the harvester working with your own sample data.
- A runbook covering version pinning, extension upgrades and what to recheck when CKAN or ckanext-dcat changes.
How we support
- Retainers can cover upgrades, continuous testing and support for the portal in your infrastructure.
- Retest DCAT-AP output after each CKAN upgrade, since minor releases may include backwards-incompatible changes.
- Compliance readiness work prepares metadata evidence for your reviewers, while independent auditors issue any formal assessment.

