Fixed all SPARQL test errors except for custom property.