Fix _Foo/-Foo test in ParserData

_Foo or -Foo caused Call to undefined method SMWDIError::isInverse()

Change-Id: I5ba2de431cfd9c9bbdb8e54466f7b9775bfb3b49