Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number does not subclass from hasNumericalData #203

Closed
adhamhashibon opened this issue Aug 16, 2022 · 2 comments
Closed

Number does not subclass from hasNumericalData #203

adhamhashibon opened this issue Aug 16, 2022 · 2 comments

Comments

@adhamhashibon
Copy link
Collaborator

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.

@jesper-friis
Copy link
Contributor

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

@jesper-friis
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants