-
Notifications
You must be signed in to change notification settings - Fork 4
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
OPTIONAL support #139
Comments
in #142 we add filters for optional patterns. |
related to #202 |
In dm there's something called zooming https://dm.cynkra.com/reference/dm_zoom_to.html#ref-examples |
spq_init() %>%
spq_add(blabla) %>%
spq_filter(blabla) %>%
spq_optional({
spq_add(blop) %>%
spq_label(blop) %>%
spq_filter(blop)
})
is maybe too close to the SPARQL syntax. |
I think we could consider that for spq_label, spq_filter, spq_mutate the result is optional if the "ancestor variable" is optional. So
|
ok, I'll try that (maybe next week if not this week), let's see how far we can go with this. do you have more examples? |
@lvaudor do you have examples for when this would happen for the filtering and mutating? |
spq_label()
.spq_mutate()
/spq_filter()
.spq_add()
but alsospq_mutate()
/spq_filter()
and if so with what syntax? a call tospq_filter()
as argument?!The text was updated successfully, but these errors were encountered: