func (n NQuad) WithFacet(key string, value interface{}) NQuad {
	f := n.Facets
	if f == nil {
		f = map[string]interface{}{}
	}
	f[key] = value
	return NQuad{
		Subject:     n.Subject,
		Predicate:   n.Predicate,
		Object:      n.Object,
		StorageType: n.StorageType,
		Facets:      f,
	}
}
// WithFacet returns a copy with an additional facet (key=value).
WithFacet returns a copy with an additional facet (key=value).
// WithFacet returns a copy with an additional facet ( key = value ) .
func (n NQuad) WithFacet(key string, value interface{}) NQuad {
	f := n.Facets
	if f == nil {
		f = map[string]interface{}{}
	}
	f[key] = value
	return NQuad{
		Subject:     n.Subject,
		Predicate:   n.Predicate,
		Object:      n.Object,
		StorageType: n.StorageType,
		Facets:      f,
	}
}
func ( n NQuad ) WithFacet ( key string , value interface { } ) NQuad { f := n . Facets if f == nil { f = map [ string ] interface { } { } } f [ key ] = value return NQuad { Subject : n . Subject , Predicate : n . Predicate , Object : n . Object , StorageType : n . StorageType , Facets : f , } }
WithFacet returns a copy with an additional facet (key=value).
WithFacet returns a copy with an additional facet ( key = value ) .