Danny Ayers: Suzan Foster has a schema (announcement) for media âenclosuresâ with RSS 1.0 feeds.
<rss:item>
...
<enc:enclosure>
<enc:Enclosure>
<enc:type>foo/bar</enc:type>
<enc:length>65536</enc:length>
<enc:url>http://foo.bar/baz</enc:url>
</enc:Enclosure>
</enc:enclosure>
</rss:item>
Randy: Great idea! Note, I don't understand the uppercase E enc:Enclosure inside the lowercase e enc:enclosure.
enc:enclosure is a property, enc:Enclosure is (an instance of) a class, you could read this something like:
item hasEnclosure Enclosure
There's a structural interpretation going on, commonly known as striping when you have this style of RDF/XML : node -edge-> node -edge-> node etc.
rss:item is a node (actually a resource, it has an associated URI though I missed that off the example, d'oh), enc:enclosure is an edge, enc:Enclosure corresponds to a node (actually a blank node in Suzan's vocab as it doesn't have a directly associated resource).
Hope that makes some kind of sense.
Is this common in other RDF vocabularies?
Randy