Search code examples
semantic-mediawiki

Modelling ternary relations in a semantic wiki


Standard example to model a binary relation is "Dad likes Mom". In a Wiki I would have two pages for Mom and Dad and a (directed) property "likes".

I need to model "ternary relations". For example:

  • Peter goes to New York using a bus.
  • John goes to Mexico using a car.

Where people, locations be vehicles are entities and usage is the ternary property/relation.

How can I express that in a semantic mediawiki??


Solution

  • This cant be done with standard means. The ternary relation needs to be represented as an object in its own right using https://www.semantic-mediawiki.org/wiki/Help:Type_Record

    This is implemented using: https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Internal_Objects