You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @rdfList annotation should produce JSON arrays in JSON mode but nested objects (with the usual first/rest properties) in RON (RDF Object Notation) mode.
A goal is to make it possible to expose the intermediate list nodes. This means that at least internally the pattern ?rdf:rest* ?inter . ?iter rdf:first ?item needs to be constructed. Ideally, it would also be possible to provide a pattern and designate one variable as the intermediate one.
So what needs to be clarified is the interaction between @pattern and @rdfList.
Rough ideas:
Have pattern point to the variable which carries the list, then use @rdfList on that variable.
The
@rdfList
annotation should produce JSON arrays in JSON mode but nested objects (with the usual first/rest properties) in RON (RDF Object Notation) mode.A goal is to make it possible to expose the intermediate list nodes. This means that at least internally the pattern
?rdf:rest* ?inter . ?iter rdf:first ?item
needs to be constructed. Ideally, it would also be possible to provide a pattern and designate one variable as the intermediate one.So what needs to be clarified is the interaction between
@pattern
and@rdfList
.Rough ideas:
@rdfList
on that variable.Generated pattern would be:
@rdfList
to declare the intermediate variable.The text was updated successfully, but these errors were encountered: