mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 10:49:00 +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
 | |
|         }
 | |
|     }
 | |
| }
 | 
