Gedcom - FOAF + Relationship vocabulary and family "units"

LTjake on 2004-04-15T14:17:12

I've only mentioned it once before, but I'm working on exporting FOAF from Gedcom. I hadn't touched it in a while, but I've recently revisited it.

The current implementation "works" (e.g. HTML View, FOAF View), however it fails to split things up along family unit lines (i.e. what children are associated with which spouse and which family, exactly, was this person a part of as a child).

Example:

Person X
--------

	FAM 1 (C)
	---------
	Parent A
	Parent B

	FAM 2 (S)
	---------
	Spouse 1
		Child 1
		Child 2
		Child 3

	FAM 3 (S)
	---------
	Spouse 2
		Child 4

	FAM 4 (S)
	---------
	Spouse 3

	FAM 5 (S)
	---------
	Spouse 4
		Child 5
		Child 6

The above example shows that Person X is part of 5 families. 4 as a spouse and one as a child. You can also see, specifically, that Children 1-3 were with Spouse 1 (hence a family unit).

It's important to note that each person and family unit is given a unique ID.

I was hoping to use foaf:Group to associate each person with their respective families, though I'm not exactly sure how.

You might have noticed that I've omitted any siblings of Person X in the above example. That may cause a problem due to the fact that the foaf:Group in which Person X is a child would be split over multiple files.

If foaf:Group had an inverse (see wiki entry) then i might be able to just say that Person X is a memberOf families 1, 2, 3, 4 and 5 and aggregate those files, focussing on Person X's relationships. Though i don't see a way to show relationships between people in groups.

Ideas anyone?


Get Your FOAF On

clscott on 2004-04-15T16:36:36

A Series of FOAF tutorials, his next seems to be on Groups.

http://www.ldodds.com/blog/archives/000109.html

Good Luck,
Clayton

Re:Get Your FOAF On

LTjake on 2004-04-23T12:42:44

Thanks for the link!

I hope he gets around to adding that tutorial soon. :)