2021-08-18 07:39:24 +05:30
|
|
|
query getGlossaryTerm($urn: String!, $start: Int, $count: Int) {
|
2021-05-27 07:07:22 +05:30
|
|
|
glossaryTerm(urn: $urn) {
|
|
|
|
urn
|
|
|
|
type
|
2023-01-27 17:36:01 -05:00
|
|
|
exists
|
2021-05-27 07:07:22 +05:30
|
|
|
name
|
2021-08-06 12:01:06 +05:30
|
|
|
hierarchicalName
|
2021-09-22 17:30:15 -07:00
|
|
|
isRelatedTerms: relationships(input: { types: ["IsA"], direction: OUTGOING, start: $start, count: $count }) {
|
2021-08-18 07:39:24 +05:30
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
relationships {
|
|
|
|
entity {
|
|
|
|
... on GlossaryTerm {
|
|
|
|
urn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-22 17:30:15 -07:00
|
|
|
hasRelatedTerms: relationships(input: { types: ["HasA"], direction: OUTGOING, start: $start, count: $count }) {
|
2021-08-18 07:39:24 +05:30
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
relationships {
|
|
|
|
entity {
|
|
|
|
... on GlossaryTerm {
|
|
|
|
urn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-06 16:55:01 -04:00
|
|
|
isAChildren: relationships(input: { types: ["IsA"], direction: INCOMING, start: $start, count: $count }) {
|
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
relationships {
|
|
|
|
entity {
|
|
|
|
... on GlossaryTerm {
|
|
|
|
urn
|
|
|
|
hierarchicalName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-23 00:30:47 +03:00
|
|
|
containedBy: relationships(input: { types: ["HasA"], direction: INCOMING, start: $start, count: $count }) {
|
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
relationships {
|
|
|
|
entity {
|
|
|
|
... on GlossaryTerm {
|
|
|
|
urn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-05-30 00:26:07 -04:00
|
|
|
parentNodes {
|
|
|
|
...parentNodesFields
|
|
|
|
}
|
2021-05-27 07:07:22 +05:30
|
|
|
ownership {
|
|
|
|
...ownershipFields
|
|
|
|
}
|
2022-10-24 19:50:48 +05:30
|
|
|
domain {
|
|
|
|
...entityDomain
|
|
|
|
}
|
2022-02-16 15:01:22 -08:00
|
|
|
institutionalMemory {
|
|
|
|
...institutionalMemoryFields
|
|
|
|
}
|
|
|
|
properties {
|
|
|
|
name
|
|
|
|
description
|
2021-05-27 07:07:22 +05:30
|
|
|
termSource
|
|
|
|
sourceRef
|
|
|
|
sourceUrl
|
2021-08-20 00:55:14 +05:30
|
|
|
rawSchema
|
2021-05-27 07:07:22 +05:30
|
|
|
customProperties {
|
|
|
|
key
|
|
|
|
value
|
|
|
|
}
|
|
|
|
}
|
2022-02-16 15:01:22 -08:00
|
|
|
schemaMetadata(version: 0) {
|
2022-02-01 00:51:06 +05:30
|
|
|
...schemaMetadataFields
|
|
|
|
}
|
2022-04-07 19:17:24 -07:00
|
|
|
deprecation {
|
|
|
|
...deprecationFields
|
|
|
|
}
|
2022-11-03 16:06:40 -04:00
|
|
|
privileges {
|
|
|
|
canManageEntity
|
|
|
|
}
|
2021-05-27 07:07:22 +05:30
|
|
|
}
|
|
|
|
}
|
2022-05-30 00:26:07 -04:00
|
|
|
|
|
|
|
mutation createGlossaryTerm($input: CreateGlossaryEntityInput!) {
|
|
|
|
createGlossaryTerm(input: $input)
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation createGlossaryNode($input: CreateGlossaryEntityInput!) {
|
|
|
|
createGlossaryNode(input: $input)
|
|
|
|
}
|
2022-06-08 10:50:29 -04:00
|
|
|
|
|
|
|
mutation addRelatedTerms($input: RelatedTermsInput!) {
|
|
|
|
addRelatedTerms(input: $input)
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation removeRelatedTerms($input: RelatedTermsInput!) {
|
|
|
|
removeRelatedTerms(input: $input)
|
|
|
|
}
|