diff options
author | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2017-02-15 12:12:13 +0100 |
---|---|---|
committer | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2017-02-15 14:08:40 +0100 |
commit | b12f72811ef9501ebabe832d197b6215170e0c70 (patch) | |
tree | f88e047e07d501e2f738dd433d92725918988d6a | |
parent | a412a5bedd3d7278e9b3225f39b64cbdb3eb6de3 (diff) | |
download | rdflib-b12f72811ef9501ebabe832d197b6215170e0c70.tar.gz |
SPARQL Parser: allow ObjectListPath for repeat properties
https://www.w3.org/2013/sparql-errata#errata-query-3
-rw-r--r-- | rdflib/plugins/sparql/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdflib/plugins/sparql/parser.py b/rdflib/plugins/sparql/parser.py index 6c56b72d..a8a4426b 100644 --- a/rdflib/plugins/sparql/parser.py +++ b/rdflib/plugins/sparql/parser.py @@ -498,7 +498,7 @@ ObjectList = Object + ZeroOrMore(',' + Object) # [83] PropertyListPathNotEmpty ::= ( VerbPath | VerbSimple ) ObjectListPath ( ';' ( ( VerbPath | VerbSimple ) ObjectList )? )* PropertyListPathNotEmpty = (VerbPath | VerbSimple) + ObjectListPath + ZeroOrMore( - ';' + Optional((VerbPath | VerbSimple) + ObjectList)) + ';' + Optional((VerbPath | VerbSimple) + ObjectListPath)) # [82] PropertyListPath ::= Optional(PropertyListPathNotEmpty) PropertyListPath = Optional(PropertyListPathNotEmpty) |