[rdfweb-dev] Foafnaut with blubs keyed off rdf:Type

Libby Miller Libby.Miller at bristol.ac.uk
Wed Mar 3 08:33:25 UTC 2004


ooh! very neat Jim :)

On Tue, 2 Mar 2004, Jim Ley wrote:

> Hi,
>
> Thanks to Leigh Dodds, there's a new version of foafnaut:
>
> http://jibbering.com/2004/foafnaut/foafnaut.templates.offline.svg?sha1=1ba3bffdd13a136d38b77542f2e26fd1dc0042f2
>
> (download and play with the:
> http://jibbering.com/2004/foafnaut.tar.gz
> version)
>
> This should be simpler to change to display other sorts of data, the
> relationships it looks at and displays is now stored at the top of the file:
>
> Relationships=[];
> Relationships.push({NS:foafNS,name:"knows"})
> Relationships.push({NS:jimNS,name:"hasCarnalKnowledgeOf"})
>
> The foaf:knows, and jim:hasCarnalKnowledgeOf  will now be tested for, and
> drawn assuming the template file has suitable Sproing designs.
>
> Also a Blub now is styled as per the rdf:Type of the element - either the
> rdf:Type mentioned in the foaf:knows (or similar relationship) or as the
> <foaf:Person> or similar  - the first element after the rdf:RDF.
>
> There's a few other things - elements default to the jimNS:Unknown type if
> you specify them in the sha1 - currently a red circle, otherwise currently
> untyped things are assumed to be circles - this was just down to the sample
> data I had.
>
> Cheers,
>
> Jim.
>
>
> _______________________________________________
> rdfweb-dev mailing list
> rdfweb-dev at vapours.rdfweb.org
> wiki: http://rdfweb.org/topic/FoafProject
> http://rdfweb.org/mailman/listinfo/rdfweb-dev
>
>



More information about the foaf-dev mailing list