-
Notifications
You must be signed in to change notification settings - Fork 30
Add GitHub workflow to keep Turtle and JSON-LD examples sync #318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
JSON-LD does just this, for example in Example 3. The markup uses the
The Other tabbed elements of attributes that allow comparing the results with another example, and to describe the transformation necessary. This includes This is run through a GH action which runs the extract-examples.rb Ruby file to parse and compare the results. Basically, in this case, to parse each into a graph and they verify that the resulting graphs are isomorphic (could also be done with RDF Dataset Canonicalization). The most common problem found is basic syntax errors introduced during hand editing. The playground links are created by this bit from common.js when ReSpec starts up, along with some other workflows. |
As we use two serializations (Turtle, JSON-LD) in our examples, we should create a script that checks if both formats are in sync and add that script to a GitHub workflow.
The text was updated successfully, but these errors were encountered: