SC: Extracted SPARQL query from LWM_UNPACK.