>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.
Thanks Eric... Instead of an rd:Foo, I made it an is:Document
(xmlns:is="
http://www.w3.org/2001/05id/infoset#") and that seemed to work.
It still doesn't look right in the sidebar when I view
http://www.snee.com/temp/pbtest.html, but I assume that that's caching
issues--a copy of pbtest.html that points at a revised copy of pbtest.rdf
does show what I expected in the sidebar.
I think that dealing with untyped nodes in proper RDF should be a higher
priority than dealing with non-RDF, because Piggy-Bank already goes so far
in breaking the chicken/egg cycle of
not-enough-RDF-data-out-there/no-good-apps-to-take-advantage-of-RDF-data. If
http://www.w3.org/RDF/Validator/ can find triples in an RDF file, then
Piggy-Bank should be able to do something with them.
Bob
-----Original Message-----
From: Eric Miller [mailto:em_at_w3.org]
Sent: Wednesday, February 02, 2005 2:31 PM
To: general_at_simile.mit.edu
Cc: 'David Huynh'
Subject: Re: Piggy-Bank feedback
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 - 20:23:47 EST