Skip to content
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

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

Open
vanuverma opened this issue Feb 24, 2023 · 0 comments

Comments

@vanuverma
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant