David Christensen wrote:
hello, perl-gedcom!
I'm trying to design a WWW social networking site and would like to be
able to model relationships between people, including genealogical
relationships. STFW, I came across Gedcom.pm and this mailing list.
If you want to consider an internal format for your data, I would recommend
against using GEDCOM as it is too limiting.
In fact, I've long been in the process of designing a replacement for the GEDCOM
format, though at the moment its on the back-burner while I build a replacement
for the SQL language that is more relational, but I will be getting back to it.
Short answer, just use a generic ontology model as your basic design; you have
entities, attributes, and relationships, with kinds for each. A person is an
entity kind. A marriage or parent-child etc are relationship kinds that are
applicable to persons. And the sky's the limit, flexibility-wise.
Save use of GEDCOM for interchange with more limited peers who only know that.
-- Darren Duncan