Re: [foaf-dev] FOAF for online profiles/accounts
"Bruce Whealton" <bruce-IKflticWDqMk+I/[email protected]> Thu, 16 Jun 2011 12:23:04 -0400
| Newsgroups | gmane.comp.web.rdfweb |
|---|---|
| Message-ID | <6A0767F638C74B5DA91B9B9D57B8D7FF@BrucePC> |
Thanks Michael, This is very helpful. I noticed you said that the FOAF spec suggests using the alias foaf:account instead of foaf:holdsAccount, but you used the latter. Also, will foaf:account cover both foaf:holdsAccount and foaf:onlineAccount? I'm curious, why do you use dc:title and dc:Description twice below in your currentProject section? And if I wanted to relate my pages on facebook to my foaf:account, I would nest that sioc:creator_of tag inside the foaf:OnlineAccount, correct? Thanks so much, Bruce -----Original Message----- From: Michael Haschke Sent: Thursday, June 16, 2011 4:53 AM To: foaf-dev-RyYwo1q5J+qsOXdr9/[email protected] Subject: Re: [foaf-dev] FOAF for online profiles/accounts Hello Bruce, > LinkedIn and Facebook, within their foaf files. I assume one would start > by > enclosing this inside <holdsOnlineAccount></holdsOnlineAccount> I'm using it like below, since I've found an similar example described as "best practice" (I can't remember the source): <foaf:Person rdf:about="http://michael.haschke.biz/"> <foaf:holdsAccount> <foaf:OnlineAccount> <foaf:accountServiceHomepage rdf:resource="http://delicious.com/"/> <foaf:accountName>Haschek</foaf:accountName> <foaf:homepage rdf:resource="http://delicious.com/Haschek" rdfs:label="Delicious"/> <rdfs:seeAlso> <rss:channel rdf:about="http://feeds.delicious.com/v2/rss/Haschek/Accessibility"> <dc:title>Bookmarks "Accessibility"</dc:title> </rss:channel> </rdfs:seeAlso> <rdfs:seeAlso> <rss:channel rdf:about="http://feeds.delicious.com/v2/rss/Haschek/Semantic+Web"> <dc:title>Bookmarks "Semantic Web"</dc:title> </rss:channel> </rdfs:seeAlso> </foaf:OnlineAccount> </foaf:holdsAccount> </foaf:Person> Note: the Foaf spec suggests to use the alias foaf:account instead of foaf:holdsAccount. > the service, and if I had a profile and 4 pages, on Facebook, I'd want to > have links to the profile page and to my Facebook Pages. What is the > correct format for this? I guess there are various possibilities to describe that. You could use sioc:creator_of as relation from your foaf:OnlineAccount to the facebook pages, or just foaf:made to relate from your foaf:Person to that pages. > Lastly, the issue is CurrentProject. As a web developer and web > technology professional this is going to be a website which may or may not > exist yet, as well as projects, that represent applications. It wants to > relate a Person to a Document. So, to use this, should one produce some > form of document on the web that will get updated as one progresses with > the > project? I could use advice on this. If it is a (public) software project you could create a doap [1] profile and relate to it via foaf:currentProject or foaf:pastProject. But you could use most of foaf:Thing as object, e.g. foaf:Group or just foaf:Poject. You could add simple descriptions of that stuff to your foaf.rdf (not to your foaf:Person), e.g. simply using the dc [2] vocabulary, and linking them from your foaf:Person. E.g.: <foaf:Person rdf:about="http://haschek.eye48.com/"> <foaf:currentProject rdf:nodeID="project.pollyblogstew" /> </foaf:Person> <foaf:Project rdf:nodeID="project.pollyblogstew"> <dc:title>Polly Blog Stew</dc:title> <dc:description>Polly Blog Stew a german weblog about the Beastie Boys.</dc:description> <foaf:homepage rdf:resource="http://pollyblogstew.diving-robot.de/"/> <rdfs:seeAlso> <rss:channel rdf:about="http://pollyblogstew.diving-robot.de/feed/"> <dc:title>Polly Blog Stew</dc:title> <dc:description>Atom-Feed of Polly Blog Stew, a german weblog about the Beastie Boys.</dc:description> <foaf:maker rdf:resource="http://haschek.eye48.com/"/> </rss:channel> </rdfs:seeAlso> <foaf:depiction dc:description="Polly Blog Stew - T-Shirt-Motiv" rdf:resource="http://pollyblogstew.diving-robot.de/media/pollyblogstew-shirt.jpg"/> <owl:sameAs rdf:resource="http://pollyblogstew.diving-robot.de/index.php?sioc_type=site" /> </foaf:Project> I doubt that using foaf is the best way to describe a working portfolio, it lacks semantics what kind of project it is, e.g. client work, personal, own startups, and what stuff you have done, planning, programming, layouting, etc ... if anyone here can suggest a good vocabulary to describe that stuff, please share. If my examples are incorrect please tell me :) [1] http://trac.usefulinc.com/doap [2] http://purl.org/dc/elements/1.1/ regards, Haschek -- Portfolio: http://eye48.com/ FOAF/WebID: http://michael.haschke.biz/ powered by #Foafpress _______________________________________________ foaf-dev mailing list foaf-dev-RyYwo1q5J+qsOXdr9/[email protected] http://lists.foaf-project.org/mailman/listinfo/foaf-dev