[sc34wg3] New syntax for (binary) associations
heuer at semagia.com
Thu Feb 7 08:21:33 EST 2008
> We can define the property "o:work-for" as:
> And we also can define the property "o:has_employee"
> Now we can have a bidirectional (!) mapping between CTM "block
> form" and traditional TMDM-based form of representing associations.
But how is that different from defining a template (in the CTM
def works-for($employee, $employer)
o:works-for(o:Employee: $employee, o:Employer: $employer)
def has-employee($employer, $employee)
works-for($employee, $employer) # Calling the "works-for"
# template with flipped vars
More information about the sc34wg3