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
optional and union were already in the code. currently they work as follows:
letpattern1=newGraphPattern(triple1),pattern2=newGraphPattern([triple1,triple2],false,true),// second option sets UNION flaggroup=newGroupGraphPattern([pattern1,pattern2]);
and
letpattern1=newGraphPattern(triple1),pattern2=newGraphPattern([triple1,triple2],true,false),// first option sets OPTIONAL flaggroup=newGroupGraphPattern([pattern1,pattern2]);
not sure if this is the best way to represent it and i don't like the options in the constructor that much. i might update it to work like this:
subqueries are now also included. you can just add a query as an element to a graph pattern. the endpoint can be null for this subquery (it is ignored so set it to whatever you want). prefixes and base are skipped when converting the subquery to string.
Here's some more features from the SQARQL spec that might be implemented:
The text was updated successfully, but these errors were encountered: