biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 9 forks source link

changed default @type for vocabulary to DefinedTerm #195

Closed gtsueng closed 3 months ago

gtsueng commented 1 year ago

Is your feature request related to a problem? Please describe. The default @type for vocabulary or ontology in the validation editor is CreativeWork this makes sense if the expected type of a property is the entire ontology rather than a subset of it. Most likely, though the expected type of a property will be one or many defined terms.

Describe the solution you'd like Change the default @type for the vocabulary/ontology option in the validation editor from CreativeWork to DefinedTerm

Describe alternatives you've considered I have been doing this manually for NIAID, NDE, and outbreak based on the expected formatting of the ingested data.

Additional context The reluctance to use DefinedTerm is understandable as it has been a pending property in schema.org for a long time, but it has been garnering more use within the Bioschemas community as well.