Skip to content
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

dpp.jsonld and example contain invalid RDF subjects #80

Open
VladimirAlexiev opened this issue Apr 29, 2024 · 0 comments
Open

dpp.jsonld and example contain invalid RDF subjects #80

VladimirAlexiev opened this issue Apr 29, 2024 · 0 comments
Assignees

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Apr 29, 2024

@kshychko in #8 (comment)_

example json on json-ld playground

Thanks Ksenya!
I saved the example as beef.jsonld and tried to convert it with riot (also the ontology dpp.jsonld). Here are some syntax errors:

$ ttl1.bat beef.jsonld  1>beef.ttl
Apr 29, 2024 10:57:01 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [CountryId#AU] has been skipped.

$ ttl1.bat dpp.jsonld  1>dpp.ttl
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Characteristic] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Claim] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Classification] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Dimension] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Evidence] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Facility] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Identifier] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Material] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Measure] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Metric] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Party] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [Product] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [ProductPassport] has been skipped.
Apr 29, 2024 10:57:03 PM com.apicatalog.jsonld.deseralization.JsonLdToRdf build
WARNING: Non well-formed subject [TraceabilityEvent] has been skipped.

Note: ttl1.bat converts to turtle, then sorts by paragraph:
riot --formatted=turtle %1 | perl -00e "@a=<>; print shift @a; print sort @a"

This was referenced Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant