Has pull request
Relates a GitHub repository to its pull requests.
ApplicationsObject property
Domain and range​
- Domain
- GitHub Repository
- Range
- GitHub Pull Request
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