code4lib, foaf and book raffle

1 view
Skip to first unread message

Ed Summers

unread,
Feb 18, 2009, 1:32:31 PM2/18/09
to lod-preconf
As part of the pre-conf festivities there is going to be a book raffle
to give away a handful of books. The thought was that we could
automate the selection of the winners, and perhaps (hopefully?)
demonstrate linked data at the same time:

http://inkdroid.org/c4l2009/attendees

So there will be time during the pre-conf for this, but if you want to
get started early, and would like to see yourself appear in this list
follow these steps:

1. publish a FOAF file
2. assert that you have attended code4lib2009 (see Mike's [1] for
an example)
3. have someone currently in the list assert they foaf:knows you
4. wait for the next crawl to run [2] (every 15 minutes)
5. profit! (well maybe you'll win a book)

Also if you are interested in seeing the quickly hacked together
web.py + rdflib code it is available [3]. I've already received
several patches from mjgiarlo to make it better, so please feel free
to hack at it if the mood strikes you.

//Ed

[1] http://lackoftalent.org/michael/foaf.rdf#mjg
[2] http://inkdroid.org/c4l2009/static/crawls.txt
[3] http://inkdroid.org/bzr/c4libbers

Michael J. Giarlo

unread,
Feb 18, 2009, 3:39:15 PM2/18/09
to lod-p...@googlegroups.com
If any of y'all used my FOAF as a guide, you should know it contained
one error (that I know of): the foaf:publications property is supposed
to point at a webpage that lists all of your publications rather than
individual publication URIs. The error's been fixed in the attendees
application and also in my FOAF, if you want to revise yours as well.

-Mike

Tom Keays

unread,
Feb 18, 2009, 6:20:06 PM2/18/09
to lod-p...@googlegroups.com
Hi Ed and all,

I wasn't able to make any of the irc planning sessions, but it looks
great. I'll be at the afternoon session only, so I went ahead and
modded my FOAF profile to include some of the attendees I sort of know
as well as the c4lc attendance assertion.

The problem may be getting people to link back to me and others. So,
to grease axle, here's my FOAF profile.

http://tomkeays.com/about/foaf.rdf#tomkeays

Tom

On Wed, Feb 18, 2009 at 1:32 PM, Ed Summers <e...@pobox.com> wrote:
>

Ed Summers

unread,
Feb 18, 2009, 7:01:14 PM2/18/09
to lod-p...@googlegroups.com
Nice Tom, you should see yourself in the list now :-)

http://inkdroid.org/c4l2009/attendees

//Ed

Anders Söderbäck

unread,
Feb 19, 2009, 3:08:39 AM2/19/09
to lod-p...@googlegroups.com
Hi all,

I too have made myself a FOAF, see http://brocadedarkness.net/foaf.rdf

/ Anders

-----Ursprungligt meddelande-----
Från: lod-p...@googlegroups.com [mailto:lod-p...@googlegroups.com] För Ed Summers
Skickat: den 19 februari 2009 01:01
Till: lod-p...@googlegroups.com
Ämne: [lod-preconf] Re: code4lib, foaf and book raffle

Ed Summers

unread,
Feb 19, 2009, 6:37:48 AM2/19/09
to lod-p...@googlegroups.com
On Thu, Feb 19, 2009 at 3:08 AM, Anders Söderbäck
<Anders.S...@kb.se> wrote:
> I too have made myself a FOAF, see http://brocadedarkness.net/foaf.rdf

Hi Anders, there appears to be a problem with:

<foaf:Person rdf:about="http://">

What did you want your personal URI to be? If you don't do anything
with .htaccess [1] to make it look cooler, I guess you'd want it to
be:

http://brocadedarkness.net/foaf.rdf#me

In which case you'd make that bit of your FOAF into:

<Person rdf:ID="me">

Or maybe I'm missing something?

//Ed

[1] http://www.w3.org/TR/swbp-vocab-pub/#recipe2

Anders Söderbäck

