W3C home > Mailing lists > Public > semantic-web@w3.org > November 2006

Re: a guy with 5 first names, from I18N comments on P3P, for vCard/RDF

From: Ivan Herman <ivan@w3.org>
Date: Fri, 17 Nov 2006 11:08:47 +0100
Message-ID: <455D8A2F.4040703@w3.org>
To: Dan Connolly <connolly@w3.org>
Cc: semantic-web@w3.org
Indeed, and van Mierlo's name was by no means unusual by Dutch
standards. Although I might consider A.F.M.O. as middle names; I am not
really sure what 'middle name' means...

Dan Connolly wrote:
> Brian, Harry, Norm,
> 
> I just started on a GRDDL test case based on an
> I18N comment on P3P that I was asked to pass on:
> 
> [[
> This is an hCard; it comes from a 1998 review comment on P3P:
> 
>         The proposed breakdown of a person's name doesn't fit everybody.
>         For example, the previous Dutch minister of foreign affairs is
>         called Dr. H.A.F.M.O van Mierlo: his title is "Dr.", he's known
>         as "Hans", his last name is "Mierlo", prefix is "van", he has 5
>         first names, and no middle one. His most common nickname is
>         "Hafmo".
> ]]
>  -- http://www.w3.org/2001/sw/grddl-wg/td/card5n.html
> 
> I ran it thru x2v and I don't get 5 first names:
> 
> BEGIN:VCARD
> PRODID:-//suda.co.uk//X2V 0.8.4.1 (BETA)//EN
> SOURCE:(Best Practices states this should be the URL the vcard was
> transformed from)
> NAME:complex name case: hCard/GRDDL Test case
> VERSION:3.0
> N;CHARSET=UTF-8:Mierlo;Hans;;Dr.;
> FN;CHARSET=UTF-8:Dr. H.A.F.M.O van Mierlo
> TITLE;CHARSET=UTF-8:minister of foreign affairs
> NICKNAME;CHARSET=UTF-8:Hafmo
> END:VCARD
> 
> 
> 
> I'm not sure whether that's a bug or a feature, per hCard.
> My x2v might be a bit out of date:
> 
> changeset:   52:46196949e712
> user:        brian suda http://suda.co.uk/
> date:        Mon Aug 14 09:54:25 2006 -0500
> 
> But the RFC does seem to say that given-name, like
> the other parts of the n field, is a list:
> 
> "Each component can have multiple values."
>  -- http://www.w3.org/2002/12/cal/rfc2426#sec3.1.2
> 
> When I was working with hCard and JSON, I didn't go
> to the trouble of supporting that. In HTML, it's
> not much trouble to allow it, but in RDF, the difference
> between a string and a list of strings is not something
> you can gloss over.
> 
> So... what's the right answer for what RDF should come
> out of this hCard?
> 
> Currently (with hcard2rdf.xsl 1.3 2006/11/14 17:32:48),
> I get 5 first-names, but they're not ordered
> (though the order is represented in the fn):
> 
>   <v:VCard>
>     <v:fn>Dr. H.A.F.M.O van Mierlo</v:fn>
>     <v:n rdf:parseType="Resource">
>       <rdf:type rdf:resource="http://nwalsh.com/rdf/vCard#Name"/>
>       <v:given-name>H.</v:given-name>
>       <v:given-name>A.</v:given-name>
>       <v:given-name>F.</v:given-name>
>       <v:given-name>M.</v:given-name>
>       <v:given-name>O</v:given-name>
>       <v:family-name>Mierlo</v:family-name>
>       <v:honorific-prefix>Dr.</v:honorific-prefix>
>     </v:n>
>     <v:title>minister of foreign affairs</v:title>
>   </v:VCard>
> 
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
URL: http://www.w3.org/People/Ivan/
PGP Key: http://www.cwi.nl/%7Eivan/AboutMe/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Friday, 17 November 2006 10:08:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:12 GMT