diff --git a/RDFSharp/Store/RDFStoreUtilities.cs b/RDFSharp/Store/RDFStoreUtilities.cs index 98c40046..364d2e5f 100644 --- a/RDFSharp/Store/RDFStoreUtilities.cs +++ b/RDFSharp/Store/RDFStoreUtilities.cs @@ -40,7 +40,7 @@ internal static RDFQuadruple ParseQuadruple(IDataReader fetchedQuadruples) { RDFResource qPredicate = new RDFResource(fetchedQuadruples["Predicate"].ToString()); //SPO-flavour quadruple - if (fetchedQuadruples["TripleFlavor"].Equals(1)) { + if (fetchedQuadruples["TripleFlavor"].ToString().Equals("1")) { RDFResource qObject = new RDFResource(fetchedQuadruples["Object"].ToString()); return new RDFQuadruple(qContext, qSubject, qPredicate, qObject); }