Reading collections yields extra type "owl:Thing"
cwygoda opened this issue · comments
Reading collections yields an extra type "owl:Thing" for the children and the parent entities.
The children are inserted into the main collection with subject only first (https://github.com/bergie/VIE/blob/master/src/service/RdfaService.js#L178), yielding the "owl:Thing" type and then later fully blown up when they are read themselves (https://github.com/bergie/VIE/blob/master/src/service/RdfaService.js#L188).
This for example breaks create.js' Type-based editor setup: If in the with-type example one quote is already put into the HTML file, the citation property is given the full editor instead of the simple one.
Or is it me having an great misunderstanding?
maybe related my issue 156 (Deep relations: wrong type behavior).
Both have a different behavior between initial HTML source and generated DOM by createjs in common.
Did you find a solution or workaround @arsgeografica ?
If you have the time, would be great to get some unit tests to demonstrate this. Makes fixing easier :-)