Closed fredsonaguiar closed 3 years ago
In 2d7e15c39967680e85249f133f548ca31accd0ed we apply this script. We got the outputs:
python3 pyownpt/cli/property_synset_id.py openWordnet-PT/own-files/own-en-synsets.ttl -o own-en-synsets.ttl -v
INFO:root:loading data from file 'openWordnet-PT/own-files/own-en-synsets.ttl'
INFO:ownpt:start formatting property synsetId
INFO:ownpt:action applied to 117659 cases
total: 235318 triples added
total: 117659 triples removed
INFO:root:serializing output to 'own-en-synsets.ttl'
python3 pyownpt/cli/property_synset_id.py openWordnet-PT/own-files/own-pt-synsets.ttl-o own-pt-synnsets.ttl -v
INFO:root:loading data from file 'openWordnet-PT/own-files/own-pt-synsets.ttl'
INFO:ownpt:start formatting property synsetId
INFO:ownpt:action applied to 117659 cases
total: 235318 triples added
total: 117659 triples removed
INFO:root:serializing output to 'own-pt-synnsets.ttl'
The property
synsetId
has being used to describe thesynset_offset
from https://wordnet.princeton.edu/documentation/wndb5wn, wich isn't unique among synsets of different types (preciselly, different POS). We should replace this information bywn30:offset
, and instantiate the uniquewn30:synsetId
as described.For instance, the triple
should be expanded into