Skip to content →

Category: web

FoaF

Speaking
about work done behind the curtains, here another tiny addition to this
site. If you ever looked at the source of this page, you will notice
that as of today there is one line added near the end of the
_head_-tag

< link rel="meta"
href="http://www.neverendingbooks.org/lieven.rdf"
type="application/rdf+xml" title="FOAF" / >

which will point
spiders and suitable aggregators to the (first installment of) my own
_foaf-file_. According to the Friends of a Friend (FOAF)
Project
its intended purpose is

FOAF is a way to
describe people and relationships to computers. FOAF stands for Friend
Of A Friend. Technically, it is an RDF/XML Semantic Web vocabulary.
Because of this, FOAF data is easy to process and merge.
Home
pages typically say things such as:
“My name
is…”
“I work for…”
“I’m
interested in…”
“I live near…”
“My blog is…”
“I write in this
weblog…”
“You can see me in this
picture…”
FOAF is a way to say all those things, but
so that computers can interpret it. Computers can’t understand English
yet, so we have to be a little more precise in how we say these things.
FOAF is a way of saying these things for computers.
What would
computers do with this information? We experiment all the time, but here
are some questions that computers can answer using FOAF data:

“Show me pictures of bloggers interested in (foo) who live near
me.”
“Show me recent articles written by people at
this meeting.”
“Is this person vegetarian?”
FOAF is a SemanticWeb project. The Semantic Web is an effort to make
it easier for computers to get useful information from the Internet.

Sounds intruiging doesn’t it? But how do they go about
realizing some of this? Well, by encoding all relevant information which
you are willing to share about yourself, people you know, your work etc.
in an RDF (Resource Description
Framework)
file. The source file can be bit scary at first but
fortunetely you do not have to type these tags yourself. To begin with
your own core-FoaF file, you can use the excellent on-line foaf-a-matic or
the Java-desktop version foaf-a-matic mark
2 beta-2
. Just fill out the data you want to include and these
programs will turn this info into proper FoaF-code. There is one
important thing to consider. These two programs allow you to keep
email-data out of the FoaF-file (for obvious spam-reasons). However, the
whole FoaF-strategy is based on linking various FoaF-files together into
one semantic net and for this reason one has to be able to identify a
person which may occur in different FoaF-files under different nicks or
slightly different names. FoaF takes as its Unique Person Identifier the
email address, so removing this data from your file makes it entirely
useless. Fortunately, the FoaF-community came up with an alternative
keeping the email-address as the UPI but scrambling it to make it
useless to spam-bots. That is the whole purpose of tags such as

 mbox_sha1sum ac5cefa7e1e7df92f7257ea663dfd06a4a4be212

which gives the result of applying the _SHA1_
function to a ‘mailto:’ address. I haven’t checked the online
foaf-a-matic, but the desktop version manages to give the sha1 of your
own email address, but doesn’t give those of the people you know. So, I
had to use the online sha1
generator
and paste the result into the file. Still, all of this
is just scratching the surface. Later on, I will extend my FoaF-file by
adding more people, together with additional information about them and
myself. To get an idea of what information you can encode have a look at
the FOAF Vocabulary
Specification
. You can at all times check on the progress looking at
the source file reference. This last bit was achieved by the FoaF header plugin
for WordPress
.

Leave a Comment

upgrade to wp 2.0

