R. Steven Rainwater | 1 Feb 2007 03:37
Favicon

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

Thanks for the suggestions - I've made changes which will (hopefully)
correct all the issues pointed out so far.

I've added an rdfs:label tag to each project. I'm now wrapping all
foaf:Project tags in foaf:currentProject.

I've removed the homepage URL from the foaf:knows sections because I'm
only able to construct the URL to the known user's Advogato home page,
which may or may not be their canonical home page. It can be discovered
by visiting the seeAlso FOAF instead.

And I've added some self-referential foaf:PersonalProfileDocument
taggage to make Tabulator and Disco happy.

So here's the sample of the latest output:

 http://advogato.org/person/StevenRainwater/foaf.rdf

Here's a little more detail on the project relation issue:

While Advogato doesn't include any information about a temporal
relationship between the user and the project (past vs current), it does
include other information about the relationship. The website has a pool
of projects and a pool of users. A user can associate themselves with a
project by means of a relationship such as contributor, helper,
documenter, developer, lead-developer, etc. For example, here's the
Advogato page for the GIMP project:

http://www.advogato.org/proj/GIMP/

(Continue reading)

Benjamin Nowack | 1 Feb 2007 10:20

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

On 31.01.2007 20:37:19, R. Steven Rainwater wrote:
>I've added an rdfs:label tag to each project. I'm now wrapping all
>foaf:Project tags in foaf:currentProject.
Sorry, haven't read the previous mails, but the (currently) suggested
use of current/pastProject is to link a person to a *document*, not 
to a project resource:

[[
A foaf:currentProject relates a foaf:Person to a foaf:Document 
indicating some collaborative or individual undertaking.
]]
http://xmlns.com/foaf/0.1/#term_currentProject

I've argued some years ago for changing the range to foaf:Project,
maybe this is another opportunity to do so, although I've started
to follow the person->document pattern myself in the meantime..

Benjamin

>
>I've removed the homepage URL from the foaf:knows sections because I'm
>only able to construct the URL to the known user's Advogato home page,
>which may or may not be their canonical home page. It can be discovered
>by visiting the seeAlso FOAF instead.
>
>And I've added some self-referential foaf:PersonalProfileDocument
>taggage to make Tabulator and Disco happy.
>
>So here's the sample of the latest output:
>
(Continue reading)

Luigi Selmi | 1 Feb 2007 10:53
Picon
Favicon
Gravatar

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

Hi All,
I'd like to add to the foaf:currentProject property a start date and an end 
date. In the FOAF specs [1] there is not a property that can link a 
foaf:Project to something like a date so I used the dc:date property from 
the Dublin Core vocabulary [2] as shown below at it validated with the RDF 
Validation Service [3]:

<foaf:currentProject>
  		<foaf:Project>
  			<dc:title>SAIA</dc:title>
        		<dc:description>eGov Project</dc:description>
        		<foaf:homepage 
rdf:resource="http://www.saiaproduzione.ancitel.it"/>
        		<dc:date>
        			<ical:Vcalendar>
				  <ical:component>
				   <ical:Vevent>
				    <ical:dtstart rdf:parseType='Resource'>
				     <ical:date>2006-06-15</ical:date>
				    </ical:dtstart>
				    <ical:dtend rdf:parseType='Resource'>
				     <ical:date>2007-06-15</ical:date>
				    </ical:dtend>
				   </ical:Vevent>
				  </ical:component>
				 </ical:Vcalendar>
        		</dc:date>
        	</foaf:Project>
    </foaf:currentProject>

(Continue reading)

Richard Cyganiak | 1 Feb 2007 11:29
Picon
Gravatar

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

Steve,

On 1 Feb 2007, at 03:37, R. Steven Rainwater wrote:
> I've removed the homepage URL from the foaf:knows sections because I'm
> only able to construct the URL to the known user's Advogato home page,
> which may or may not be their canonical home page.

Ah, that's a bummer. Maybe put them in again as foaf:page instead of  
foaf:homepage? They are quite useful information.

> It can be discovered by visiting the seeAlso FOAF instead.

Unfortunately, no. This is what I tried to explain in my previous  
mail, the bit about "linking up all the nodes". Tools will be able to  
find the other profile, but will be unable to figure out that the  
foaf:Person with nick "jwz" in the one file is the same as the person  
with nick "jwz" in the other file.

One way to fix this: Do away with the blank nodes and assign URIs to  
all persons.

1. Give a rdf:about="#me" attribute to the main foaf:Person

2. Give a rdf:about="http://www.advogato.org/person/{whatever}/ 
foaf.rdf#me" attribute to the secondary foaf:Persons

3. Add a rdf:resource="#me" attribute to the foaf:primaryTopic and  
foaf:maker elements

4. Drop the rdf:nodeID attributes, they are no longer needed.
(Continue reading)

Richard Cyganiak | 1 Feb 2007 12:08
Picon
Gravatar

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

Benjamin,

On 1 Feb 2007, at 10:20, Benjamin Nowack wrote:

> On 31.01.2007 20:37:19, R. Steven Rainwater wrote:
>> I've added an rdfs:label tag to each project. I'm now wrapping all
>> foaf:Project tags in foaf:currentProject.
> Sorry, haven't read the previous mails, but the (currently) suggested
> use of current/pastProject is to link a person to a *document*, not
> to a project resource:
>
> [[
> A foaf:currentProject relates a foaf:Person to a foaf:Document
> indicating some collaborative or individual undertaking.
> ]]
> http://xmlns.com/foaf/0.1/#term_currentProject

Oh. I didn't know this, thanks for pointing it out. (And I don't  
understand the reasoning behind this -- what's the point of the  
foaf:Project class then?)

So my suggestion to Steve was wrong, it should have been

<foaf:Person>
     ...
     <foaf:currentProject rdf:resource="{URL of the project's  
Advogato page}"
</foaf:Person>

But using DOAP is better anyway if it's a software project.
(Continue reading)

Richard Cyganiak | 1 Feb 2007 12:19
Picon
Gravatar

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

Luigi,

I suppose you want to say, "Bob was involved with the ACME project  
from 2004-07-15 through 2006-04-02."

Unfortunately the suggested modelling approach doesn't work. If  
several people are involved with the same project, and they both have  
start and end dates for the involvement, then there's no way to tell  
which dates belong to which person.

A better approach might be to interpret the currentProject relation  
as an n-ary relation (that is, it doesn't simply connect a person and  
a project, but it connects a person, a project, a start date and an  
end date). There's a document at [1] that discusses how to do n-ary  
relations in RDF.

Richard

[1] http://www.w3.org/TR/swbp-n-aryRelations/

On 1 Feb 2007, at 10:53, Luigi Selmi wrote:

> Hi All,
> I'd like to add to the foaf:currentProject property a start date  
> and an end date. In the FOAF specs [1] there is not a property that  
> can link a foaf:Project to something like a date so I used the  
> dc:date property from the Dublin Core vocabulary [2] as shown below  
> at it validated with the RDF Validation Service [3]:
>
> <foaf:currentProject>
(Continue reading)

Andreas Harth | 1 Feb 2007 21:54

[foaf-dev] Data dumps containing FOAF

Hi,

for a workshop we have created a corpus containing DBLP and CiteSeer
data combined with FOAF information about the authors.

The dataset has been consolidated ("smushed") and contains a little
less than 100 million triples.  You can find the dataset at [1] in
two formats: N-Triples and N-Quadruples (N-Triples + Context).

Enjoy!

Regards,
Andreas.

[1] http://sw.deri.org/~aidanh/expertfinder/
R. Steven Rainwater | 1 Feb 2007 23:44
Favicon

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

On Wed, 2007-01-31 at 20:37, R. Steven Rainwater wrote: 
> Unless some other problems turn up or someone has some 
> other interesting suggestions for improving it, I may 
> call it done for now. 

Heh, I was being a bit optimistic there. :-)

Okay, so based on Benjamin and Richard's feeback, I've done a third rev
of the project code and reduced it to just foaf:currentProject with an
rdf:resource that points to the project's Advogato page.

I'll take a look at the DOAP alternative later on. I'm planning to do
some major updates to the Advogato project code but that's down the road
a few months. 

I tried Richard's suggestion for the foaf:knows links (e.g. adding
rdf:about tags using their Advogato profile pages). And I incorporated
Richard's suggested fix for the problem of matching the foaf:knows
records with the assocated FOAF files. I'm guessing this worked because
the Disco browser now shows a list of "knows" results that I can click
on to get to their FOAF records. But - it seems to work but only if I
add the "#me" identifier to the end of the initial FOAF URL I enter -
does that seem correct? 

And thanks also to all the other folks who emailed me about minor bugs
in the format. 

Here are a couple of example links for today:

 http://www.advogato.org/person/raph/foaf.rdf
(Continue reading)

Richard Cyganiak | 2 Feb 2007 12:07
Picon
Gravatar

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

Hi Steve,

Looks excellent. I don't know why Disco won't show it, must be a bug  
in Disco. Everything works like a charm in Tabulator.

Well, I guess Advogato has FOAF support now :-)

Richard

On 1 Feb 2007, at 23:44, R. Steven Rainwater wrote:

> On Wed, 2007-01-31 at 20:37, R. Steven Rainwater wrote:
>> Unless some other problems turn up or someone has some
>> other interesting suggestions for improving it, I may
>> call it done for now.
>
> Heh, I was being a bit optimistic there. :-)
>
> Okay, so based on Benjamin and Richard's feeback, I've done a third  
> rev
> of the project code and reduced it to just foaf:currentProject with an
> rdf:resource that points to the project's Advogato page.
>
> I'll take a look at the DOAP alternative later on. I'm planning to do
> some major updates to the Advogato project code but that's down the  
> road
> a few months.
>
> I tried Richard's suggestion for the foaf:knows links (e.g. adding
> rdf:about tags using their Advogato profile pages). And I incorporated
(Continue reading)

Morten Frederiksen | 2 Feb 2007 12:40
Picon
Favicon
Gravatar

Re: [foaf-dev] Adding FOAF support to mod_virgule (Advogato)

Hey,

On 2/2/07, Richard Cyganiak <richard@...> wrote:
> Looks excellent. I don't know why Disco won't show it, must be a bug
> in Disco. Everything works like a charm in Tabulator.
I think the Disco issue may be related to the fact that the "seeAlso"
statements should be rdfs:seeAlso, not foaf:seeAlso.

Regards,
Morten

Gmane