Raise validation error if cannot parse input RDF