<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def transformArray(data, keysToSplit=[]):
 """ Transform a SPARQL json array based on the rules of transform """

    transformed = [ ]
    for item in data:
        transformed.append(transform(item, keysToSplit))
    return transformed