[ckan-dev] Metadata queries
Ross Jones
ross.jones at okfn.org
Thu May 10 11:45:27 UTC 2012
Hi Mark,
> 3. I want different metadata fields in a CKAN instance. Of course I
> can set up any metadata fields I like, but I work in a field that has
> standard RDF vocabularies, and I want to ensure that when the metadata
> is output as RDF the correct vocabularies are used. Can I configure
> that?
Yes, there is now an RDF format that we return the dataset metadata in (for 1.7) but it is also possible to provide your own template for the RDF output, using whichever vocabs you wish.
> 4. My datasets are of various kinds (say, theses, published papers,
> unpublished notes ...) and I want different kinds of dataset to have
> different mandatory fields. Eg a thesis should have mandatory fields
> for 'Degree' and 'Supervisor', whereas a paper will have different
> ones ('Journal' and 'Volume' say). Can I set up validation on data
> entry to do this?
Yes, in the same way that we can have different types of Groups (default and organizations at present), it is also possible to have different types of Dataset each with different schema. This is best done with the IDatasetForm plugin documented at http://docs.ckan.org/en/ckan-1.7/writing-extensions.html?highlight=idatasetform
Hope this helps
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120510/ad966f0e/attachment-0001.html>
More information about the ckan-dev
mailing list