コード例 #1
0
 public ObjectMaxCardinality(
     IObjectPropertyExpression objectPropertyExpression,
     int cardinality,
     IClassExpression classExpression = null
     ) : base(
         objectPropertyExpression,
         cardinality,
         classExpression)
 {
 }
コード例 #2
0
 public ObjectPropertyRange(
     IOntology ontology,
     IObjectPropertyExpression objectPropertyExpression,
     IClassExpression range
     ) : base(
         ontology,
         objectPropertyExpression)
 {
     _range = range;
 }
コード例 #3
0
 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);
 }
コード例 #4
0
 public ObjectPropertyAssertion(
     IOntology ontology,
     IObjectPropertyExpression objectPropertyExpression,
     INamedIndividual sourceIndividual,
     object targetIndividual
     ) : base(
         ontology,
         objectPropertyExpression,
         sourceIndividual)
 {
     _objectPropertyExpression = objectPropertyExpression;
     _targetIndividual         = targetIndividual;
 }
コード例 #5
0
 public ObjectHasSelf(
     IObjectPropertyExpression objectPropertyExpression
     ) : base(objectPropertyExpression)
 {
 }
コード例 #6
0
 protected ObjectPropertyRestriction(
     IObjectPropertyExpression objectPropertyExpression
     ) : base(objectPropertyExpression)
 {
     _objectPropertyExpression = objectPropertyExpression;
 }
コード例 #7
0
 public IEnumerable <object> ObjectPropertyValues(
     IObjectPropertyExpression objectPropertyExpression,
     object individual
     ) => individual is INamedIndividual namedIndividual ?