- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Thu, 22 Jul 2010 23:56:30 -0400
- To: RDFa WG <public-rdfa-wg@w3.org>
On 07/22/2010 05:28 PM, Shane McCarron wrote: > Quick follow-up. When using the predicate 'rdfa:uri', the object > literal needs to be a URI. Presumably it can be a relative URI: > > <p id='myTerm' about="#myTerm"><span property='rdfa:uri' > content='#myTerm'><span property='rdfa:term'>myTerm</span></span></p> > > If not... we should really say so. If so.... we should probably say > that too. And make it clear what the relative URI is resolved against > (current base?). I'm having a hard time remembering why we need rdfa:uri. In other words, why can't we just infer terms from triples that look like this in an RDFa Profile document: <http://example.org/vocab#foo-term> rdfa:term "foo" . Why do we need rdfa:uri at all? The same goes for prefix: <http://example.org/vocab#> rdfa:prefix "ex" . and for the default vocabulary: <http://example.org/vocab#> rdf:type rdfa:DefaultVocabulary . The markup is cleaner if we get rid of rdfa:uri too. We go from this: <div about="#foo"> <span property="rdfa:term">foo</span> maps to <span property="rdfa:uri">http://example.org/vocab#foo-term</span> </div> to this (if the terms and vocabulary are in the same document): <span about="#foo-term" property="rdfa:term">foo</span> or this (if the terms are specified in a different document from the vocabulary): <span about="http://example.org/vocab#foo-term" property="rdfa:term">foo</span> Seems to me that we shouldn't require both rdfa:term /and/ rdfa:uri to establish a term when just a rdfa:term would suffice for all of our use cases. I think we should get rid of rdfa:uri completely - it's unnecessarily repetitive and complicates the markup. Added bonus is that we don't have to add more rules for the problem Shane is describing above. Am I missing anything? -- manu -- Manu Sporny (skype: msporny, twitter: manusporny) President/CEO - Digital Bazaar, Inc. blog: WebApp Security - A jQuery Javascript-native SSL/TLS library http://blog.digitalbazaar.com/2010/07/20/javascript-tls-1/ http://blog.digitalbazaar.com/2010/07/20/javascript-tls-2/
Received on Friday, 23 July 2010 03:57:15 UTC