Composition

Ontiki's Patterns need to be constructed (i.e., composed) out of Patterns, Claims, Neo4j / Cypher relations, etc. Let's examine this, by looking at some patterns for common familial relationships.

Specific Path

Using Cypher, we can look for a specific path (e.g., from Aunts to Nieces):

Generic Path

However, this approach complects gender with relationship. In any substantial pattern, this could produce an annoying combinatorial explosion of definitions. Using some some gender-neutral relationships, we can simplify (i.e., decomplect) the definitions and cut this Gordian Knot:

Gender Roles

Combining some gender roles with the generic path, we can derive a slew of definitions (e.g., Aunt):

To be continued...


This wiki page is maintained by Rich Morin, an independent consultant specializing in software design, development, and documentation. Please feel free to email comments, inquiries, suggestions, etc!

Topic revision: r3 - 11 Jan 2015, RichMorin
This site is powered by Foswiki Copyright © by the contributing authors. All material on this wiki is the property of the contributing authors.
Foswiki version v2.1.6, Release Foswiki-2.1.6, Plugin API version 2.4
Ideas, requests, problems regarding CFCL Wiki? Send us email