From page Wikidata:WikiProject_Railways/Property_Statistics, P127, with Q8646 as P17.

All items with the property set All items without the property set