From 0fdc42210bf5c153cb94fd89360f1ad47611bfae Mon Sep 17 00:00:00 2001 From: mdesalvo Date: Sun, 17 Mar 2019 18:27:13 +0100 Subject: [PATCH] FIX string representation of blank nodes in serialization --- RDFSharp/Query/RDFQueryUtilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RDFSharp/Query/RDFQueryUtilities.cs b/RDFSharp/Query/RDFQueryUtilities.cs index 47d553ed..764dcd86 100644 --- a/RDFSharp/Query/RDFQueryUtilities.cs +++ b/RDFSharp/Query/RDFQueryUtilities.cs @@ -230,7 +230,7 @@ internal static String PrintRDFPatternMember(RDFPatternMember patternMember, Lis #region Blank if (patternMember is RDFResource && ((RDFResource)patternMember).IsBlank) { - return patternMember.ToString(); + return patternMember.ToString().Replace("bnode:", "_:"); } #endregion