-
Notifications
You must be signed in to change notification settings - Fork 2
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
Integrate GeoJSON-LD context in Web Annotation #1
Comments
Thanks, do I assume correctly that this would mean the "@context": [
"http://www.w3.org/ns/anno.jsonld",
"https://geojson.org/geojson-ld/"
] Just an advance warning: it's currently not possible for widgets/plugins to modify the annotation context. That will require a small bit of additional plumbing in the If it's urgent, you'd need to patch the context yourself for the time being, e.g. by modifying the annotation object in the |
Yes, the "@context": [
"http://www.w3.org/ns/anno.jsonld",
"https://geojson.org/geojson-ld/geojson-context.jsonld"
] The values in the It's not urgent in my case. If this needs to be modified in the Thank you very much for your great work in developing these |
That's now implemented in the main branch of This will go live with the next releases of Annotorious, Annotorious OpenSeadragon and RecogitoJS. |
An example of an annotation in JSON-LD:
Serialized to RDF/Turtle (through the nquads of the JSON-LD Playground):
Problem: The specific geo contents of the body are missing, because these properties are not defined in the open annotation context.
The solution is to integrate (parts of) the JSON-LD context (https://geojson.org/geojson-ld/) in the
@context
of the annotation serialization. Then we can store all of this information in valid RDF.The text was updated successfully, but these errors were encountered: