Re: dcat:Distribution and subclasses

Thanks, Richard. Understood!

Best regards,

Martin

On Tue, Nov 22, 2011 at 3:38 PM, Richard Cyganiak <richard@cyganiak.de> wrote:
> Martin,
>
> Apologies for not replying to this in a timely manner :-(
>
> On 9 Nov 2011, at 18:32, Martin Alvarez-Espinar wrote:
>> I'm implementing a use case of dcat with almost all the features
>> includes in the reference [1]. I have a doubt about the subclasses of
>> dcat:Distribution (WebService, Download, and Feed). I know the
>> difference among them, but I'm not sure about how to consider this
>> particular example:
>>
>> A XML static file is undoubtedly a a dcat:Download.
>
> Yes.
>
>> But what about if
>> the same XML document was served from WebService?
>
> If you're just talking about the back-end that serves the file, then it really doesn't matter. As long as I can put the URL into my web browser and the result is that an XML file is downloaded, then it's a dcat:Download. (I think that pasting the URL into your browser address bar can be considered the definitive test for something being a download.)
>
> If the file is coming out of a SOAP web service, or requires some other kind of elaborate API call with parameters or POST requests, then it's a dcat:WebService.
>
> Hope that helps,
> Richard
>
>
>> Of course, also I
>> would represent the MIME type, dcat:accessURL, etc. I guest
>> <XML-doc-from-WS> a dcat:WebService. Am I right according to your
>> initial approach?
>>
>> Thanks in advance.
>>
>> Best regards,
>>
>> Martin
>>
>>
>> [1] http://www.w3.org/egov/wiki/Data_Catalog_Vocabulary/Vocabulary_Reference
>>
>>
>> --
>> Martín Álvarez Espinar
>> Fundación CTIC
>>
>> Parque Científico y Tecnológico de Gijón
>> c/ Ada Byron, 39 Edificio Centros Tecnológicos 33203 Gijón - Asturias - España
>> Tel.: +34 984 29 12 12     Fax: +34 984 39 06 12
>> martin.alvarez@fundacionctic.org   http://www.fundacionctic.org
>> Privacy Policy:   http://www.fundacionctic.org/privacidad
>
>



-- 
Martin Alvarez Espinar
W3C Spain Office Manager        tel.:+34 984390616
http://www.w3c.es/Personal/Martin   mlvarez@w3.org

Received on Tuesday, 22 November 2011 14:59:08 UTC