Re: Issue with resolving the ontology

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 UTC