When you have many attributes in PoolParty, it's easy to accidentally duplicate them because there's no attribute search interface, just a browsing interface split into multiple pages:
However, PoolParty lets you export your entire ontology (attributes, relations, and classes) to several different formats, including RDF-JSON (.rj):
This very simple script extracts all attribute names from a PoolParty .rj file and outputs a sorted list to a plain text file. To run this script, you need Python 3 with its json and sys libraries installed.
- Export your PoolParty ontology to RDF-JSON format (.rj)
- Download
ppatt.py
to the same folder - Open your terminal in the same folder, and enter the command:
$ python3 ppatt.py your_filename.rj
If successful, the attributes will be output to ppatt_out.txt
and the total number of attributes extracted will print to the terminal; check this total against your PoolParty ontology stats.