Skip to content

Come up with a way to reference the multiple objects for a predicate in the metadata graph #190

@sonofmun

Description

@sonofmun

When there are multiple values/objects for a single key/predicate in the metadata graph that all share the same xml:lang attribute, there is no way to differentiate them. This could be important for the language, where there might be a primary and secondary (etc.) languages, or with authors or editors, etc. One possible way to handle this would be to have the metadata graph ingest other attributes from the structured-metadata elements than just the language. That would allow the user to decide what attribute they want to use to differentiate the different triples from each other (e.g., @n or @type or @xml:id) and then to query for them when they want to return them from the graph, e.g., "get me language[@n='primary']". I am not sure whether the elements in, e.g., Dublin Core, can take attributes but, if so, this would, I think, be the best and the most generalizable way to deal with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions