function quadLiteral(s, p, o, type = XSD.string) {
	let obj = o || defaultLiteralValue(type);
	obj = type === XSD.anyURI ? toNode(obj) : rdf.literal(obj, type);
	return rdf.triple(toNode(s), toNode(p), obj);
}
// Generate a new quad with a literal
Generate a new quad with a literal
Generate a new quad with a literal
function quadLiteral(s, p, o, type = XSD.string) {
	let obj = o || defaultLiteralValue(type);
	obj = type === XSD.anyURI ? toNode(obj) : rdf.literal(obj, type);
	return rdf.triple(toNode(s), toNode(p), obj);
}
function quadLiteral ( s , p , o , type = XSD . string ) { let obj = o || defaultLiteralValue ( type ) ; obj = type === XSD . anyURI ? toNode ( obj ) : rdf . literal ( obj , type ) ; return rdf . triple ( toNode ( s ) , toNode ( p ) , obj ) ; }
Generate a new quad with a literal
Generate a new quad with a literal