Skip to main content

Has pull request

Relates a GitHub repository to its pull requests.

ApplicationsObject property
IRI
http://ontology.naas.ai/abi/github/hasPullRequest
Module
github · Applications

Domain and range​

Examples​

  • A repository has pull requests for code review and merging.
Turtle
@prefix ex: <https://example.org/> .

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

ex:githubRepository1 <http://ontology.naas.ai/abi/github/hasPullRequest> ex:githubPullRequest1 . # has pull request
SPARQL

# Pairs linked by "has pull request"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/abi/github/hasPullRequest> ?object .
}
LIMIT 100