Throws an error as Graph Literals cannot be cast to a decimal
IValuedNode.AsDecimal
BaseGraphLiteralNode Class | VDS.RDF Namespace