Distinct(Project(Filter((?cat = ?show) && ((?precio) <= 250), Join(Project(Union(BGP( ?show ?y ), BGP( ?x ?y . ?show ?y ?x)), {?show}), BGP( ?x . ?boletos ?precio . ?x ?boletos . ?x ?cat . ?x ?titulo))), {?titulo}))