@prefix IAO: <http://purl.obolibrary.org/obo/IAO_> .
@prefix brew: <https://purl.org/packagegraph/ontology/homebrew#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix pkg: <https://purl.org/packagegraph/ontology/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

brew:App a owl:Class ;
    rdfs:label "macOS Application"@en ;
    IAO:0000115 "A macOS application bundle"@en ;
    rdfs:comment "A macOS application bundle"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:Binary a owl:Class ;
    rdfs:label "Binary Artifact"@en ;
    IAO:0000115 "A command-line binary installed by a cask"@en ;
    rdfs:comment "A command-line binary installed by a cask"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:BuildDependency a owl:Class ;
    rdfs:label "Build Dependency"@en ;
    IAO:0000115 "A dependency that is required only during the build process of a Homebrew formula and is not needed at runtime."@en ;
    rdfs:comment "Dependency needed only at build time"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Dependency .

brew:ColorPicker a owl:Class ;
    rdfs:label "Color Picker"@en ;
    IAO:0000115 "A color picker plugin for macOS"@en ;
    rdfs:comment "A color picker plugin for macOS"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:DictionaryDefinition a owl:Class ;
    rdfs:label "Dictionary Definition"@en ;
    IAO:0000115 "A dictionary definition file"@en ;
    rdfs:comment "A dictionary definition file"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:Font a owl:Class ;
    rdfs:label "Font"@en ;
    IAO:0000115 "A font file"@en ;
    rdfs:comment "A font file"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:InputMethod a owl:Class ;
    rdfs:label "Input Method"@en ;
    IAO:0000115 "An input method for macOS"@en ;
    rdfs:comment "An input method for macOS"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:InternetPlugin a owl:Class ;
    rdfs:label "Internet Plugin"@en ;
    IAO:0000115 "An internet browser plugin"@en ;
    rdfs:comment "An internet browser plugin"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:KeyboardLayout a owl:Class ;
    rdfs:label "Keyboard Layout"@en ;
    IAO:0000115 "A keyboard layout file"@en ;
    rdfs:comment "A keyboard layout file"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:Manpage a owl:Class ;
    rdfs:label "Manual Page"@en ;
    IAO:0000115 "A manual page file"@en ;
    rdfs:comment "A manual page file"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:OptionalDependency a owl:Class ;
    rdfs:label "Optional Dependency"@en ;
    IAO:0000115 "A dependency that provides additional features or functionality but is not required for basic operation of a Homebrew formula."@en ;
    rdfs:comment "Optional dependency that adds extra functionality"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Dependency .

brew:PreferencePane a owl:Class ;
    rdfs:label "Preference Pane"@en ;
    IAO:0000115 "A System Preferences pane"@en ;
    rdfs:comment "A System Preferences pane"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:Qlplugin a owl:Class ;
    rdfs:label "Quick Look Plugin"@en ;
    IAO:0000115 "A Quick Look plugin"@en ;
    rdfs:comment "A Quick Look plugin"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:RecommendedDependency a owl:Class ;
    rdfs:label "Recommended Dependency"@en ;
    IAO:0000115 "A dependency that was previously recommended for optimal functionality but is now deprecated in favor of other dependency types."@en ;
    rdfs:comment "Recommended dependency (deprecated)"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Dependency .

brew:RuntimeDependency a owl:Class ;
    rdfs:label "Runtime Dependency"@en ;
    IAO:0000115 "A dependency that is required for the proper execution and operation of a Homebrew formula after installation."@en ;
    rdfs:comment "Dependency needed at runtime"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Dependency .

brew:ScreenSaver a owl:Class ;
    rdfs:label "Screen Saver"@en ;
    IAO:0000115 "A screen saver"@en ;
    rdfs:comment "A screen saver"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:Suite a owl:Class ;
    rdfs:label "Application Suite"@en ;
    IAO:0000115 "A suite of applications"@en ;
    rdfs:comment "A suite of applications"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:Vst3Plugin a owl:Class ;
    rdfs:label "VST3 Plugin"@en ;
    IAO:0000115 "A VST3 audio plugin"@en ;
    rdfs:comment "A VST3 audio plugin"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:VstPlugin a owl:Class ;
    rdfs:label "VST Plugin"@en ;
    IAO:0000115 "A VST audio plugin"@en ;
    rdfs:comment "A VST audio plugin"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:Artifact .

