Documentation
¶
Overview ¶
Package examples provides reference vocabulary implementations. These are NOT part of the core framework - they demonstrate how applications should define domain-specific vocabularies and register predicates.
Applications should create similar packages in their own codebases.
Index ¶
Constants ¶
const ( // RoboticsCommunicationCallsign - radio call sign for ATC RoboticsCommunicationCallsign = "robotics.communication.callsign" // RoboticsIdentifierSerial - manufacturer serial number RoboticsIdentifierSerial = "robotics.identifier.serial" // RoboticsIdentifierRegistration - FAA or regulatory registration RoboticsIdentifierRegistration = "robotics.identifier.registration" )
Example robotics domain predicates. Shows how domain-specific applications would define their vocabulary.
const ( // SemanticIdentityAlias - alternative entity identifier (owl:sameAs) SemanticIdentityAlias = "semantic.identity.alias" // SemanticIdentityUUID - universally unique identifier SemanticIdentityUUID = "semantic.identity.uuid" // SemanticLabelPreferred - preferred human-readable name (skos:prefLabel) SemanticLabelPreferred = "semantic.label.preferred" // SemanticLabelAlternate - alternative display name SemanticLabelAlternate = "semantic.label.alternate" )
Example semantic domain predicates for identity and labeling. In a real application, this would be in your application's vocabulary package.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoboticsVocabulary ¶
func RegisterRoboticsVocabulary()
RegisterRoboticsVocabulary registers example robotics domain predicates.
func RegisterSemanticVocabulary ¶
func RegisterSemanticVocabulary()
RegisterSemanticVocabulary registers example semantic domain predicates. Applications would call this from their init() functions or during startup.
Types ¶
This section is empty.