* Mikael Nilsson <[log in to unmask]> [2006-05-10 13:24+0200]
> Hi!
>
> I'm struggling with the problem of finding out what syntax to use for
> RDF in the example section of the DC-RDF document. I see three main
> options:
>
> 1. Use diagrams
> 2. Use RDF/XML
> 3. Use N-TRIPLES
>
> While diagrams are nice illustrations, they can be misunderstood.
>
> RDF/XML is well known, but may confuse the user by hiding the RDF behind
> the XML language.
>
> N-TRIPLES is pure and clear, but may not be popular with all.
>
> I am currently leaning towards using diagrams in only a few
> illustrations, and mainly using N-TRIPLES. But I'm not sure that's the
> right way forward.
>
> Hence my questions to you: what would *you* prefer?
Another option is Turtle, the simple RDF subset of the larger N3
language.
The SPARQL query language specification uses Turtle as its way of
writing RDF within the spec, see
http://www.w3.org/TR/2006/WD-rdf-sparql-query-20060220/#docDataDesc
Also note that SPARQL itself is syntactically based on N3/Turtle, and
hence time spent learning the notation is time relatively well spent,
'cos it trains you up in a syntax you can use to write queries. SPARQL
spec examples seem to be very simple NTriple-like version of Turtle,
but since Ntriples can be very verbose I think using Turtle makes sense.
Diagrams are also nice, and at least one RDF/XML sample would be
prudent.
cheers,
Dan
|