unread,
Feb 19, 2009, 7:26:03 AM2/19/09
to lod-p...@googlegroups.com
Hi Ed, and thanks! You are not missing anything. Rather, I missed editing the foaf:person-tag. (And as a second excuse, I'm not really a programmer - more of an enthusiastic amateur).

I have followed your suggestion, and http://brocadedarkness.net/foaf.rdf#me should work now. And if it doesn't, I'll have a go at it again.

Moving on to another question... I remember from an earlier e-mail that some of you were having a beer at the hotel bar Sunday evening. I will arrive at Providence airport ca 16.30, and will stay at Hilton Providence (not far from the Rennaissance Providence Hotel). If I'm not too tired from the journey, I'd like join for a beer or two. Is the beer still on?

/ Anders




-----Ursprungligt meddelande-----
Från: lod-p...@googlegroups.com [mailto:lod-p...@googlegroups.com] För Ed Summers
Skickat: den 19 februari 2009 12:38
Till: lod-p...@googlegroups.com
Ämne: [lod-preconf] Re: code4lib, foaf and book raffle


Tom Keays

unread,
Feb 19, 2009, 8:34:08 AM2/19/09
to lod-p...@googlegroups.com
Hi Ed,

Do I have an error in my profile? The reason I ask is because the
crawler only picked up three of my interests expressed as dbpedia URIs
-- Metadata, Beer, Digital library -- rather than my full listing. Is
there something I should be doing differently?

Tom

Ed Summers

unread,
Feb 19, 2009, 9:05:02 AM2/19/09
to lod-p...@googlegroups.com
On Thu, Feb 19, 2009 at 8:34 AM, Tom Keays <tomk...@gmail.com> wrote:
> Do I have an error in my profile? The reason I ask is because the
> crawler only picked up three of my interests expressed as dbpedia URIs
> -- Metadata, Beer, Digital library -- rather than my full listing. Is
> there something I should be doing differently?

Thanks Tom, you found a bug in the crawler which I've fixed. Seems
that dbpedia will resolve:

http://dbpedia.org/resource/Python_%28programming_language%29

just doesn't serve up the same triples at:

http://dbpedia.org/resource/Python_(programming_language)

Which is what tripped up the bug in the crawler ... not finding a
rdfs:label for interest.

So anyhow the other interests are showing up now. If you want python
to show up, you'll need to adjust the URI to be percent encoded.
Alternatively you could use YAGO:

http://mpii.de/yago/resource/Python_(programming_language)

//Ed

Michael J. Giarlo

unread,
Feb 19, 2009, 12:01:18 PM2/19/09
to lod-p...@googlegroups.com
Anders,

Beer is always on. :) Here's the info:

http://wiki.code4lib.org/index.php/LinkedData#02.2F22_8PM_pre-preconf_drink.2Fplanning

-Mike



On Thu, Feb 19, 2009 at 7:26 AM, Anders Söderbäck

Corey Harper

unread,
Feb 19, 2009, 5:36:48 PM2/19/09
to lod-p...@googlegroups.com
Hi Ed, All --

I've finally got my foaf profile back up and online.
http://harper.bobst.nyu.edu/data/foaf.rdf

Also, Ed - I may ping you later or over the weekend with a rough outline
of 30 minutes of my blatherage, just to make sure that I'm not keying up
to derail the whole morning session.

See many of you on Sunday!

-Corey
--
Corey A Harper
Metadata Services Librarian
Bobst Library, B42-LL1
New York University
70 Washington Square South
New York, NY 10012
212.998.2479
corey....@nyu.edu

Ed Summers

unread,
Feb 19, 2009, 7:29:21 PM2/19/09
to lod-p...@googlegroups.com
On Thu, Feb 19, 2009 at 5:36 PM, Corey Harper <corey....@nyu.edu> wrote:
> Also, Ed - I may ping you later or over the weekend with a rough outline
> of 30 minutes of my blatherage, just to make sure that I'm not keying up
> to derail the whole morning session.

It's all good -- I think we're set to have a pretty good day of
discussion, brain storming and hackery. Feel free to ping me in IM or
irc whenever and we can chat on the phone if you want.

I hope everyone can make it for 8pm drinks at the hotel on Sunday.
Thanks to all for getting their FOAF files up there, and especially to
Mike and Jay for all the patches to get the web app and crawler
functional. About 1/2 of the people registered for the morning session
have FOAF profiles now, so there will be plenty of people on hand to
get the other 1/2 set up.

Safe travels,
//Ed

Fleming, Declan

unread,
Feb 20, 2009, 1:44:20 AM2/20/09
to lod-p...@googlegroups.com
Hi - I think I have a foaf. Well, it's very foaf like...

http://declan.net/foaf.rdf

Please point out any errors.

Thanks!
D

Ted Lawless

unread,
Feb 20, 2009, 8:31:17 AM2/20/09
to lod-p...@googlegroups.com
I too have something foaf-like.

http://www.columbia.edu/~tjl2112/foaf.rdf

Let me know if it needs to be adjusted. Looking forward to the workshop.

Ted Lawless

Shawn Kiewel

