Skip to content

Bad taxonomy serialisation #58

Description

@simonLouvet

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" }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions