On Feb 2, 2005, at 1:59 PM, DuCharme, Bob (LNG-CHO) wrote:
>> Piggy-Bank only shows nodes that have types. Please try adding
>> rdf:type to
>> the resources in index.rdf.
>
> I don't have any experience with the use of explicit typing in RDF. I
> don't
> see rdf:type used in http://www.mozilla.org/news.rdf, but its triples
> still
> show up in the sidebar for http://www.mozilla.org/, and I don't use
> rdf:type
> in my FOAF file (snee.com/bob/foaf.rdf), but its triples show up in the
> sidebar for snee.com/bob/index.html; why is that?
>
> What would you suggest as the best way to revise the following so that
> its
> tidbits showed up in the sidebar (http://www.snee.com/temp/pbtest.html
> links
> to a test version):
>
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:rd="http://www.rdfdata.org/ns/"
> xmlns="http://purl.org/dc/elements/1.1/">
>
> <rdf:Description rdf:about="http://www.snee.com/temp/pbtest.html">
> <creator>Joe Lambda</creator>
> <description>Here is a sample description.</description>
> <rd:foo rd:bar="whatever"/>
> <rights
> rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/"/>
> </rdf:Description>
> </rdf:RDF>
>
quick hack... s/rdf:Description/rd:Foo/
In essence you're saying '
http://www.snee.com/temp/pbtest.html' is a
rdf:type rd:Foo.
That being said, it strikes me when Fresnel is integrated into Longwell
(which in turn would then be in Piggy-Bank) there should be some simple
vanilla abilities to display untyped nodes.
Another simple, similar example is available at
http://www.w3.org/People/EM
<link rel="meta" type="application/rdf+xml" title="Contact"
href="contact" />
digging into
http://www.w3.org/People/EM/contact we see
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns = "
http://www.w3.org/2000/10/swap/pim/contact#">
<Person rdf:about = "
http://www.w3.org/People/EM/contact#me">
<rdf:value>Eric Miller, em_at_w3.org</rdf:value>
<mailbox rdf:resource = "mailto:em_at_w3.org" />
<homePage rdf:resource = "
http://www.w3.org/People/EM/" />
<fullName>Eric Miller</fullName>
<personalTitle>Semantic Web Activity Lead</personalTitle>
<company>W3C World Wide Web Consortium</company>
<phone>1.617.258.5714</phone>
</Person>
</rdf:RDF>
let me know if this works for you... I must admit, I really like the
idea of using Piggy-Bank to store (among other things) contact
information :)
--
eric miller http://www.w3.org/people/em/
semantic web activity lead http://www.w3.org/2001/sw/
w3c world wide web consortium http://www.w3.org/
Received on Wed Feb 02 2005 - 19:30:15 EST