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