brew:appcast a owl:DatatypeProperty ;
    rdfs:label "appcast"@en ;
    IAO:0000115 "URL for checking updates"@en ;
    rdfs:comment "URL for checking updates"@en ;
    rdfs:domain brew:Cask ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:anyURI .

brew:autoUpdates a owl:DatatypeProperty ;
    rdfs:label "auto updates"@en ;
    IAO:0000115 "Whether the application auto-updates"@en ;
    rdfs:comment "Whether the application auto-updates"@en ;
    rdfs:domain brew:Cask ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:boolean .

brew:branch a owl:DatatypeProperty ;
    rdfs:label "Git branch"@en ;
    IAO:0000115 "The Git branch to use for HEAD builds"@en ;
    rdfs:comment "The Git branch to use for HEAD builds"@en ;
    rdfs:domain brew:HeadSpec ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:buildDepends a owl:ObjectProperty ;
    rdfs:label "build depends"@en ;
    IAO:0000115 "Build-time dependency"@en ;
    rdfs:comment "Build-time dependency"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subPropertyOf brew:hasDependency .

brew:dependencyType a owl:DatatypeProperty ;
    rdfs:label "dependency type"@en ;
    IAO:0000115 "DEPRECATED: The type of dependency. Use pkg:dependencyType (ObjectProperty with property URI values) instead for properties-as-taxonomy pattern."@en ;
    rdfs:comment "DEPRECATED: String-based dependency type. Use pkg:dependencyType with property URIs."@en ;
    rdfs:domain brew:Dependency ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string ;
    owl:deprecated true .

brew:deprecated a owl:DatatypeProperty ;
    rdfs:label "deprecated"@en ;
    IAO:0000115 "Whether the formula is deprecated"@en ;
    rdfs:comment "Whether the formula is deprecated"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:boolean .

brew:deprecationDate a owl:DatatypeProperty ;
    rdfs:label "deprecation date"@en ;
    IAO:0000115 "The date when the formula was deprecated"@en ;
    rdfs:comment "The date when the formula was deprecated"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:date .

brew:deprecationReason a owl:DatatypeProperty ;
    rdfs:label "deprecation reason"@en ;
    IAO:0000115 "The reason for deprecation"@en ;
    rdfs:comment "The reason for deprecation"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:disableDate a owl:DatatypeProperty ;
    rdfs:label "disable date"@en ;
    IAO:0000115 "The date when the formula was disabled"@en ;
    rdfs:comment "The date when the formula was disabled"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:date .

brew:disableReason a owl:DatatypeProperty ;
    rdfs:label "disable reason"@en ;
    IAO:0000115 "The reason for disabling"@en ;
    rdfs:comment "The reason for disabling"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:disabled a owl:DatatypeProperty ;
    rdfs:label "disabled"@en ;
    IAO:0000115 "Whether the formula is disabled"@en ;
    rdfs:comment "Whether the formula is disabled"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:boolean .

brew:hasArtifact a owl:ObjectProperty ;
    rdfs:label "has artifact"@en ;
    IAO:0000115 "Links a cask to its artifacts"@en ;
    rdfs:comment "Links a cask to its artifacts"@en ;
    rdfs:domain brew:Cask ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Artifact .

brew:hasBottle a owl:ObjectProperty ;
    rdfs:label "has bottle"@en ;
    IAO:0000115 "Links a formula to its bottles"@en ;
    rdfs:comment "Links a formula to its bottles"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Bottle .

brew:hasOption a owl:ObjectProperty ;
    rdfs:label "has option"@en ;
    IAO:0000115 "Links a formula to its build options"@en ;
    rdfs:comment "Links a formula to its build options"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Option .

