Re: [foaf-dev] Expressing twitter account name in triples
Leif Warner <[email protected]> Fri, 17 Jun 2011 11:12:09 -0700
| Newsgroups | gmane.comp.web.rdfweb |
|---|---|
| Message-ID | <[email protected]> |
When I first saw the FOAF spec, I was turned off by all the arbitrary old service-specific properties like ICQid or whatever. But now, I would heartily second Alexander's suggestion. The shorthand needn't be mutually exclusive with the long form. With any kind of reasoning, it's trivial to define a rule such as: account(?person, ?blah), accountServiceHomepage(?blah, <http://twitter.com>), accountName(?blah, ?id) <- twitterID(?person, ?id) You may want a more general rule, so you can just say twitterID represents id of an OnlineAccount with a homepage of "http://twitter.com". It's nicer and less verbose to work with one triple instead of three, and let the reasoning take care of the rest. My vote would either be to add a shorthand like that every time someone cares enough about it to request it, OR, get rid of all the rest of those site-specific properties. -Leif Warner On Fri, Jun 17, 2011 at 7:14 AM, Bob Ferris <zazi-o0kiOr3Ba/[email protected]> wrote: > Hello everybody, > > On 6/17/2011 3:33 PM, Michael Haschke wrote: > > Hello, > > > > 2011/6/17 Alexander Gödde<[email protected]> > > > >> First of all: when is “foaf:twitterID” going to be added to the > vocabulary? The model for this is clear from predicates such as > “foaf:skypeID”, and twitter by now has reached an importance comparable to > the chat or messaging services that predicates are provided for in the > vocabulary. > > > > No, please do not blow up the foaf spec with properties and classes > > for all individual services! I would prefer universally usable > > concepts. We already have foaf:account and foaf:OnlineAccount :) > > Yes, definitely +1 > > I would instead vote for deprecating service-specific properties and > force the usage of universal ones (e.g. as the modelling example from > Michael below). > One can address a service separately in such a description, e.g., with > the help of is:info_service [1] property of the Info Service Ontology > (which is intended to describe and rate etc. (web) information services). > Of course, utilising a direct binary relation to address that a specific > ID is related to a specific service would simply on a first view the > modelling somehow; however, this is not durable at all. Today Twitter is > very popular. In 5 or 10 years we probably will use other social > services. An ontology should be designed in such a way that it is > durable (like the Web itself). > > > > > >> Not only is this extremely verbose to express a by now everyday data > item, but I also have a problem when flattening it out to triples. I can > only do this using blank nodes, which I always find ugly. Any known > workaround for this? > > > > No, you could even use IDs or resource URIs: > > > > <foaf:Person rdfs:about="#you"> > > <foaf:account rdfs:resource="#yourtwitter"/> > > </foaf:Person> > > <foaf:OnlineAccount rdfs:about="#yourtwitter"> > > <!-- describe it here --> > > </foaf:OnlineAccount> > > Cheers, > > > Bob > > > > [1] http://purl.org/ontology/is/core#info_service > _______________________________________________ > foaf-dev mailing list > foaf-dev-RyYwo1q5J+qsOXdr9/[email protected] > http://lists.foaf-project.org/mailman/listinfo/foaf-dev > _______________________________________________ foaf-dev mailing list foaf-dev-RyYwo1q5J+qsOXdr9/[email protected] http://lists.foaf-project.org/mailman/listinfo/foaf-dev