mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-25 10:30:04 +00:00
57 lines
1.4 KiB
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
|
|
}
|
|
}
|
|
}
|