Skip to content

FuReSH/tool-storage-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

< ToolFindr />
Logo of the ToolFindr Website

Deploy pages

A Lightweight Explorer for Discovering Research Tools in the Digital Humanities

Open, community-curated, and built on the Tool Registry Framework, integrating Wikidata and TaDiRAH

  • powered by
    • Wikidata SPARQL Service,
    • Wikidata Linked Data Fragments Service
    • MediaWiki Action API,
    • Comunica
    • GatsbyJS with React and GraphQL
    • Bootstrap 5

๐Ÿ‘‰ All data grounded in Wikidata, Commons and the TaDiRAH Taxonomy.

Overview

  • Project structure
  • Data fetching and data handling
    • Local gatsby-source-research-tools plugin
      • SPARQL
      • Triple Pattern Fragment
      • GraphQL
    • MediaWiki Action API (Wikimedia Commons)
  • Installation
    • Locally
    • Docker
  • Customize the explorer
    • Configure sites metadata
    • Configures styles
  • Issues and development
  • Further Reading

Data fetching and data handling with Gatsby

Local gatsby-source-research-tools plugin

Use the concept of Linked Data Fragements

Why Wikidata LDF and not REST?

  • Not to complex SPARQL Query to not run into RateLimit Error (429)
  • Drawbacks of Wikidata REST API:
    • Parallel request with e.g. Promise.all() is not allowed and will run into 429 error
    • Sequential requests, on the other hand, take a long time and are therefore not efficient
    • you need personal access token for larger requests

Documentation (technical)

  • Change into the plugin's directory and create TypeDoc Documentation:

npx typedoc

SPARQL

There a various endpoints available for fetching data from Wikidata

See JS-Libraries

When to use which endpoint?

Execute SPARQL queries with @comunica/query-sparql

Federated query

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

Linked Data Fragments (LDF)

Wikimedia Commons

  • 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

Credits

Gatsby Cli

Explore the project e.g. schema, nodes, pages etc.

npm run repl

https://www.gatsbyjs.com/docs/reference/gatsby-cli/#repl

Erros in the build-time React SSR process

Browser globals (window or document)

[ARCHIV] JSON schema (for editing feature)

  1. At the moment react-json-schema-from doesn't support patternProperties of Json Schema

About

๐Ÿ”Ž A Lightweight DH Tool Explorer โ€“ based on Wikidata and TaDiRAH

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •