Re: Expressing triples with special characters in URLs

Hi

Thanks a lot for your hint at using namespaces. To serialize the triple

  A B C

I write

<rdf:Description rdf:about="A"> 
  <p:_ xmlns:p="B" rdf:resource="C"/> 
</rdf:Description>

This isn't pretty but RDF in XML isn't readable by normal human beeings anyway.
In fact its a serialisation of

  A B_ C

but in my case I remove trailing _ anyway (that's no standard behavior!).

Additionally you could add a statement "B_ equals B" but I'm note quite sure
which predicate to use for identity-relationship (?)

Greetings,
  Jakob

Received on Saturday, 3 April 2004 04:27:55 UTC