Re: Markup questions: html/body, datatype="", double predicates

Richard Cyganiak wrote:

> <> foaf:maker <#me> .
> <#me> foaf:homepage <> .
> <> foaf:maker <> .
> <> foaf:homepage <> .

I get these triples with Cognition too. I'm pretty sure that it's the  
"correct" output, even though it's unintuitive. I think the reasoning  
is as follows:

The <head> element is treated as if it had about="" unless it does  
really have an @about set. So what you have is:

<html rel="foaf:maker" rev="foaf:homepage">
	<head about="">...</head>
	...
</html>

And that results in those two strange triples.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Wednesday, 10 December 2008 13:15:43 UTC