public ObjectMaxCardinality( IObjectPropertyExpression objectPropertyExpression, int cardinality, IClassExpression classExpression = null ) : base( objectPropertyExpression, cardinality, classExpression) { }
public ObjectPropertyRange( IOntology ontology, IObjectPropertyExpression objectPropertyExpression, IClassExpression range ) : base( ontology, objectPropertyExpression) { _range = range; }
public Parties( CommonDomainObjects commonDomainObjects ) : base( "Parties", commonDomainObjects) { PartyInRole = this.DeclareClass <PartyInRole>(); PartyInRole.SubClassOf(commonDomainObjects.DomainObject); Role = PartyInRole.DeclareObjectProperty <PartyInRole, Role>(partyInRole => partyInRole.Role); Organisation = PartyInRole.DeclareObjectProperty <PartyInRole, Organisation>(partyInRole => partyInRole.Organisation); Person = PartyInRole.DeclareObjectProperty <PartyInRole, Person>(partyInRole => partyInRole.Person); }
public ObjectPropertyAssertion( IOntology ontology, IObjectPropertyExpression objectPropertyExpression, INamedIndividual sourceIndividual, object targetIndividual ) : base( ontology, objectPropertyExpression, sourceIndividual) { _objectPropertyExpression = objectPropertyExpression; _targetIndividual = targetIndividual; }
public ObjectHasSelf( IObjectPropertyExpression objectPropertyExpression ) : base(objectPropertyExpression) { }
protected ObjectPropertyRestriction( IObjectPropertyExpression objectPropertyExpression ) : base(objectPropertyExpression) { _objectPropertyExpression = objectPropertyExpression; }
public IEnumerable <object> ObjectPropertyValues( IObjectPropertyExpression objectPropertyExpression, object individual ) => individual is INamedIndividual namedIndividual ?