prefix : prefix mon: select ?C ?X ?Y ?Z1 ?Z2 ?Z3 from where {{?C a mon:City} UNION {?X :hasProvOrCity ?Y} UNION {?Z1 a :CountryWithCity} UNION {?Z2 a :CountryWithProvince} UNION {?Z3 a :CountryWithCity2}}