dbpedia / databus

A digital factory platform for managing files online with stable IDs, high-quality metadata, powerful API and tools for building on data: find, access, make interoperable, re-use
Apache License 2.0
36 stars 16 forks source link

Clarify role of the Derived From field #158

Open white-gecko opened 6 months ago

white-gecko commented 6 months ago

The "Derived From" field in the input form of the Publish Wizard is a multi line filed without any specific validation.

image

This caused the impression for me that it should hold an unstructured description of the provenance of the dataset. However in the generated JSON data it is represented as in one field wasDerivedFrom which is then converted to one IRI <https://metadata.coypu.org/dataset/wikidata-distribution https://query.wikidata.org/> which is not accepted by gstore.

[
  {
    "@type": [
      "Version",
      "Dataset"
    ],
    "@id": "https://databus.coypu.org/narndt/coypu/countries/2023-09-18T122214Z",
    "hasVersion": "2023-09-18T122214Z",
    "title": "Countries",
    "abstract": "Countries 2023-09-18T12:22:14Z",
    "description": "Countries 2023-09-18T12:22:14Z",
    "license": "https://dalicc.net/licenselibrary/Cc010Universal",
    "attribution": null,
    "wasDerivedFrom": "https://metadata.coypu.org/dataset/wikidata-distribution\nhttps://query.wikidata.org/",
    "distribution": [
      {
        "@type": "Part",
        "formatExtension": "ttl",
        "compression": "none",
        "downloadURL": "https://databus.coypu.org/dav/narndt/coypu/countries/2023-09-18T122214Z/countries_freqency=static.ttl",
        "dcv:frequency": "static"
      }
    ]
  }
]

My expectations

The input form should get some kind of description which data shall be inserted in this filed and the data should be validated by the databus before it is sent to the store.

manonthegithub commented 6 months ago

I see two problems here:

holycrab13 commented 6 months ago

I will change the interface and add a server-side check before saving to gstore. I will try to also allow adding multiple derivedFrom triples via the UI