-
Notifications
You must be signed in to change notification settings - Fork 16
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 specify an id when no block is defined? #31
Comments
Something like this should work:
If it doesn't, then that should definitely become a feature :-) |
If I try that then I get |
And does the double-quoted version work? |
In that case, no error is thrown, but no results are returned. |
I tried something this scenario but instead of passing the id parameter on the query, I defined it in the {
"@context": { "param": "http://example.org/john" }
}
----------------------------------------------------------------------
{
id(_:param)
name
} |
Right, I forgot about that even. This makes In any case, the |
Assume you have the following query
how do you select only the entities with id
http://example.com/john
?When setting a block-scoped id there is like a "parent" where you can set the id (
hero
in the example of the link), but what do you need to do if you don't have that?The text was updated successfully, but these errors were encountered: