Construct({ ?pid ?title . ?pid ?description . ?pid ?brand . ?pid ?isPublic . ?pid ?total . ?pid ?priceMin . ?pid ?condition . ?pid ?createdAt }, Join(ToMultiSet({{(?pid, )}, {(?pid, )}, {(?pid, )}, {(?pid, )}, {(?pid, )}}), Join(Project(Extend(Extend(Extend(BGP( ?pid ^ ?oid . ?oid ?cond . ?oid ?pr), ?condition, if((?cond = 1), "New", "Used") ), ?total, count(?cond) ), ?priceMin, min(?pr) ), {?total, ?priceMin, ?condition}), LeftJoin(LeftJoin(BGP( ?pid ?title . ?pid ?description . ?pid ?brand . ?pid ?isPublic . ?pid ?createdAt), BGP( ?pid ?bulletpoint0)), BGP( ?pid ?bulletpoint1)))))