prefix : select ?X ?Y from where {{?X a :ChildlessA} union {?Y a :ParentA}}