-
Notifications
You must be signed in to change notification settings - Fork 33
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
full example document contain errors #115
Comments
Fixed in SHA 40343e0, but let's discuss the issue with not finding the HTML type mismatch via SHACL @datadavev |
HTML is defined in the context here on line 5: https://schema.org/docs/jsonldcontext.json |
Interesting, Adam. I thought the official context file is at: https://schema.org/version/latest/schemaorg-current-https.jsonld Which doesn't seem to have |
very well may be wicked old apparently! Let's go with the official context cited on the developers page. |
JSON-LD remote context retrieval is described in https://www.w3.org/TR/json-ld11-api/#context-processing-algorithms In brief, for schema.org, a context written:
invokes the following sequence for the json-ld processor:
(i.e., the context document is actually at Therein, The vocabulary is a separate document that identifies the relationships of terms identified in the context. It is located at:
Equivalence mappings between the |
Based on @datadavev 's synopsis, is there anything remaining here? Seems like this ticket can be closed if we are happy with the context resolution. |
I checked and restored the |
The full example document does not fully follow the guidelines. The SHACL validator reports four errors:
identifier
should be of typePropertyValue
sameAs
property is missingisAccessibleForFree
property is missingI will directly check in a fix for these to the
develop
branch for the next release (1.2).In addition, the document types the
schema:description
field as"@type": "HTML",
, which is not valid, and should beText
. This is not picked up by the SHACL validator. Can we make the validator find all undefined types and flag them, and flag when the type is not one of the recommended ones for a property in SO?The text was updated successfully, but these errors were encountered: