Skip to content

πŸ§™β€β™‚οΈπŸ“ JSON-LD web editor, with autocomplete based on the loaded ontologies concepts and properties

License

Notifications You must be signed in to change notification settings

MaastrichtU-IDS/fair-metadata-wizard

Repository files navigation

Deploy to GitHub Pages CodeQL analysis

πŸ§™β€β™‚οΈπŸ“ FAIR Metadata Wizard, a JSON-LD editor

Load and edit JSON-LD RDF metadata files in a user-friendly web interface, with autocomplete based on the classes and properties of the ontology magically loaded from @context ✨️

Built with TypeScript, React, and Material-UI.

Deployed as a static website on GitHub Pages.

Access πŸ‘©β€πŸ’»

Access the website at https://maastrichtu-ids.github.io/fair-metadata-wizard πŸ”—

A few URL parameters can be provided to automate some actions:

Combined: https://maastrichtu-ids.github.io/fair-metadata-wizard?edit=https://raw.githubusercontent.com/w3c/csvw/gh-pages/tests%2Ftest086-metadata.json&toysrus=closed

Metadata examples πŸ“

Here are a few examples of metadata templates to load from JSON-LD files URL:

Tested ontologies βœ”οΈ

The following ontologies has been tested to be properly loaded when provided in @context

Ontologies are converted from RDF formats to JSON-LD using rdflib-js

Please report if an ontology does not load properly by creating an issue on GitHub.

Known issues ⚠️

  • It is not possible to resolve HTTP URLs from HTTPS (triggers a mixed active content blocked error). Deploying to github.io/maastrichtu-ids forces redirect to HTTPS
    • I currently rewrite ontologies URL using http:// to https:// before downloading them to work around this issue
    • It can be solved by redirecting GitHub Pages a custom URL, such as http://wizard.semanticscience.org, and accessing via HTTP

Run in development πŸ—οΈ

Requirements: npm and yarn installed.

Clone the repository, and get in the folder:

git clone https://github.com/MaastrichtU-IDS/fair-metadata-wizard 
cd fair-metadata-wizard

Install dependencies πŸ“₯

yarn

Web app will run on http://localhost:19006 πŸƒ

yarn dev

The website should reload automatically at each changes to the code πŸ”ƒ

Upgrade the packages versions in yarn.lock ⏫️

yarn upgrade

Run in production πŸ›©οΈ

This website is automatically deployed by a GitHub Actions worklow to GitHub Pages at https://maastrichtu-ids.github.io/fair-metadata-wizard

You can build locally in the /web-build folder, and serve on http://localhost:5000

yarn build
yarn serve

Or run directly using Docker 🐳 (requires docker installed)

docker-compose up

Checkout the docker-compose.yml file to see how we run the Docker image ⛡️

Contribute 🀝

Contributions are welcome! See the guidelines to contribute.

See also πŸ‘€

Resources to help improving the wizard design:

About

πŸ§™β€β™‚οΈπŸ“ JSON-LD web editor, with autocomplete based on the loaded ontologies concepts and properties

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages