Skip to main content

Has activity

Relates a GitHub repository to its activity events.

ApplicationsObject property
IRI
http://ontology.naas.ai/abi/github/hasActivity
Inverse of
is activity of
Module
github · Applications

Domain and range​

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