Skip to main content

Head Branch

The source branch of the GitHub pull request.

ApplicationsDatatype property
IRI
http://ontology.naas.ai/abi/github/headBranch
Module
github · Applications

Domain and range​

Domain
GitHub Pull Request
Range
xsd:string

Examples​

  • The head branch is 'feature/new-login'.
Turtle
@prefix ex: <https://example.org/> .

ex:githubPullRequest1 a <http://ontology.naas.ai/abi/github/PullRequest> . # GitHub Pull Request

ex:githubPullRequest1 <http://ontology.naas.ai/abi/github/headBranch> "Example" . # Head Branch
SPARQL

# Pairs linked by "Head Branch"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/abi/github/headBranch> ?object .
}
LIMIT 100