brew:hasPatch a owl:ObjectProperty ;
    rdfs:label "has patch"@en ;
    IAO:0000115 "Links a formula to its patches"@en ;
    rdfs:comment "Links a formula to its patches"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Patch .

brew:hasResource a owl:ObjectProperty ;
    rdfs:label "has resource"@en ;
    IAO:0000115 "Links a formula to its resources"@en ;
    rdfs:comment "Links a formula to its resources"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Resource .

brew:hasService a owl:ObjectProperty ;
    rdfs:label "has service"@en ;
    IAO:0000115 "Links a formula to its service definition"@en ;
    rdfs:comment "Links a formula to its service definition"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Service .

brew:hasTest a owl:ObjectProperty ;
    rdfs:label "has test"@en ;
    IAO:0000115 "Links a formula to its test definition"@en ;
    rdfs:comment "Links a formula to its test definition"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Test .

brew:homebrew-cask a brew:Tap ;
    rdfs:label "homebrew/cask"@en ;
    rdfs:comment "The main Homebrew cask tap for macOS applications"@en ;
    foaf:homepage <https://github.com/Homebrew/homebrew-cask> .

brew:homebrew-cask-fonts a brew:Tap ;
    rdfs:label "homebrew/cask-fonts"@en ;
    rdfs:comment "Homebrew cask tap for fonts"@en ;
    foaf:homepage <https://github.com/Homebrew/homebrew-cask-fonts> .

brew:homebrew-core a brew:Tap ;
    rdfs:label "homebrew/core"@en ;
    rdfs:comment "The main Homebrew tap containing core formulae"@en ;
    foaf:homepage <https://github.com/Homebrew/homebrew-core> .

brew:inTap a owl:ObjectProperty ;
    rdfs:label "in tap"@en ;
    IAO:0000115 "Links a formula or cask to its tap"@en ;
    rdfs:comment "Links a formula or cask to its tap"@en ;
    rdfs:domain owl:Thing ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Tap .

brew:kegOnly a owl:DatatypeProperty ;
    rdfs:label "keg only"@en ;
    IAO:0000115 "Whether the formula is keg-only (not linked)"@en ;
    rdfs:comment "Whether the formula is keg-only (not linked)"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:boolean .

brew:license a owl:ObjectProperty ;
    rdfs:label "license"@en ;
    IAO:0000115 "The software license"@en ;
    rdfs:comment "The software license"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range pkg:License ;
    rdfs:subPropertyOf pkg:hasLicense .

brew:mirror a owl:DatatypeProperty ;
    rdfs:label "mirror URL"@en ;
    IAO:0000115 "A mirror URL for the source"@en ;
    rdfs:comment "A mirror URL for the source"@en ;
    rdfs:domain brew:SoftwareSpec ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:anyURI .

brew:nameStanza a owl:DatatypeProperty ;
    rdfs:label "name stanza"@en ;
    IAO:0000115 "The human-readable name of the application"@en ;
    rdfs:comment "The human-readable name of the application"@en ;
    rdfs:domain brew:Cask ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:optionalDepends a owl:ObjectProperty ;
    rdfs:label "optional depends"@en ;
    IAO:0000115 "Optional dependency"@en ;
    rdfs:comment "Optional dependency"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subPropertyOf brew:hasDependency .

brew:recommendedDepends a owl:ObjectProperty ;
    rdfs:label "recommended depends"@en ;
    IAO:0000115 "Recommended dependency"@en ;
    rdfs:comment "Recommended dependency"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subPropertyOf brew:hasDependency .

brew:runtimeDepends a owl:ObjectProperty ;
    rdfs:label "runtime depends"@en ;
    IAO:0000115 "Runtime dependency"@en ;
    rdfs:comment "Runtime dependency"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subPropertyOf brew:hasDependency .

