Distinct(Project(Filter(isLiteral(?c) , BGP( ?a ?b ?c)), {?b}))