-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show rdfs:label as a name of node when present #536
Comments
Strictly speaking, the (not OWL) model that Noctua operates with deals with objects like: "id": "gomodel:5798651000000002/5798651000000009",
"type": [
{
"type": "class",
"id": "UBERON:0001723",
"label": "tongue"
} What we would need to affect this would be a change in Minerva that used ...or is the idea here that if an individual had a |
My idea is the latter. Where the rdfs:label annotation was present, it would be shown in addition (not overriding but perhaps at the top) to the list of types. This would stop me from needing to create owl classes strictly for the purpose of showing a label as I am doing now. Could mean a change to minerva to add the individual labels to the json it generates and then a change to logic of displaying them. Unless the UI adopts a more freeform policy for authoring these graphs, this would only impact people building models outside of the framework - but I think that could be important. |
Noting that the labels aren't making it through into the Pathway view workbench. Nodes without class assignments show up there as empty. It is working in main editor view. (testing on local installation with most recent commits to master). |
Correct, the workbenches have a different (and separate) renderer for the nodes. We can reopen to get at those a little later today maybe. |
Interesting to note that the |
See the labels there now. Wondering why they have << >> around them? But not a big deal. |
As the |
Currently, nodes rendered in the Noctua graphical editor list the names of the classes that the owl individual represented by the node is a member of. In some cases it can be useful to display nodes that don't yet have class assignments. It may also be useful to provide a specific name for a particular node apart from its list of classes. It is a widely accepted pattern in the semantic web community to render rdfs:label as a name for entities that bear that annotation.
The text was updated successfully, but these errors were encountered: