Re: Re: mod_enclosures proposal

Suzan Foster <su-ZjWWLV22F01mR6Xm/[email protected]>
Newsgroups gmane.network.syndication.rss.devel
Message-ID <[email protected]>
On Nov 18, 2004, at 10:03 PM, [email protected] wrote:

> I think it is finally starting to take shape.
> I would like to thank everybody for their help and we
> will be glad to hear any additional remarks and suggestions
> you might have.

I think that you could profit from a less verbose syntax by losing the 
<enc1:children/>. In your proposal the class Enclosures is a class 
which contains a single property which has a Collection class which, 
etc.. I think the semantics should be: item has a property enclosures, 
which is a collection of, etc.. I tested this with a pair of SPARQL 
queries (see below), and as you can see the <enc1:children/> is totally 
redundent and just adds an extra triple pattern to get to where you 
want to be.

SPARQL query using your proposal:
http://tinyurl.com/5jbel

SPARQL query using reduced grammar:
http://tinyurl.com/6fwc5

I'm also not sure what kind of ranges you expect with enc1:quality. The 
numerical value doesn't seem to express much unless you know it's exact 
meaning whilst enc1:quality="high" is maybe subjective, but directly 
apparent in it's meaning.

PREFIX rss: <http://purl.org/rss/1.0/>
PREFIX enc: <http://purl.oclc.org/net/rss_2.0/enc#>
PREFIX enc1: <http://crocodile.org/ns/rss/1.0/enclosures>

SELECT ?url
WHERE
   (?enclosure enc:url ?url)
   (?enclosure enc:type "application/x-bittorrent")
   (?enclosure enc1:quality "high")

Regards,
Suzan Foster.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.