function traverseList(quads, currentURI, elements) {
	elements.push(getObjectValue(quads, currentURI, RDF.first));
	let nextURI = getObjectValue(quads, currentURI, RDF.rest);
	if (nextURI && nextURI !== RDF.nil) {
		traverseList(quads, nextURI, elements);
	}
}
// Goes through a RDF list, updating elements[] with URIs of each list element (blank node)
Goes through a RDF list, updating elements[] with URIs of each list element (blank node)
Goes through a RDF list updating elements [] with URIs of each list element ( blank node )
function traverseList(quads, currentURI, elements) {
	elements.push(getObjectValue(quads, currentURI, RDF.first));
	let nextURI = getObjectValue(quads, currentURI, RDF.rest);
	if (nextURI && nextURI !== RDF.nil) {
		traverseList(quads, nextURI, elements);
	}
}
function traverseList ( quads , currentURI , elements ) { elements . push ( getObjectValue ( quads , currentURI , RDF . first ) ) ; let nextURI = getObjectValue ( quads , currentURI , RDF . rest ) ; if ( nextURI && nextURI !== RDF . nil ) { traverseList ( quads , nextURI , elements ) ; } }
Goes through a RDF list, updating elements[] with URIs of each list element (blank node)
Goes through a RDF list updating elements [] with URIs of each list element ( blank node )