Skip to content

Commit

Permalink
(V1.0.0) FIX Incorrect parsing of quadruples from SQL-based stores;
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesalvo committed Jan 5, 2017
1 parent 254583f commit dd02098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RDFSharp/Store/RDFStoreUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit dd02098

Please sign in to comment.