In Notation3, a predicate can be any expression, including a list — but the parser only accepts lists in the subject and object positions:
(<b> <c>) <a> <d>. # parses
<a> <b> (<c> <d>). # parses
<a> (<b> <c>) <d>. # Expected entity but got ( on line 1
(verified on n3@2.1.0 with format: 'text/n3')
This was implemented on the superseded versions/2.0.0 branch in #345 (a ( case in _readPredicate, gated on N3 mode) but never made it to main — see the #341 close-out. It should be re-implemented against current main as a small focused PR, and validated against the W3C N3 test suite once #331 lands.
Related N3-mode list fixes in flight: #342/#357 (graph terms in lists, #617) and #328 (literal subjects/predicates, #613).
In Notation3, a predicate can be any expression, including a list — but the parser only accepts lists in the subject and object positions:
(verified on n3@2.1.0 with
format: 'text/n3')This was implemented on the superseded
versions/2.0.0branch in #345 (a(case in_readPredicate, gated on N3 mode) but never made it tomain— see the #341 close-out. It should be re-implemented against currentmainas a small focused PR, and validated against the W3C N3 test suite once #331 lands.Related N3-mode list fixes in flight: #342/#357 (graph terms in lists, #617) and #328 (literal subjects/predicates, #613).