You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not really a fan of us hijacking the rdfs:label property -- which is meant to be a human-readable name -- for the purposes of making a python-name.
Thinking of how we might do this without disturbing existing code, how about adding an annotation property like sbol:pythonIdentifier and having the sbol_factoryfirst look for a value of pythonIdentifier and falling back to rdfs:label if it can't find a pythonIdentifier?
I was just worried that existing tools might want to use rdfs:label for their purposes and wouldn't be expecting it to be used in the way we are using it.
The text was updated successfully, but these errors were encountered:
I'm not really a fan of us hijacking the
rdfs:label
property -- which is meant to be a human-readable name -- for the purposes of making a python-name.Thinking of how we might do this without disturbing existing code, how about adding an annotation property like
sbol:pythonIdentifier
and having thesbol_factory
first look for a value ofpythonIdentifier
and falling back tordfs:label
if it can't find apythonIdentifier
?I was just worried that existing tools might want to use
rdfs:label
for their purposes and wouldn't be expecting it to be used in the way we are using it.The text was updated successfully, but these errors were encountered: