No subject


Sun Mar 31 09:34:23 UTC 2013


only the value 'text/html' would be accepted in the CKAN database.

At the user interface level nothing would change. @Darwin, this is correct
I believe?

@Darwin, which part of the json will be used for the RDF format
representation: <1> or <2>?

I hope this clarifies a bit the information.

best regards,

Bert

ps. I am out of office until mondag evening, so further follow-up from my
side on this will be done from tuesday on.


2013/8/22 BARGIOTTI Leda (OP) <Leda.BARGIOTTI at publications.europa.eu>

>  Hi Bert,****
>
> ** **
>
> Could you please explain this list?****
>
> ** **
>
> **1.       **More specifically, could you please tell us what each
> element means? For example:****
>
> ** **
>
> "text/html": ["text/html", "HTML", "Web Page"]****
>
> ** **
>
> **=C2=B7         **"text/html":: ?****
>
> **=C2=B7         **"text/html":?****
>
> **=C2=B7         **"HTML":?****
>
> **=C2=B7         **"Web Page":?****
>
> ** **
>
> **2.       **Secondly, it seems that this list is a mix of formats and
> other things such as "application/sparql-query"****
>
> ** **
>
> **3.       **Thirdly, how shall we interpret elements that are listed
> more than once? e.g.:****
>
> "text/html": ["text/html", "HTML", "Web Page"],****
>
> "htm": ["text/html", "HTML", "Web Page"],****
>
> "html": ["text/html", "HTML", "Web Page"],****
>
> "http://purl.org/net/mediatypes/text/html": ["text/html", "HTML", "Web
> Page"],****
>
> ** **
>
> **1.       **Fourthly: where does this list come from exactly? Is it an
> sprql query of the ODP?****
>
> ** **
>
> If our objective is to have a list of file types to be used both in RDF
> and as a drop down list in the UI, we need to clearly understand which on=
e
> is the code and which one is the label and if the same file type is liste=
d
> more than once. Maybe you discussed this already with the other members o=
f
> the team, but I would really appreciate if you could help me to shed some
> light into this, otherwise I will not be able to come up with a good list=
.
> ****
>
> ** **
>
> Thank you in advance****
>
> ** **
>
> Kind regards****
>
>
> Leda****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Bert Van Nuffelen [mailto:bert.van.nuffelen at tenforce.com]
> *Sent:* Thursday, August 22, 2013 4:29 PM
> *To:* PASTOR CAMARASA Jos=C3=A9 Juan (OP); BARGIOTTI Leda (OP)
> *Cc:* ISOARD Olivier (OP)
> *Subject:* links of the mime type****
>
> ** **
>
> Hi Jos=C3=A9,****
>
> the list of mime-types you find online at
> https://github.com/okfn/ckanext-ecportal/blob/resource_formats/data/resou=
rce_mapping.json
> .****
>
> I added a downloaded version to this mail.****
>
> 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 ****
>



--=20
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

--001a11c392dceb1fa604e48f0f60
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div><div>Hi Leda,<br><br></=
div>thanks for reviewing this. I&#39;ve put Darwin in cc so that he can fol=
low this track.<br><br></div>Lets start with some context.<br><br></div>Thi=
s json is the list of accepted values for the format and mime-type fields i=
n CKAN. <br>
</div><br>Each entry in the json is of the form: &lt;1&gt; : [ &lt;2&gt;, &=
lt;3&gt;, &lt;4&gt; ] where<br></div>=C2=A0=C2=A0 &lt;1&gt; =3D the value e=
ntered by the publisher<br></div>=C2=A0=C2=A0 &lt;2&gt; =3D the unifying ke=
y (*)<br></div>=C2=A0=C2=A0 &lt;3&gt; =3D the ( short ) label <br>
</div>=C2=A0=C2=A0 &lt;4&gt; =3D the ( long ) label for description/tooltip=
 purpose<br><div><div><div><div><div><div><div><div><div><div><div><div><di=
v class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=C2=A0(*) @Dar=
win, I am not sure of this. <br>
<br></div><div class=3D"gmail_extra">So to answer the second question: yes =
there is a mixture as it is the union serving 2 fields.<br></div><div class=
=3D"gmail_extra">In addition, this &#39;mixture&#39; is enhanced by the sta=
ndard CKAN approach to support the capturing of typical human ways of commu=
nicating data formats. <br>
For example, we communicate amongst ourselves about html pages, so a human =
publisher using the web interface will enter typically &#39;html&#39; inste=
ad of a standard technical notation &#39;text/html&#39;.<br></div><div clas=
s=3D"gmail_extra">
In a machine automated process such relaxation is typically not done.<br><b=
r></div><div class=3D"gmail_extra">W.r.t. relaxation:<br></div><div class=
=3D"gmail_extra"><br></div><div class=3D"gmail_extra">The currently be used=
 formats in the EU ODP can be retrieved with this SPARQL query:<br>
select distinct ?o where {?s &lt;<a href=3D"http://ec.europa.eu/open-data/o=
ntologies/ec-odp#distributionFormat">http://ec.europa.eu/open-data/ontologi=
es/ec-odp#distributionFormat</a>&gt; ?o} limit 200<br><br></div><div class=
=3D"gmail_extra">
As you can see about 70-80% uses a technical mime-type representation. (But=
 even that is not a guarantee for having one unique representation for the =
same data format: application/rdf+xml and
 =20
 =20
    rdf/xml)<br></div><div class=3D"gmail_extra">The other use variations o=
f the human format denotation.<br><br></div><div class=3D"gmail_extra">From=
 a process point of view: -- @Darwin, correct me if I am wrong here --<br>
</div><div class=3D"gmail_extra">If the json would be limited to exactly on=
e line for the html page case:<br><span style=3D"font-size:10pt;font-family=
:&quot;Courier New&quot;">&quot;text/html&quot;: [&quot;text/html&quot;, &q=
uot;HTML&quot;, &quot;Web Page&quot;],<br>
<br></span></div><div class=3D"gmail_extra"></div><div class=3D"gmail_extra=
">only the value &#39;text/html&#39; would be accepted in the CKAN database=
.<br><br></div><div class=3D"gmail_extra">At the user interface level nothi=
ng would change. @Darwin, this is correct I believe?<br>
</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">@Darw=
in, which part of the json will be used for the RDF format representation: =
&lt;1&gt; or &lt;2&gt;?<br></div><div class=3D"gmail_extra"><br></div><div =
class=3D"gmail_extra">
I hope this clarifies a bit the information.<br><br></div><div class=3D"gma=
il_extra">best regards,<br><br></div><div class=3D"gmail_extra">Bert<br><br=
></div><div class=3D"gmail_extra">ps. I am out of office until mondag eveni=
ng, so further follow-up from my side on this will be done from tuesday on.=
<br>
</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra"><br><=
div class=3D"gmail_quote">2013/8/22 BARGIOTTI Leda (OP) <span dir=3D"ltr">&=
lt;<a href=3D"mailto:Leda.BARGIOTTI at publications.europa.eu" target=3D"_blan=
k">Leda.BARGIOTTI at publications.europa.eu</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">





<div link=3D"blue" vlink=3D"purple" lang=3D"EN-GB">
<div>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)">Hi Bert,<u></u><u></u></span>=
</p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)">Could you please explain this=
 list?<u></u><u></u></span></p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p><u></u><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;,&qu=
