pub fn extract_pattern_groups(sparql: &str) -> Result<Vec<PatternGroup>>Expand description
Extract pattern groups (required and optional) from the graph pattern.
The WHERE keyword is optional per SPARQL 1.1
(WhereClause ::= 'WHERE'? GroupGraphPattern); the group is located whether
or not the keyword is spelled.