Skip to content

Confusing disparity between names in data model and vocabulary #438

@gklyne

Description

@gklyne

I've just been burned by a disparity between names used in the data model document and the vocabulary document - it just hadn't occurred to me that they might be different, though looking at the published JSON-LD context they clearly are. E.g. the data model document uses "target" and "body", where the vocabulary context maps these to "hasBody" and "hasTarget".

It's clearly too late to change this now, but I think it might help to draw attention to this difference in http://www.w3.org/TR/annotation-model/#serialization-of-the-model, http://www.w3.org/TR/annotation-vocab/#diagrams-and-examples and http://www.w3.org/TR/annotation-vocab/#json-ld-context

For context here, I am using annotation vocabulary terms in JSON-LD, along with a number of other vocabularies, as part of wider linked data information models. (All terms used are namespace-qualified, so it doesn't conform to the JSON-LD examples.) In this context, I find the divergence between the JSON-LD nomenclature suggested and the RDF vocabulary terms to be pretty confusing.

I'm also wondering at the context given in http://www.w3.org/TR/annotation-vocab/#json-ld-context being non-normative. This seems to suggest that the suggested JSON representation (using "body", "target", etc.) is non-normative, but that seems to go against recommendations elsewhere in the specifications - e.g. "The examples throughout the document are serialized as [JSON-LD] using the Context given in Appendix A of the Annotation Vocabulary [annotation-vocab], which is the preferred serialization format" -- http://www.w3.org/TR/annotation-model/#serialization-of-the-model

I also just noticed the link in "declarations given in Appendix A. " (section 1.2 vocabulary doc) is incorrect - links to the namespaces section not Appendix A.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions