porting fixing prov-sql
porting prov-sql to new attributes