All
activity on this site this week (apart from changing the theme) was done
behind the scenes. Finally, _neverendingbooks_ is upgraded to WordPress 2.0.
It is a straightforward well-explained procedure but somehow I decided
to try this out in between a WorkShop and a
Ph.D. defense. As a consequence I had to reclone twice…
Some of the Plugins‘ functionality
didn’t survive the upgrade. In particular, the anti-spam plugin BotCheck doesn’t work any longer (one could fill out any code and
still get a reply posted) as I found out sunday-morning when I was
greeted with about 20 spam-replies… Fortunately, WP 2.0 comes
bundled with its own anti-spam plugin Akismet but one needs a WordPress.com API key which
meens signing up to a WordPress-account (free). When Akismet is
activated, it really bans all spam (it even shows how many spam-messages
it found, 30 over two days…), the only problem being that it seems
to de-activate itself at random… The new theme is called Kiwi which is a lot more
compact than the default neverending(sic) page. But there is a (heavy
some will say) price to pay : only summaries of posts are on the
front-page and the font is (too some will say) small. Still, Kiwi has
some nice extra features : the Featured Post Plugin which
allows to re-cycle changing selected old posts to the right of the
banner. Another changing part is the _Elsewhere_ list (second row
to the right) where one can display any feed. At the moment (but I may
change this as the del.icio.us site
seems to be having some problems) all _del.icio.us_ links tagged
noncommutative are shown (if the site is up…). It
appears that apart from Graham
Leuschke
nobody has a del.icio.us account or doesn’t use the
noncommutative tag. So, if you want to change this site a bit every day,
you know what to do. Speaking of tags, several new
_categories_ were created so that posts now get multiples tags,
describing better their (intended) content. Something I learned by
tagging papers at citeUlike. Btw.
you are still invited to join the
NoncommutativeGeometry Group
over there… Clearly, re-tagging
every individual post was a painstaking experience. A WordPress 2.0
feature I like is the ability to write _pages_ (as opposed to
Posts) which are kept alive in the sidebar and therefore resemble
‘stickies’ (in WP parlace ‘they live outside of the usual
timeline’). At the moment there is just one test-page NAGworldMAP
on which you can see that geocoding was added to
this site via the Geo
Plugin
(allowing to add geographic data to posts) and the instant google world map Plugin plotting these data on a Google Map. At the moment you can see
the distance I have to cycle to get to the university, but I have plans
to do something more substantial with this feature soon, so please
familiarize yourself with dragging and zooming the map (for US-citizens,
European countries often do not put geographic data in the public
domain, so there is a limit to the zoom-factor and I use the
‘satellite’-view rather than any of the other two).

Leave a Comment

citeUlike

Thanks
to Andrei Sobolevskii for his comment
pointing me to a wonderful initiative : CiteULike.

What is CiteULike?
CiteULike is a
free service to help academics to share, store, and organise the
academic papers they are reading. When you see a paper on the web that
interests you, you can click one button and have it added to your
personal library. CiteULike automatically extracts the citation details,
so there’s no need to type them in yourself. It all works from
within your web browser. There’s no need to install any special
software.
Because your library is stored on the server, you
can access it from any computer. You can share you library with others,
and find out who is reading the same papers as you. In turn, this can
help you discover literature which is relevant to your field but you may
not have known about.
When it comes to writing up your
results in a paper, you can export your library to either BibTeX or
Endnote to build it in to your bibliography. CiteULike has a flexible
filing system, so you actually stand a chance of being able to find that
article that you stored a few months ago when you need
it.

If all this seems too abstract, here is an excellent practical
introduction
(also suggested by Andrei). This text focusses on
articles from AnthroSource but if you’re a mathematician, do the
same things when you are at the abstract page of a paper on the arXiv or a paper description from MathSciNet. The really nice
thing is that you virtually have to do no typing at all (apart from the
tags you want to add to classify the paper where you want it or, if you
want, to add a note about the paper). Another exciting feature
is that you can upload your personal copy of the paper. A typical
situation : most of us can get the PDF-file of a published paper at work
(because the university has a contract with the publisher) but not at
home, on the road or on vacation. So, while at work, download the PDF,
upload it as your personal copy to citeUlike and you can read that paper
wherever you have internet access! But there is more : you can
export the BibTeX-data of your whole library and use it in your next
paper, every library has its separate RSS-feed so you can feed it to a
news-aggregator (or to bloglines) to find out whether someone with
similar interests added a new paper to his/her library, you can create
Groups that is collections of Libraries of people interested in the same
topic, so that others can help you finding stuff of value (and again,
such Group-libraries have there own RSS-feed so….), all libraries
have all tags used by the Library-owner in a graphical format, the
larger the tag-text the more it is used in the Library, so just by
looking at the right-sidebar you get a good idea what the person’s
interests are, etc. etc. etc. I’m just two days into
citeUlike and there will be tons of features I still have to discover
and I’ll report on this later. At the moment I just added a few
papers to my Library but I will extend this drasticly in the weeks
ahead. If you want to check on my progress here is lieven’s Library
or the citeIlike link in the header of this blog (between the
‘about me’ and the ’search’ link) and I hope
that many of you will add similar buttons on your homepages.
Finally, if you are interested in Noncommutative algebraic and/or
differential geometry, I’ve set up a Group-Library
NoncommutativeGeometry
. At the moment it’s just identical to
my own Library, but please register to citeUlike, set up your own
Library and if you’re into NOG join this group!

One Comment