public Relationship()

in OWL2DTDL/Relationship.cs [45:53]


        public Relationship(OntologyProperty property, OntologyClass target)
        {
            if (!property.IsNamed() || !(target.IsNamed() || target.IsDatatype()))
            {
                throw new ArgumentException("Only named properties and named or datatype targets allowed.");
            }
            Property = property;
            Target = target;
        }