Skip to content

How to use specific value inside a frame to filter out credentials those do not contain that value #147

@vanuverma

Description

@vanuverma

This is more of a question instead of an issue.

I was reading the doc here https://www.w3.org/TR/json-ld11-framing/#matching-on-values. In this section, the Frame "location": {"@value": {}, "@language": "el-Latn"}, was used to match the language from the following section
"location": [ {"@value": "Athens", "@language": "en"}, {"@value": "Αθήνα", "@language": "grc"}, {"@value": "Athína", "@language": "el-Latn"} ],

I was wondering if it is possible to define the frame like this "location": {"@value": "Athens", "@language": {}}, and whether it would return "location": {"@value": "Athens", "@language": "en"}, from the above location array.

And if I use a frame like this "location": {"@value": "Sydney", "@language": {}},, then it WILL NOT return anything from the above location array (something similar to a db query where we don't return the records those do not match the filter criteria)

Is my understanding correct? Can someone please advise on 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