unread,
Feb 20, 2009, 9:00:44 AM2/20/09
to lod-p...@googlegroups.com
I have created a foaf file, located at
http://unyeildingloyalty.com/shawn/foaf.rdf#me.

Would someone mind taking a quick look to ensure it's problem-free? And
then be kind enough to "know" me?

Looking forward to the conference and meeting everyone

Thanks,
Shawn

Michael J. Giarlo

unread,
Feb 20, 2009, 12:17:27 PM2/20/09
to lod-p...@googlegroups.com
Fellow FOAF developers,

I've found the following FOAF validator very helpful in tinkering with
my own FOAF: http://foaf.qdos.com/validator/

And the FOAF visualizer is kinda nifty: http://foaf-visualizer.org/

These are the best tools I've stumbled across yet for determining
whether my FOAF is valid and asserting what I want it to assert. Good
tools to have in our toolbox for the linked data workshop, too.

-Mike

Michael J. Giarlo

unread,
Feb 20, 2009, 12:21:41 PM2/20/09
to lod-p...@googlegroups.com
Ted,

It seems to validate per the FOAF validator, but you should get rid of
the rdf:about that points at your foaf.rdf and change it to rdf:ID="x"
(where the value of x is often set to "me" or a person's initials or
first name). This distinction is something we ought to go over during
the workshop, too, because it's a non-obvious distinction. (Those who
want to think it over in advance: google for "httpRange-14 hash slash
uris" :) )

-Mike

Michael J. Giarlo

unread,
Feb 20, 2009, 12:25:25 PM2/20/09
to lod-p...@googlegroups.com
Shawn and Declan,

You're now foaf:known by me. The attendees app appears to be having
some problems now but I imagine all will be well eventually.

-Mike

Shawn Kiewel

unread,
Feb 20, 2009, 1:31:55 PM2/20/09
to lod-p...@googlegroups.com
Thank you much. :)

Shawn

Ed Summers

unread,
Feb 20, 2009, 2:19:17 PM2/20/09
to lod-p...@googlegroups.com
Shawn, nice! Can you change:

<Person rdf:id="me">

to:

<Person rdf:ID="me">

I see the parser running across you but it's not finding your ID properly.

//Ed

Ed Summers

unread,
Feb 20, 2009, 2:42:11 PM2/20/09
to lod-p...@googlegroups.com
Also, some of you in #code4lib may have already seen this ... but if
you haven't, this is kind of a neat 5 minute hack with pydot:

http://inkdroid.org/c4l2009/attendees.png

It is dynamic so as you get added, or add links you'll see them appear.

//Ed

Esme Cowles

unread,
Feb 20, 2009, 2:52:52 PM2/20/09
to lod-p...@googlegroups.com
Interestingly, I seem to be linked to Michael Giarlo instead of Declan
Flemming, and the é in my name is dropped. My interests are also not
showing up in the main list, unlike everyone else (except Matt Zumwalt
whose FOAF actually doesn't have any interests) -- is there something
wrong with my FOAF file?

-Esme
--
Esme Cowles <esco...@ucsd.edu>

"In Lydia's imagination, a visit to Brighton comprised every possibility
of earthly happiness." -- Jane Austen, Pride and Prejudice

Klein, Michael

unread,
Feb 20, 2009, 2:53:40 PM2/20/09
to lod-p...@googlegroups.com
You need to change /page/ to /resource/ in all your dbpedia.org links.

--
Michael B. Klein
Digital Initiatives Technology Librarian
Boston Public Library
(617) 859-2391
mkl...@bpl.org

Shawn Kiewel

unread,
Feb 20, 2009, 3:08:32 PM2/20/09
to lod-p...@googlegroups.com
Changed. Thanks.

Ed Summers

unread,
Feb 20, 2009, 3:31:41 PM2/20/09
to lod-p...@googlegroups.com
On Fri, Feb 20, 2009 at 2:52 PM, Esme Cowles <esco...@ucsd.edu> wrote:
>
> Interestingly, I seem to be linked to Michael Giarlo instead of Declan
> Flemming, and the é in my name is dropped. My interests are also not
> showing up in the main list, unlike everyone else (except Matt Zumwalt
> whose FOAF actually doesn't have any interests) -- is there something
> wrong with my FOAF file?

Yeah, unfortunately pydot doesn't do Unicode :-(

You are linked from Mike because Mike asserted he knows you. Declan
has fallen off the graph for some reason I haven't determined yet, so
that's why your link to him isn't appearing.

//Ed

Ted Lawless

unread,
Feb 20, 2009, 3:37:13 PM2/20/09
to lod-p...@googlegroups.com
Thanks Mike. I made the change.

Looks like I need a friend to be included in the crawl. Does someone mind?

Ted

Michael J. Giarlo

unread,
Feb 20, 2009, 3:41:31 PM2/20/09
to lod-p...@googlegroups.com
Gotcha, Ted.

-Mike

Ed Summers

unread,
Feb 20, 2009, 3:41:46 PM2/20/09
to lod-p...@googlegroups.com
Ahh, there's a subtle bug in the crawler which I may not be able to
fix in short order. For the moment if vphill could update his
foaf:knows from:

http://declan.net/foaf.rdf

to

http://declan.net/foaf.rdf#djf

Declan should pop back on the list.

//Ed

Fleming, Declan

unread,
Feb 20, 2009, 4:15:07 PM2/20/09
to lod-p...@googlegroups.com
Yep, mjgiarlo is Vector Zero. Eradicate!!!

:)

D

-----Original Message-----
From: lod-p...@googlegroups.com [mailto:lod-p...@googlegroups.com]
On Behalf Of Ed Summers
Sent: Friday, February 20, 2009 11:42 AM
To: lod-p...@googlegroups.com

Fleming, Declan

unread,
Feb 20, 2009, 4:18:51 PM2/20/09
to lod-p...@googlegroups.com
Must be a weighted graph! HA!

I fell off cuz I'm fat.

Get it?

D

-----Original Message-----
From: lod-p...@googlegroups.com [mailto:lod-p...@googlegroups.com] On Behalf Of Ed Summers
Sent: Friday, February 20, 2009 12:32 PM
To: lod-p...@googlegroups.com

Matthew Zumwalt

unread,
Feb 20, 2009, 4:20:38 PM2/20/09
to lod-p...@googlegroups.com
Any ideas why the foaf validator likes my stuff if I copy & paste, but fails me when I give it the url?


The FOAF file: http://mediashelf.us/about/foaf.rdf


Matt Zumwalt
MediaShelf, LLC


Michael J. Giarlo

unread,
Feb 20, 2009, 4:44:12 PM2/20/09
to lod-p...@googlegroups.com
Hey Ted,

Looks like your foaf isn't being picked up. Maybe it's because
http://www.columbia.edu/~tjl2112/foaf.rdf is being returned as
text/plain instead of application/rdf+xml?

Can fix that in an .htaccess file:

AddType application/rdf+xml .rdf

-Mike



On Fri, Feb 20, 2009 at 3:37 PM, Ted Lawless <tjl...@columbia.edu> wrote:

Michael J. Giarlo

unread,
Feb 20, 2009, 4:54:28 PM2/20/09
to lod-p...@googlegroups.com
On Fri, Feb 20, 2009 at 4:20 PM, Matthew Zumwalt
<matt.z...@yourmediashelf.com> wrote:
> Any ideas why the foaf validator likes my stuff if I copy & paste, but fails
> me when I give it the url?
> Validator
> result: http://foaf.qdos.com/validator/uri?URI=http%3A%2F%2Fmediashelf.us%2Fabout%2Ffoaf.rdf&PARSE=Parse+URI%3A+
> The FOAF file: http://mediashelf.us/about/foaf.rdf

I see a stray backslash after the foaf:interest for digital curation
and a bunch of extra carriage returns at the end of each line. I'm
guessing it's the CRs?

-Mike

Ed Summers

unread,
Feb 20, 2009, 4:57:00 PM2/20/09
to lod-p...@googlegroups.com
looks like you've got a stray \ in there?

<interest rdf:resource="http://dbpedia.org/resource/Digital_curation"/>\

On Fri, Feb 20, 2009 at 4:20 PM, Matthew Zumwalt
<matt.z...@yourmediashelf.com> wrote:

Jason Casden

unread,
Feb 21, 2009, 2:27:34 PM2/21/09
to lod-p...@googlegroups.com
I'm having the same issue. Copying and pasting into the validator
works, my FOAF file is getting parsed by the crawler, but the
URI-based validation fails completely.

http://www.monkey.org/~caz/foaf.xml#jmcasden

Jason

On Fri, Feb 20, 2009 at 4:20 PM, Matthew Zumwalt
<matt.z...@yourmediashelf.com> wrote:

Jonathan Brinley

unread,
Feb 21, 2009, 2:47:40 PM2/21/09
to lod-p...@googlegroups.com
Not sure if it makes a difference if you serve it up as text/xml
instead of application/rdf+xml. Perhaps someone who knows better can
tell us.
--
Jonathan M. Brinley

jonatha...@gmail.com
http://xplus3.net/

Ed Summers

unread,
Feb 21, 2009, 2:50:43 PM2/21/09
to lod-preconf
Not sure if this is the problem, but you might want to try changing
the .xml to .rdf so that it is served up as application/rdf+xml
instead of text/xml...

On Feb 21, 2:27 pm, Jason Casden <cas...@gmail.com> wrote:
> I'm having the same issue. Copying and pasting into the validator
> works, my FOAF file is getting parsed by the crawler, but the
> URI-based validation fails completely.
>
> http://www.monkey.org/~caz/foaf.xml#jmcasden
>
> Jason
>
> On Fri, Feb 20, 2009 at 4:20 PM, Matthew Zumwalt
>
> <matt.zumw...@yourmediashelf.com> wrote:
> > Any ideas why the foaf validator likes my stuff if I copy & paste, but fails
> > me when I give it the url?
> > Validator
> > result:http://foaf.qdos.com/validator/uri?URI=http%3A%2F%2Fmediashelf.us%2Fa...

Jason Casden

unread,
Feb 21, 2009, 4:04:37 PM2/21/09
to lod-p...@googlegroups.com
Ah, that was the problem...

Jason

Michael J. Giarlo

unread,
Feb 21, 2009, 5:38:40 PM2/21/09
to lod-p...@googlegroups.com
Just to keep a (glib) running tally of the lessons we've learned
preparing for the workshop:

1. Validators are our friends.
2. You are not your FOAF.
3. MIME type matters.

-Mike

Tod Matola

unread,
Feb 21, 2009, 7:45:16 PM2/21/09
to lod-p...@googlegroups.com
Would you mind adding me.

http://matola.webs.com/about/foaf.rdf#me

Cheers Tod.

Michael J. Giarlo

unread,
Feb 21, 2009, 8:09:41 PM2/21/09
to lod-p...@googlegroups.com
Gotcha, Tod.

-Mike

Fleming, Declan

unread,
Feb 22, 2009, 10:13:20 AM2/22/09
to lod-p...@googlegroups.com
And never forget:

4. If using a Mac, please provide your own dongle.

Words to live by.

D

-----Original Message-----
From: lod-p...@googlegroups.com [mailto:lod-p...@googlegroups.com] On Behalf Of Michael J. Giarlo
Sent: Saturday, February 21, 2009 2:39 PM
To: lod-p...@googlegroups.com

Klein, Michael

unread,
Feb 22, 2009, 11:46:40 AM2/22/09
to lod-p...@googlegroups.com

mbklein's new foaf:plan inspired by lesson #4. :)

----


Michael B. Klein
Digital Initiatives Technology Librarian

BPL Digital Library Program
mkl...@bpl.org

Tom Keays

unread,
Feb 22, 2009, 5:01:31 PM2/22/09
to lod-p...@googlegroups.com
Nice! Have you seen the Friend Wheel presentation that some folks in
Facebook use? Very nice visualization of relationships.

http://thomas-fletcher.com/friendwheel/

Ed Summers

unread,
Feb 22, 2009, 5:37:42 PM2/22/09
to lod-p...@googlegroups.com
On Sun, Feb 22, 2009 at 5:01 PM, Tom Keays <tomk...@gmail.com> wrote:
>
> Nice! Have you seen the Friend Wheel presentation that some folks in
> Facebook use? Very nice visualization of relationships.
>
> http://thomas-fletcher.com/friendwheel/

Neat. If the code is available it might be a nice afternoon hack to
see what it takes to do this with our data [1].

//Ed

[1] http://inkdroid.org/c4l2009/attendees.rdf

Glen Newton - NRC/CNRC CISTI/ICIST Research

unread,
Feb 23, 2009, 9:28:31 AM2/23/09
to lod-p...@googlegroups.com
Simple FOAF:
http://www.gnewton.ca/gn/me.rdf

thanks,

-Glen

--

Glen Newton | glen....@nrc-cnrc.gc.ca
Researcher, Information Science, CISTI Research
& NRC W3C Advisory Committee Representative
http://tinyurl.com/yvchmu
tel/tél: 613-990-9163 | facsimile/télécopieur 613-952-8246
Canada Institute for Scientific and Technical Information (CISTI)
National Research Council Canada (NRC)| M-55, 1200 Montreal Road
http://www.nrc-cnrc.gc.ca/
Institut canadien de l'information scientifique et technique (ICIST)
Conseil national de recherches Canada | M-55, 1200 chemin Montréal
Ottawa, Ontario K1A 0R6
Government of Canada | Gouvernement du Canada
--

Reply all
Reply to author
Forward
0 new messages