[ECODP-dev] Question: rdf migration script effect.

John Glover john.glover at okfn.org
Mon Nov 4 17:08:21 UTC 2013


Hi Bert,

When CKAN generates the RDF, it does so at render time, so as soon as the
template is updated then the generated RDF will be updated as well. It
looks like you are talking about this line [1] in the template, so yes the
publisher name in that URI should now be in upper case.

[1]
https://github.com/okfn/ckanext-ecportal/blob/master/ckanext/ecportal/templates/package/custom_read.rdf#L99

Regards,
John


On 4 November 2013 14:51, Bert Van Nuffelen
<bert.van.nuffelen at tenforce.com>wrote:

> Hi John,
>
> I mean the rdf property <dct:publisher rdf:resource="
> http://publications.europa.eu/resource/authority/corporate-body/SG"/>
>
> in release 00.09.0x and before CKAN generated <dct:publisher rdf:resource="
> http://publications.europa.eu/resource/authority/corporate-body/sg"/>
> (with lowercase)
>
> So in case an existing dataset refers to the second uri, will the ckan
> upgrade (which does an RDF update on all rdf's in CKAN) the content of the
> generated RDF's too?
>
> kind regards,
>
> Bert
>
>
>
>
>
> 2013/11/4 John Glover <john.glover at okfn.org>
>
>> Hi Bert,
>>
>> By publisher's reference, do you mean the RDF that is sent as part of the
>> dataset create/update API calls? If so then yes, this is also updated as
>> part of the data migration.
>>
>> Regards,
>> John
>>
>>
>> On 4 November 2013 12:25, Bert Van Nuffelen <
>> bert.van.nuffelen at tenforce.com> wrote:
>>
>>> Hi John and David,
>>>
>>> If you execute the data migration command in release 01.00.00 which
>>> updates the RDF inside the ckan database to comply with the new namespace,
>>> does it then also update the publishers reference for the manual edited
>>> ones? Or is it done only when the dataset is updated?
>>>
>>> kind regards,
>>>
>>> Bert
>>>
>>>
>>>
>>> --
>>> Bert Van Nuffelen
>>>
>>> Semantic Technologies Software Architect at TenForce
>>> www.tenforce.be
>>>
>>> Bert.Van.Nuffelen at tenforce.com
>>> Office: +32 (0)16 31 48 60
>>> Mobile:+32 479 06 24 26
>>> skype: bert.van.nuffelen
>>>
>>> _______________________________________________
>>> Ecodp-dev mailing list
>>> Ecodp-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>>
>>>
>>
>> _______________________________________________
>> Ecodp-dev mailing list
>> Ecodp-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>
>>
>
>
> --
> Bert Van Nuffelen
>
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
>
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20131104/969edcff/attachment.html>


More information about the ecodp-dev mailing list