Class RoleAssertion

All Implemented Interfaces:
Formula, SimpleLogicalFormula

public class RoleAssertion extends AssertionalAxiom
This class models a role assertion in description logic, i.e. an expression of the form "(a,b) : R", where a,b are Individuals and R is a role.
Author:
Anna Gessler
  • Constructor Details

    • RoleAssertion

      public RoleAssertion()
      Empty default constructor.
    • RoleAssertion

      public RoleAssertion(Individual a, Individual b, AtomicRole r)
      Initializes a role assertion with the given individuals and role.
      Parameters:
      a - an Individual
      b - an Individual
      r - a role
    • RoleAssertion

      public RoleAssertion(List<Individual> args, AtomicRole r)
      Initializes a role assertion with the given individuals and role.
      Parameters:
      args - list of individuals
      r - a role
    • RoleAssertion

      public RoleAssertion(Pair<Individual,Individual> args, AtomicRole r)
      Initializes a role assertion with the given role and individuals.
      Parameters:
      args - pair of individuals
      r - role
  • Method Details