GitHub Extension Ontology 1.0

Repolex extension types and properties for GitHub data. Defines gh-x:Item superclass and convenience properties not found in the upstream GitHub OpenAPI spec.

34 triples · Download .ttl · 1 classes · 2 object properties · 3 datatype properties

Classes (1)

ClassSubclass OfDescription
gh-x:Item Abstract superclass for numbered, authored, timestamped GitHub entities (issues, pull requests, discussions). Enables cross-type queries without UNION.

Object Properties (2)

PropertyDomainRangeDescription
gh-x:headSha gh:PullRequest git:Commit Points to the git:Commit at the tip of the PR's head branch. Extracted from the GitHub API head.sha field and linked to the corresponding commit URI.
gh-x:mergeCommitSha gh:PullRequest git:Commit Points to the git:Commit created when this PR was merged. Extracted from the GitHub API merge_commit_sha field and linked to the corresponding commit URI.

Datatype Properties (3)

PropertyDomainRangeDescription
gh-x:baseRef gh:PullRequest xsd:string Branch name of the PR's base (target) branch. Extracted from the GitHub API base.ref field.
gh-x:headRef gh:PullRequest xsd:string Branch name of the PR's head (source) branch. Extracted from the GitHub API head.ref field.
gh-x:totalReactions gh-x:Item xsd:integer Sum of all reaction counts on this item. Computed from the GitHub API reactions.total_count field as a convenience rollup.