sparql how to group correctly this data
问题 First of all, I didn't make a minimum example because i think that my problem can be understood without it. Second, I didn't give you the data because i think that my problem can be solved without it. However, I'm open to give it to you if you ask. This is my query: select distinct (?x as ?likedItem) (?item as ?suggestedItem) ?similarity ?becauseOf ((?similarity * ?importance * ?levelImportance) as ?finalSimilarity) { values ?user {bo:ania} #the variable ?x is bound to the items the user