datahub/datahub-web-react/src/graphql/glossaryTerm.graphql

57 lines
1.4 KiB
GraphQL

query getGlossaryTerm($urn: String!, $start: Int, $count: Int) {
glossaryTerm(urn: $urn) {
urn
type
name
hierarchicalName
isRelatedTerms: relationships(input: { types: ["IsA"], direction: OUTGOING, start: $start, count: $count }) {
start
count
total
relationships {
entity {
... on GlossaryTerm {
urn
}
}
}
}
hasRelatedTerms: relationships(input: { types: ["HasA"], direction: OUTGOING, start: $start, count: $count }) {
start
count
total
relationships {
entity {
... on GlossaryTerm {
urn
}
}
}
}
ownership {
...ownershipFields
}
institutionalMemory {
...institutionalMemoryFields
}
properties {
name
description
termSource
sourceRef
sourceUrl
rawSchema
customProperties {
key
value
}
}
schemaMetadata(version: 0) {
...schemaMetadataFields
}
deprecation {
...deprecationFields
}
}
}