Has activity
Relates a GitHub repository to its activity events.
ApplicationsObject property
Domain and range​
- Domain
- GitHub Repository
Examples​
- A repository has activity events like pushes and merges.
Turtle
@prefix ex: <https://example.org/> .
ex:githubRepository1 a <http://ontology.naas.ai/abi/github/Repository> . # GitHub Repository
ex:githubRepositoryActivity1 a <http://ontology.naas.ai/abi/github/RepositoryActivity> . # GitHub Repository Activity
ex:githubRepository1 <http://ontology.naas.ai/abi/github/hasActivity> ex:githubRepositoryActivity1 . # has activity
SPARQL
# Pairs linked by "has activity"
SELECT ?subject ?object WHERE {
?subject <http://ontology.naas.ai/abi/github/hasActivity> ?object .
}
LIMIT 100