Article    Discussion    Edit    History

Date Model: Marriage

Jump to: navigation, search

A marriage is typically modeled like this:

<#marriage>
    rdf:type gc:Marriage ;
    gc:hasPlayer <#player1> ;
    gc:hasPlayer <#player2> .

<#player1>
    rdf:type gc:Bride ;
    gc:playedBy <#person1> .

<#player2>
    rdf:type gc:Groom ;
    gc:playedBy <#person2> .

Where the sex of a partner is indeterminate, or where otherwise appropriate, the player type gc:Partner (which is the superclass of gc:Bride and gc:Groom) can be specified instead.

Retrieved from "http://www.dftproject.org/wiki/Date_Model:_Marriage"