ot;sans-serif&quot;;color:rgb(31,73,125)"><span>1.<span style=3D"font:7pt &=
quot;Times New Roman&quot;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">More specifical=
ly, could you please tell us what each element means? For example:<u></u><u=
></u></span></p>

<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)">&quot;text/html&quot;: [&quot=
;text/html&quot;, &quot;HTML&quot;, &quot;Web Page&quot;]<u></u><u></u></sp=
an></p>

<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p><u></u><span style=3D"font-size:11pt;font-family:Symbol;color:rgb(31,73,=
125)"><span>=C2=B7<span style=3D"font:7pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">&quot;text/html=
&quot;:: ?<u></u><u></u></span></p>
<p><u></u><span style=3D"font-size:11pt;font-family:Symbol;color:rgb(31,73,=
125)"><span>=C2=B7<span style=3D"font:7pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">&quot;text/html=
&quot;:?<u></u><u></u></span></p>
<p><u></u><span style=3D"font-size:11pt;font-family:Symbol;color:rgb(31,73,=
125)"><span>=C2=B7<span style=3D"font:7pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">&quot;HTML&quot=
;:?<u></u><u></u></span></p>
<p><u></u><span style=3D"font-size:11pt;font-family:Symbol;color:rgb(31,73,=
125)"><span>=C2=B7<span style=3D"font:7pt &quot;Times New Roman&quot;">=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">&quot;Web Page&=
quot;:?<u></u><u></u></span></p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p><u></u><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;,&qu=
ot;sans-serif&quot;;color:rgb(31,73,125)"><span>2.<span style=3D"font:7pt &=
quot;Times New Roman&quot;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Secondly, it se=
ems that this list is a mix of formats and other things such as &quot;appli=
cation/sparql-query&quot;<u></u><u></u></span></p>

