hgeorgsch / armchar-swish

ArM character server implementation using Haskell and Swish
GNU General Public License v3.0
0 stars 1 forks source link

Inheritance overwrites hasLabel #8

Closed hgeorgsch closed 2 years ago

hgeorgsch commented 2 years ago

The instance belong to many classes, and several of them can define the hasLabel property. Which one wins when an instance is output in JSON cannot be predicted.

hgeorgsch commented 2 years ago

Fixed by using arm:traitClass instead of rdf:type in the rule.