InseeFr / InseeFr/Impala

Note issues on static pages

Open
#66 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Item notes are broken, for all classifications ([exemple](http://rdf.insee.fr/common/naf/display-item.htm?code=23.99Z)).

`DESCRIBE` queries do not return JSON as expected in the code ([here](https://github.com/InseeFr/Impala/blob/main/pages/common/naf/display-item.htm#L45)).

Is it a Yasgui issue?
Regarding the [docs](https://docs.triply.cc/triply-api/#sparql-query-result-formats), not sure it's possible to obtain JSON from DESCRIBE.

I tried to add headers, unsuccesful.

A way to fix is to switch query, from `var query = "PREFIX skos: DESCRIBE <" + itemURI + ">";` to `var query = "SELECT * WHERE { <" + itemURI + "> ?predicate ?object }";` but seems better to fix the DESCRIBE query issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.