W3C home > Mailing lists > Public > public-media-annotation@w3.org > October 2011

Re: Issue with resolving the ontology

From: Pierre-Antoine Champin <pierre-antoine.champin@liris.cnrs.fr>
Date: Tue, 04 Oct 2011 14:02:20 +0200
Message-ID: <4E8AF5CC.70606@liris.cnrs.fr>
To: Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>
CC: "public-media-annotation@w3.org" <public-media-annotation@w3.org>, Tom Kurz <thomas.kurz@salzburgresearch.at>
Hi Tom, all,

I confirm that I have the same problem.

I take it that the turtle that is returned is a copy-paste of what is
contained in the recommendation, so it includes HTML escaping.

I guess this could be easily fix by patching the turtle file on the
server with

  s/&lt;/</g
  s/&gt;/>/g

This is really all that has to be done.


By the way, it seems like a good idea to embed the turtle in the
recommendation in <![CDATA[ ... ]> so that it does not need escaping and
can be safely copy-pased from the HTML source.

  pa


On 10/04/2011 01:06 PM, Florian Stegmaier wrote:
> Hi all,
> 
> a colleague of mine (Thomas Kurz, CC) encountered a problem with the turtle version of the ontology. He tried to send the mail directly to the mailing list, but it does not work . In order to resolve the problem soon, i will forward it.
> 
> Cheers.
> ##############
> 
> Hello Media Annotations group,
> 
> i've tried to use the media ontology via Linked Data by accessing the uri http://www.w3.org/ns/ma-ont. I wanted to get back text/turtle format.
> The content negotiation worked well so i got back turtle (but unfortunately with encoding bugs). Here a short snippet:
> ---
> @prefix : &lt;http://www.w3.org/ns/ma-ont#&gt; .
>    @prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt; .
>    @prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
>    @prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; .
> 
>    &lt;http://www.w3.org/ns/ma-ont&gt;     a owl:Ontology;
> ---
> As you can see <> is encoded as  &lt;&lr; so i cannot parse it with standard parsers.
> It would be great if you could fix that!
> 
> THX and best!
> Thomas Kurz
Received on Tuesday, 4 October 2011 12:02:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 4 October 2011 12:02:56 GMT