query: SELECT ?item ?st
         {
            {?item ?property wd:Q319239.} UNION { ?item ?property2 [wdt:P361 wd:Q319239].} 
            ?item wdt:P31 wd:Q5; wikibase:statements ?st
         }
         ORDER BY ASC(?st) ?item 
         LIMIT 1000