Description
Return literal label equality and equality of both label and scope; serialize firstScope and firstLabel for scopedFirstKey.
RDF literals distinguish lexical spelling, datatype identifiers, language tags, and local blank-node scope. A token-shape check covers only part of RDF term validity.
Return literal label equality and equality of both label and scope; serialize firstScope and firstLabel for scopedFirstKey.
When to use this tool
Use RDF Blank Node Local Scope Guard when you need one explicit RDF term or scope consistency check.
How to use the tool and how it works
- Enter firstScope, firstLabel, secondScope, secondLabel. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read sameLabel, sameScopedNode, scopedFirstKey. Inspect sameLabel, sameScopedNode before interpreting the associated values.
Require nonempty scopes and the implemented ASCII blank-node label shape. Return literal label equality and equality of both label and scope; serialize firstScope and firstLabel for scopedFirstKey.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstScope | First Scope | Required. Text; maximum UTF-16 length 8192. |
| firstLabel | First Label | Required. Text; maximum UTF-16 length 8192. |
| secondScope | Second Scope | Required. Text; maximum UTF-16 length 8192. |
| secondLabel | Second Label | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| sameLabel | Same Label | Required. Boolean. |
| sameScopedNode | Same Scoped Node | Required. Boolean. |
| scopedFirstKey | Scoped First Key | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"firstScope": "graph-A",
"firstLabel": "_:b1",
"secondScope": "graph-B",
"secondLabel": "_:b1"
},
"output": {
"sameLabel": true,
"sameScopedNode": false,
"scopedFirstKey": "[\"graph-A\",\"_:b1\"]"
}
} Limitations and assumptions
- Blank-node labels are local to a scope; this does not infer cross-document identity, perform graph isomorphism, or accept every legal RDF label spelling.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use a conforming RDF parser and the relevant datatype and language-tag rules for complete graph validation.
References
Similar or alternative tools
- Public Term Source Namespace
Serialize source, languageLabel, and term as qualifiedKey without modifying their strings.
- SKOS Notation Datatype Literal Pair
Serialize notation and datatypeIri as typedIdentity.