brew:sha256 a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "SHA256 checksum"@en ;
    IAO:0000115 "The SHA256 checksum of the source"@en ;
    rdfs:comment "The SHA256 checksum of the source"@en ;
    rdfs:domain brew:SoftwareSpec ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:tag a owl:DatatypeProperty ;
    rdfs:label "Git tag"@en ;
    IAO:0000115 "The Git tag to use"@en ;
    rdfs:comment "The Git tag to use"@en ;
    rdfs:domain brew:SoftwareSpec ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:url a owl:DatatypeProperty ;
    rdfs:label "source URL"@en ;
    IAO:0000115 "The URL to download the source"@en ;
    rdfs:comment "The URL to download the source"@en ;
    rdfs:domain brew:SoftwareSpec ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:anyURI .

brew:usingSubmodules a owl:DatatypeProperty ;
    rdfs:label "using submodules"@en ;
    IAO:0000115 "Whether to initialize Git submodules"@en ;
    rdfs:comment "Whether to initialize Git submodules"@en ;
    rdfs:domain brew:SoftwareSpec ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:boolean .

brew:versionScheme a owl:DatatypeProperty ;
    rdfs:label "version scheme"@en ;
    IAO:0000115 "The version numbering scheme"@en ;
    rdfs:comment "The version numbering scheme"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:int .

brew:Bottle a owl:Class ;
    rdfs:label "Homebrew Bottle"@en ;
    IAO:0000115 "A pre-compiled binary package for a formula"@en ;
    rdfs:comment "A pre-compiled binary package for a formula"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:Option a owl:Class ;
    rdfs:label "Homebrew Option"@en ;
    IAO:0000115 "A build option for a formula"@en ;
    rdfs:comment "A build option for a formula"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:Patch a owl:Class ;
    rdfs:label "Homebrew Patch"@en ;
    IAO:0000115 "A patch to be applied during the build process"@en ;
    rdfs:comment "A patch to be applied during the build process"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:Resource a owl:Class ;
    rdfs:label "Homebrew Resource"@en ;
    IAO:0000115 "An additional resource needed by the formula"@en ;
    rdfs:comment "An additional resource needed by the formula"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:Service a owl:Class ;
    rdfs:label "Homebrew Service"@en ;
    IAO:0000115 "A system service definition for a formula"@en ;
    rdfs:comment "A system service definition for a formula"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:Test a owl:Class ;
    rdfs:label "Homebrew Test"@en ;
    IAO:0000115 "Test instructions for verifying the installation"@en ;
    rdfs:comment "Test instructions for verifying the installation"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:caskName a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "cask name"@en ;
    IAO:0000115 "The name of the Homebrew cask"@en ;
    rdfs:comment "The name of the Homebrew cask"@en ;
    rdfs:domain brew:Cask ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:formulaName a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "formula name"@en ;
    IAO:0000115 "The name of the Homebrew formula"@en ;
    rdfs:comment "The name of the Homebrew formula"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:hasHead a owl:ObjectProperty ;
    rdfs:label "has HEAD"@en ;
    IAO:0000115 "Links a formula to its HEAD specification"@en ;
    rdfs:comment "Links a formula to its HEAD specification"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:HeadSpec .

brew:hasStable a owl:ObjectProperty ;
    rdfs:label "has stable"@en ;
    IAO:0000115 "Links a formula to its stable specification"@en ;
    rdfs:comment "Links a formula to its stable specification"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:StableSpec .

brew:token a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "token"@en ;
    IAO:0000115 "The unique token identifying the cask"@en ;
    rdfs:comment "The unique token identifying the cask"@en ;
    rdfs:domain brew:Cask ;
    rdfs:isDefinedBy brew: ;
    rdfs:range xsd:string .

brew:StableSpec a owl:Class ;
    rdfs:label "Stable Specification"@en ;
    IAO:0000115 "Specification for the stable version of the software"@en ;
    rdfs:comment "Specification for the stable version of the software"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:SoftwareSpec .

brew:HeadSpec a owl:Class ;
    rdfs:label "HEAD Specification"@en ;
    IAO:0000115 "Specification for building from the development HEAD"@en ;
    rdfs:comment "Specification for building from the development HEAD"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf brew:SoftwareSpec .

