ec2u / data

EC2U Knowledge Hub
https://data.ec2u.eu
Apache License 2.0
2 stars 0 forks source link

Missing descriptions #28

Closed hmaskat17 closed 2 years ago

hmaskat17 commented 2 years ago

Steps to reproduce

  1. Make a request to https://data.ec2u.eu/events/ endpoints
  2. Check the description property.

What did you expect to happen? Descriptions have their full text included.

What did actually happen? Descriptions are very short and do not reflect the source. They also end in "...".

Would you share any observation or additional context about the bug? Example of missing descriptions:

Jena > Space Tour

Missing descriptions from Turku, Jena, Poitiers...

@ec2u/mmt

knoan commented 2 years ago

JSON event description fields slightly deviate from schema.org property names to handle a clash with the Dublin Core vocabulary, in use under the hood to manage generic resource metadata:

detail level graph property JSON field
short description dct:description description
short description schema:disambiguatingDescription disambiguatingDescription
extended description schema:description fullDescription

Unless explicitly provided by the source, short descriptions are generated by clipping extended ones and adding trailing '…' as required; extended descriptions may be safely rendered as Markdown as demonstrated in the details view of the search UI.

Takeaway:

Will update the docs to avoid further confusion.