rdfjs / N3.js

Lightning fast, spec-compatible, streaming RDF for JavaScript
http://rdf.js.org/N3.js/
Other
676 stars 127 forks source link

list parsing issue #342

Open giacomociti opened 1 year ago

giacomociti commented 1 year ago

a list containing a graph apparently is ignored:

import { Parser } from 'n3'
const parser = new Parser({ format: 'text/n3' })
console.log(parser.parse('<s> <p> ({<a> <b> <c>}) .'))
jeswr commented 1 year ago

I'll try and sneak a fix into https://github.com/rdfjs/N3.js/pull/341 since I've been fighting with other list related issues there already (in particular parsing of N3 paths within lists).