Skip to content

BUG: robot template with class expressions duplicates classes as datatypes #1203

@daniwelter

Description

@daniwelter

From the ROBOT Slack channel:

I'm having a weird issue with robot template since the last release. It's probably user error but since I upgraded to v1.9.6, any classes used in class expressions become duplicated as datatypes. This is an extract from my template file:

ID	Type	Label	Parent
ID	TYPE	A rdfs:label	SC %
AfPO:0000277	class	Western African	HANCESTRO:0010
AfPO:0000410	class	Adele	(RO:0000086 some HANCESTRO:0599)
AfPO:0000325	class	Afrikaner	(RO:0000086 some HANCESTRO:0599)

HANCESTRO:0010 turns out fine but HANCESTRO:0599 is now both a class and a datatype. I've tried various permutations, e.g. having a column header of

Ethicity Descriptor
SC RO:0000086 some %

and then just HANCESTRO:0599 in the cell, but the outcome is the same. I also double-checked some components that have been around for a while, and the problem occurs for these as well when it hasn't before (comparing with the current release version from April 2024).

As per @jamesaoverton's suggestion, I then replaced RO:0000086 with 'has quality' (and the same for any other object properties in my templates) and this fixed the issue.

Problem replicated in release v1.9.6, 1.9.5 and 1.9.4. Last successful version uncertain but may have been 1.9.2 or 1.9.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions