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
# If local context is not null, it contains a key that equals prefix, and the value associated with the key that equals prefix in defined is not true, invoke the Create Term Definition algorithm, passing active context, local context, prefix as term, and defined. This will ensure that a term definition is created for prefix in active context during Context Processing.
# If local context is not null, it contains a key that equals prefix, or prefix followed by a ':', and the value associated with the key that equals prefix in defined is not true, invoke the Create Term Definition algorithm, passing active context, local context, prefix (possibly with an added ':') as term, and defined. This will ensure that a term definition is created for prefix in active context during Context Processing.
# If active context contains a term definition for prefix, return the result of concatenating the IRI mapping associated with prefix and suffix.
1002
-
result=if(td=term_definitions[prefix])
1005
+
# If active context contains a term definition for prefix followed by ':', or prefix, return the result of concatenating the IRI mapping associated with prefix and suffix.
1006
+
result=if(td=term_definitions[prefix + ':'])
1007
+
result=td.id + suffix
1008
+
elsif(td=term_definitions[prefix])
1003
1009
result=td.id + suffix
1004
1010
else
1005
1011
# (Otherwise) Return value as it is already an absolute IRI.
0 commit comments