emmo-repo/EMMO

Number does not subclass from hasNumericalData

Closed this issue · 2 comments

While all subclasses of Number(disciplines/math.ttl::EMMO_21f56795_ee72_4858_b571_11cfaa59c1a8 rdf:type owl:Class ;) have the property hasNumericalData, it itself does not have it.

is there a reason for this ? in general it would be nicer if the subclasses inherit common properties, as it is better practice.

@jesper-friis @emanueleghedini can we add hasNumericalData as a property of Number, and then overload it as needed for the subclasses? what do you think.

FaCT++ does not support user-defined datatypes and there is no standard datatype for a number that includes booleans, integers and floats.

A class (Number) should never subclass a data property (hasNumericalData).