brew:Tap a owl:Class ;
    rdfs:label "Homebrew Tap"@en ;
    IAO:0000115 "A third-party repository of Homebrew formulae and casks"@en ;
    rdfs:comment "A third-party repository of Homebrew formulae and casks"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf pkg:Repository .

brew:hasDependency a owl:ObjectProperty ;
    rdfs:label "has dependency"@en ;
    IAO:0000115 "Links a formula to its dependencies"@en ;
    rdfs:comment "Links a formula to its dependencies"@en ;
    rdfs:domain brew:Formula ;
    rdfs:isDefinedBy brew: ;
    rdfs:range brew:Dependency .

brew:Cask a owl:Class ;
    rdfs:label "Homebrew Cask"@en ;
    IAO:0000115 "A cask for installing pre-built macOS applications"@en ;
    rdfs:comment "A cask for installing pre-built macOS applications"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:cardinality 1 ;
            owl:onProperty brew:caskName ],
        [ a owl:Restriction ;
            owl:cardinality 1 ;
            owl:onProperty brew:token ],
        pkg:Package .

brew:Dependency a owl:Class ;
    rdfs:label "Homebrew Dependency"@en ;
    IAO:0000115 "A dependency relationship in Homebrew"@en ;
    rdfs:comment "A dependency relationship in Homebrew"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf pkg:Dependency .

brew:SoftwareSpec a owl:Class ;
    rdfs:label "Software Specification"@en ;
    IAO:0000115 "A specification defining how to obtain and build software"@en ;
    rdfs:comment "A specification defining how to obtain and build software"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:Artifact a owl:Class ;
    rdfs:label "Cask Artifact"@en ;
    IAO:0000115 "An artifact installed by a cask (app, binary, etc.)"@en ;
    rdfs:comment "An artifact installed by a cask (app, binary, etc.)"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf owl:Thing .

brew:Formula a owl:Class ;
    rdfs:label "Homebrew Formula"@en ;
    IAO:0000115 "A formula defining how to build and install a package with Homebrew"@en ;
    rdfs:comment "A formula defining how to build and install a package with Homebrew"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:cardinality 1 ;
            owl:onProperty brew:formulaName ],
        [ a owl:Restriction ;
            owl:onClass brew:StableSpec ;
            owl:onProperty brew:hasStable ;
            owl:qualifiedCardinality 1 ],
        [ a owl:Restriction ;
            owl:maxQualifiedCardinality 1 ;
            owl:onClass brew:HeadSpec ;
            owl:onProperty brew:hasHead ],
        pkg:Package .

brew: a owl:Ontology ;
    rdfs:label "Homebrew Package Ontology"@en ;
    dcterms:abstract "The Homebrew extension models macOS and Linuxbrew package management. It distinguishes formulae (source-built CLI tools) from casks (pre-built GUI applications), models taps (third-party repositories), bottles (pre-compiled binaries), and build specifications. Dependency types include build, test, recommended, and optional." ;
    dcterms:created "2025-09-05"^^xsd:date ;
    dcterms:creator <https://packagegraph.github.io/> ;
    dcterms:description "A comprehensive ontology for modeling Homebrew packages, formulae, casks, taps, and macOS application management including bottles, dependencies, and build specifications." ;
    dcterms:license <https://creativecommons.org/publicdomain/zero/1.0/> ;
    dcterms:modified "2026-04-21"^^xsd:date ;
    dcterms:title "Homebrew Package Ontology" ;
    rdfs:comment "Ontology for representing Homebrew packages, formulae, and taps on macOS and Linux"@en ;
    rdfs:isDefinedBy brew: ;
    rdfs:seeAlso <https://purl.org/packagegraph/ontology/homebrew/shapes> ;
    owl:imports pkg: ;
    owl:priorVersion <https://purl.org/packagegraph/ontology/homebrew/0.6.0> ;
    owl:versionIRI <https://purl.org/packagegraph/ontology/homebrew/0.7.0> ;
    owl:versionInfo "0.7.0" .

