fixing misused RuntimeError in AF::Rdf::Resource
Merge pull request #389 from no-reply/master

fixing misused RuntimeError in AF::Rdf::Resource