<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p><u></u><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;,&qu=
ot;sans-serif&quot;;color:rgb(31,73,125)"><span>3.<span style=3D"font:7pt &=
quot;Times New Roman&quot;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Thirdly, how sh=
all we interpret elements that are listed more than once? e.g.:<u></u><u></=
u></span></p>

<p class=3D""><span style=3D"font-size:10pt;font-family:&quot;Courier New&q=
uot;">&quot;text/html&quot;: [&quot;text/html&quot;, &quot;HTML&quot;, &quo=
t;Web Page&quot;],<u></u><u></u></span></p>
<p class=3D""><span style=3D"font-size:10pt;font-family:&quot;Courier New&q=
uot;;color:red">&quot;htm&quot;:
</span><span style=3D"font-size:10pt;font-family:&quot;Courier New&quot;">[=
&quot;text/html&quot;, &quot;HTML&quot;, &quot;Web Page&quot;],<u></u><u></=
u></span></p>
<p class=3D""><span style=3D"font-size:10pt;font-family:&quot;Courier New&q=
uot;">&quot;html&quot;: [&quot;text/html&quot;, &quot;HTML&quot;, &quot;Web=
 Page&quot;],<u></u><u></u></span></p>
<p class=3D""><span style=3D"font-size:10pt;font-family:&quot;Courier New&q=
uot;">&quot;<a href=3D"http://purl.org/net/mediatypes/text/html" target=3D"=
_blank">http://purl.org/net/mediatypes/text/html</a>&quot;: [&quot;text/htm=
l&quot;, &quot;HTML&quot;, &quot;Web Page&quot;],<u></u><u></u></span></p>

<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p><u></u><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;,&qu=
ot;sans-serif&quot;;color:rgb(31,73,125)"><span>1.<span style=3D"font:7pt &=
quot;Times New Roman&quot;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
</span></span></span><u></u><span style=3D"font-size:11pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Fourthly: where=
 does this list come from exactly? Is it an sprql query of the ODP?<u></u><=
u></u></span></p>

<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)">If our objective is to have a=
 list of file types to be used both in RDF and as a drop down list in the U=
I, we need to clearly understand which one is the code
 and which one is the label and if the same file type is listed more than o=
nce. Maybe you discussed this already with the other members of the team, b=
ut I would really appreciate if you could help me to shed some light into t=
his, otherwise I will not be able
 to come up with a good list.<u></u><u></u></span></p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)">Thank you in advance<u></u><u=
