Bug Fixes in KDE Base
QueryTests: Fix the File Tests
The tests exposed a bug in virtuoso, which made it return incorrect
results when querying for the type of resources, with inferencing
enabeled. Therefore, we are now querying for the nie:url.
This commit may be reverted when virtuoso has been fixed.