See JS-Libraries
- https://comunica.dev/ (allows federated queries)
- https://zazuko.com/get-started/developers/#further-documentation-support-questions (no federated queries)
npx comunica-sparql https://query.wikidata.org/sparql https://vocabs-downloads.acdh.oeaw.ac.at/vocabs-main/Humanities/TaDiRAH/tadirah.ttl -f ./data/federated-sparql.rq --log-level debug
- Image-URLs from Wikidata result in
❗ Das Cookie "NetworkProbeLimit" wurde abgelehnt, weil es sich in einem seitenübergreifenden Kontext befindet und sein "SameSite" auf "Lax" oder "Strict" gesetzt ist.
- Issue: URL from Wikidata is a Redirect-URL (301) that cause the cookie issue
- when accessing it, Wikimedia may set a session cookie that is blocked by the SameSite setting.
- Fix: Use MediaWiki-API to retrieve the images: https://www.mediawiki.org/wiki/API:Imageinfo
- Images from Commons can be used outside
- Need license requirements: https://commons.wikimedia.org/wiki/Commons:Reusing_content_outside_Wikimedia
- add browser check during the build time to skip: https://www.gatsbyjs.com/docs/debugging-html-builds/#how-to-check-if-window-is-defined
- At the moment react-json-schema-from doesn't support
patternProperties
of Json Schema- see Issue on GitHub: rjsf-team/react-jsonschema-form#1514
- that means we need a workaround here