ckanext-dcat icon indicating copy to clipboard operation
ckanext-dcat copied to clipboard

Query API with DCAT responses

Open letmaik opened this issue 10 years ago • 3 comments

It seems the only main thing missing with CKAN and DCAT is to have a query API that actually returns a DCAT catalogue in some RDF format, JSON-LD preferably.

Does CKAN provide a way to integrate that via extensions? If yes, how much effort would it be?

letmaik avatar Sep 11 '15 15:09 letmaik

I just saw that this extension actually exposes the catalog as RDF as well, but it doesn't support all the filtering options as the main API, like http://demo.ckan.org/api/3/action/package_search?q=spending I wonder if the main API could be made to return rdf if one requests that.

letmaik avatar Oct 09 '15 11:10 letmaik

You are probably looking for the API action dcat_catalog_search:

https://demo.ckan.org/api/3/action/dcat_catalog_search?q=spending&format=json-ld

This should do exactly what you describe.

metaodi avatar Feb 20 '18 10:02 metaodi

Btw: #152 exposes the query mechanism on the catalog endpoint.

metaodi avatar May 10 '19 18:05 metaodi