select ?X ?C ?A from from where {?X ?C . ?C ?A }