mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-29 04:20:00 +00:00
46 lines
1.1 KiB
GraphQL
46 lines
1.1 KiB
GraphQL
query getGlossaryTerm($urn: String!, $start: Int, $count: Int) {
|
|
glossaryTerm(urn: $urn) {
|
|
urn
|
|
type
|
|
name
|
|
hierarchicalName
|
|
isRealtedTerms: relationships(types: ["IsA"], direction: OUTGOING, start: $start, count: $count) {
|
|
start
|
|
count
|
|
total
|
|
relationships {
|
|
entity {
|
|
... on GlossaryTerm {
|
|
urn
|
|
}
|
|
}
|
|
}
|
|
}
|
|
hasRealtedTerms: relationships(types: ["HasA"], direction: OUTGOING, start: $start, count: $count) {
|
|
start
|
|
count
|
|
total
|
|
relationships {
|
|
entity {
|
|
... on GlossaryTerm {
|
|
urn
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
glossaryTermInfo {
|
|
definition
|
|
termSource
|
|
sourceRef
|
|
sourceUrl
|
|
customProperties {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|