Ignore rdfs:Resource in range.