I have a problem with the way taxonomies are serialised/modelled.
It is explicitly stated that this taxonomy is an ontology. That's why we didn't want to do anything when we removed the taxonomies from the owl files.
{
"@id": "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/productTypes.rdf",
"@type": ["http://www.w3.org/2002/07/owl#Ontology"]
}
this should be
{
"@id": "https://example.org/my-scheme",
"@type": "skos:ConceptScheme",
"dc:title": { "@value": "Taxonomy of DFC products", "@language": "en" },
"dc:description": {
"@value": "Hierarchy of food products for interoperability. ",
"@language": "en"
},
"skos:hasTopConcept": [
{ "@id": "https://example.org/my-scheme#fruit" },
{ "@id": "https://example.org/my-scheme#vegetable" }
]
}
I have a problem with the way taxonomies are serialised/modelled.
It is explicitly stated that this taxonomy is an ontology. That's why we didn't want to do anything when we removed the taxonomies from the owl files.
this should be