json-ld responses incorrect for published taxoinomies.
Quite a few problems with the json-ld responses from the published UNTP vocabulary and taxonomies.
-
curl -H "Accept: application/ld+json" https://vocabulary.uncefact.org/untpreturns an error. Should return the full vocab. -
curl -H "Accept: application/ld+json" https://vocabulary.uncefact.org/untp/returns the full untp core vocabulary as json-ld. Good but should work without the / -
curl -H "Accept: application/ld+json" https://vocabulary.uncefact.org/untp/Productreturns an error with or without the /. Should return the json-ld forProduct -
curl -H "Accept: application/ld+json" https://vocabulary.uncefact.org/conformity-topicsreturns an error without the / but works on with the /. It should return the complete topic taxonomy with or without the /. -
curl -H "Accept: application/ld+json" https://vocabulary.uncefact.org/performance-metricsreturns an error without the / but works on with the /. It should return the complete metric taxonomy with or without the /. -
https://vocabulary.uncefact.org/conformity-topics/circular-value-chains(with or without /) returns an error. it should return the json-ld for circular value chains. - Same problem as above appears at all levels of all taxonomies.
And on top of that, the human readable versions are also not working right.
- https://vocabulary.uncefact.org/conformity-topics/ returns an error. Same without the /. It should respond with an html version of the full taxonomy.
- https://vocabulary.uncefact.org/performance-metrics/ returns an error. Same without the /. It should respond with an html version of the full taxonomy.
- There are some strange pages like this one https://vocabulary.uncefact.org/untp/concepts which returns blank html and error json-ld.
What is supposed to happen.
Every URL at either root level or at any node in the tree should show the same data whether accept header is html or json-ld.