Hi,
In this discussion I have to agree strongly with many things Danny
said. And hopefully ODD can take significant direction from the points
he raised, especially with regard to RDF.
On May 1, 3:17 pm, "Danny Ayers" <
danny.ay...@gmail.com> wrote:
> On 30/04/2008, Ben Werdmuller <
benw...@gmail.com> wrote:
>
>
>
> > On Apr 29, 12:10 pm, "Danny Ayers" <
danny.ay...@gmail.com> wrote:
>
> > > "The semantic web community has RDF, a format..."
> > > - RDF is a data model, not a format. It has a variety of serialization
> > > formats, even things like microformats can be treated as domain-specific
> > RDF
> > > formats.
>
> > It is, and I apologise for my imprecise language here and elsewhere.
>
> Fair enough.
>
> However, at the point of import and export, it must take the form of
>
> > an agreed format. Although RDF doesn't have to be XML, this is the
> > most likely format for two services to pick to talk to each other.
>
> True enough, but dealing with any XML syntax directly can be troublesome.
> Even dealing with text can be hard work...
When choosing a representation format, I'd vote for N3 Turtle, and is
relatively easy to read by humans, and by machines using RDF toolkits.
RDF/XML is too verbose for humans, but OK for machines.
The problem with "plain XML" is that it doesn't specify its ontology.
Even if you specify an (God forbid) XML Schema or the nicer RELAX-NG,
it only specifies the document structure of XML -- and *not* the
semantics.
My latter point is the core sentiment here. By using RDF you're also
(re)using the semantics that we've came across all these years. Even
the ancient Dublin Core would help.
RDF isn't "future" technology. We can already use it now with as much
difficulty as plain XML. But designing a standard over RDF will be
potentially beneficial in the present and near future. (Yes, indeed
referring to Semantic Web)
> > A six year old can get their head around the concepts:
> >
http://www.ldodds.com/blog/archives/000329.html
>
> > Yes, a six year old can get his or her head around relationships.
> > Namespaces and definitions? Not so much, I'd wager.
>
> Namespaces (as used by RDF) are fairly arbitrary groupings of URIs, and URIs
> aren't really anything but names... Ok, definitions of any kind can be
> tricky.
>
> What I'm picking at is not the RDF model itself, which is, as you say,
>
> > simple. It's the implementations and the actual real-world handling of
> > it.
>
> Hmm...personally I tend to find getting the model right the tricky bit, the
> actually nuts & bolts being relatively straightforward, certainly no worse
> than say object-oriented coding or SQL.
I have to agree esp. on the "namespaces" thing. It makes things
easier, rather than more difficult. Namespaces are "just names", or
perhaps loosely "aliases".
When we say "dc:creator" it is exactly the same to saying "http://
purl.org/dc/elements/1.1/creator". It's just that we alias the name
"dc" to the URL of Dublin Core Elements 1.1. We do that irrespective
of the actual format (i.e. can be mammoth RDF/XML or N3/Turtle).
There's no reason why we can't say this:
<tag>
<dc:title>web2.0</dc:title>
<dc:creator>Ben Werdmuller</dc:creator>
</tag>
It's still valid XML. And parsers/readers that don't care about
namespaces can just (dangerously) hardcode the "dc:" prefix or simply
not use it.
The above sample can also be written in N3/Turtle more concisely.
> > Let's say I want to add a fairly obscure field (property). Assuming this
> > > doesn't exist already, I'll put it in a namespace of my own:
>
> > > [..] "....which makes it harder to generate dynamically..."
>
> > > [..] The example above, using rdflib in Python would look something
> > like:
>
> > ... once you've added the namespace.
>
> FEET = Namespace("
http://purl.org/stuff/feet#")
>
> done.
>
> btw, I should probably have used PHP for these examples, to relate to Elgg.
> There are at least three RDF toolkits for PHP but the one that's probably
> most notable in this context is ARC -
http://arc.semsol.org/
>
> a recent subproject is a plugin for WordPress -
http://bnode.org/blog/2008/01/15/rdf-tools-an-rdf-store-for-wordpress
>
> I think the difference here is the difference between deeper semantic
>
> > data and plain-text tags. For some purposes, the former is important;
> > for some uses, the latter will not just suffice, but it's impractical
> > to ask end users to enter the data required for anything else.
>
> But there are two separate issues sides to that - the user interface and the
> information representation. The former can be simple without cutting corners
> on the latter - e.g. a tag is potentially a lot more useful if you know who
> made the tagging, on which site and when. That kind of data can be captured
> in the local system transparently to the user (and I would think usually
> is). So when sharing the info across systems, why use a representation that
> doesn't retain such data in a globally unambiguous way? I'm not trying to
> suggest ODD is lossy in this way, just that plain-text tags can be deeper
> than they seem :-)
>
> In no
I have to agree again with this. Some people are trying to push
"semantic tagging", but most apps are blind to what a particular tag
means (semantically).
Regardless with tagging, I'd