hobbit-project / ontology

The ontology used by the HOBBIT platform
http://www.project-hobbit.eu
1 stars 1 forks source link

Unused property `hasDefaultValue` #17

Open denkv opened 5 years ago

denkv commented 5 years ago

Looks like it's not used anywhere?

https://github.com/hobbit-project/ontology/blob/master/example/example.ttl#L51

MichaelRoeder commented 5 years ago

It is used in the front end: https://github.com/hobbit-project/platform/blob/master/hobbit-gui/gui-serverbackend/src/main/java/de/usu/research/hobbit/gui/rabbitmq/RdfModelHelper.java#L211

denkv commented 5 years ago

Yes, but that's defaultValue.

MichaelRoeder commented 5 years ago

You are right. Following the implementation at https://github.com/hobbit-project/core/blob/master/src/main/java/org/hobbit/vocab/HOBBIT.java hasDefaultValue is neither there nor in the ontology.ttl file :open_mouth:

So I think that in the example.ttl file hasDefaultValue should be renamed to defaultValue instead of being removed.