></u></span></p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)">Kind regards<u></u><u></u></s=
pan></p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><br>
Leda<u></u><u></u></span></p><div class=3D"im">
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D""><span style=3D"font-size:11pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u>=C2=A0<u></u></span></=
p>
<p class=3D"" style=3D"margin-left:36pt"><b><span style=3D"font-size:10pt;f=
ont-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang=3D"EN-US">From:<=
/span></b><span style=3D"font-size:10pt;font-family:&quot;Tahoma&quot;,&quo=
t;sans-serif&quot;" lang=3D"EN-US"> Bert Van Nuffelen [mailto:<a href=3D"ma=
ilto:bert.van.nuffelen at tenforce.com" target=3D"_blank">bert.van.nuffelen at te=
nforce.com</a>]
<br>
<b>Sent:</b> Thursday, August 22, 2013 4:29 PM<br>
<b>To:</b> PASTOR CAMARASA Jos=C3=A9 Juan (OP); BARGIOTTI Leda (OP)<br>
<b>Cc:</b> ISOARD Olivier (OP)<br>
<b>Subject:</b> links of the mime type<u></u><u></u></span></p>
<p class=3D"" style=3D"margin-left:36pt"><u></u>=C2=A0<u></u></p>
</div><div>
<div>
<div>
<div>
<p class=3D"" style=3D"margin-right:0cm;margin-bottom:12pt;margin-left:36pt=
">
Hi Jos=C3=A9,<u></u><u></u></p>
</div><div><div class=3D"h5">
<p class=3D"" style=3D"margin-right:0cm;margin-bottom:12pt;margin-left:36pt=
">
the list of mime-types you find online at <a href=3D"https://github.com/okf=
n/ckanext-ecportal/blob/resource_formats/data/resource_mapping.json" target=
=3D"_blank">
https://github.com/okfn/ckanext-ecportal/blob/resource_formats/data/resourc=
e_mapping.json</a>.<u></u><u></u></p>
</div></div></div><div><div class=3D"h5">
<p class=3D"" style=3D"margin-right:0cm;margin-bottom:12pt;margin-left:36pt=
">
I added a downloaded version to this mail.<u></u><u></u></p>
</div></div></div><div><div class=3D"h5">
<p class=3D"" style=3D"margin-left:36pt">Bert<br clear=3D"all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class=3D"" style=3D"margin-left:36pt"><br>
-- <br>
Bert Van Nuffelen<br>
<br>
Semantic Technologies Software Architect at TenForce<br>
<a href=3D"http://www.tenforce.be" target=3D"_blank">www.tenforce.be</a><br=
>
<br>
<a href=3D"mailto:Bert.Van.Nuffelen at tenforce.com" target=3D"_blank">Bert.Va=
n.Nuffelen at tenforce.com</a><br>
Office: <a href=3D"tel:%2B32%20%280%2916%2031%2048%2060" value=3D"+32163148=
60" target=3D"_blank">+32 (0)16 31 48 60</a><br>
Mobile:<a href=3D"tel:%2B32%20479%2006%2024%2026" value=3D"+32479062426" ta=
rget=3D"_blank">+32 479 06 24 26</a><br>
skype: bert.van.nuffelen <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br><br clear=3D"all"><br>-- <br>Bert Van Nuffelen<br><b=
r>Semantic Technologies Software Architect at TenForce<br><a href=3D"http:/=
/www.tenforce.be" target=3D"_blank">www.tenforce.be</a><br><br><a href=3D"m=
ailto:Bert.Van.Nuffelen at tenforce.com" target=3D"_blank">Bert.Van.Nuffelen at t=
enforce.com</a><br>
Office: +32 (0)16 31 48 60<br>Mobile:+32 479 06 24 26<br>skype: bert.van.nu=
ffelen
</div></div></div></div></div></div></div></div></div></div></div></div></d=
iv></div>

--001a11c392dceb1fa604e48f0f60--



More information about the ecodp-dev mailing list