Re: Grid & RDF

"conor325" <[email protected]> 18 Apr 2005 11:02:38 -0700
Newsgroups gmane.comp.mozilla.devel.rdf
Organization http://groups.google.com
Message-ID <[email protected]>
for some reason, the template system doesn't like displaying literal
assertions if you scope just one resource - for example, point "ref" at
"http://#joe" - you can't directly extract joe's "name" predicate or
"dateofbirth" predicate if those are literals. It can however extract
literals from resources referenced by Joe - for example if Joe is
married to Shelly - point ref at joe again and you can pop out Shelly's
name and date of birth. Joe pointing at Shelly makes Joe a container
and as your list example shows, it likes, it wants containers!

The solution is to make up blank nodes for "leaf" resources. I wrote it
up here:
http://www.the325project.org/blogs/2005/04/draw-blank-to-display-resource.html


Neil wrote:
> Sevastian Foglia wrote:
>
> > If I set ref to "http://www.someldap.com/AREA/Company/Group" I see
all
> > cn of users.
> > If I set ref to one of the users I don't see anything.
>
> The ref is always a container, so I'm guessing that your users don't
> contain anything...
> 
> -- 
> Warning: May contain traces of nuts.