GitHub Contributor
Represents a contributor to a GitHub repository with their contribution statistics.
ApplicationsClass
Hierarchyโ
Position of GitHub Contributor in the class hierarchy: its ancestors and direct subclasses.
- entity (BFO)
- continuant (BFO)
Propertiesโ
Declared on this classโ
| Property | Domain โ Range | Details |
|---|---|---|
| Contributions Countdatatype | Domain โ RangeGitHub Contributor to xsd:nonNegativeInteger | |
| ||
| is contributor ofobject | Domain โ RangeGitHub Contributor to GitHub Repository | |
| ||
Inherited propertiesโ
From Information Content Entity (2)
Declared on Information Content Entity.
| Property | Domain โ Range | Details |
|---|---|---|
| is about | Domain โ RangeInformation Content Entity to entity | |
| represents | Domain โ RangeInformation Content Entity to entity |
From Generically dependent continuant (6)
Declared on generically dependent continuant.
| Property | Domain โ Range | Details |
|---|---|---|
| asset url | Domain โ Rangegenerically dependent continuant to xsd:string | |
| extracted at | Domain โ Rangegenerically dependent continuant to xsd:dateTime | |
| generically depends on | Domain โ Rangegenerically dependent continuant to independent continuant and not spatial region | |
| inheres in aggregate | Domain โ Rangegenerically dependent continuant to object aggregate | |
| is concretized by | Domain โ Rangegenerically dependent continuant to process or specifically dependent continuant | |
| participates in | Domain โ Rangegenerically dependent continuant to process |
From Continuant (6)
Declared on continuant.
| Property | Domain โ Range | Details |
|---|---|---|
| continuant part of | Domain โ Rangecontinuant to continuant | |
| has continuant part | Domain โ Rangecontinuant to continuant | |
| is affected by | Domain โ Rangecontinuant to process | |
| is input of | Domain โ Rangecontinuant to process | |
| is object of | Domain โ Rangecontinuant to process | |
| is output of | Domain โ Rangecontinuant to process |
From Entity (15)
8 of 15 properties declared on entity, where all of them are listed.
| Property | Domain โ Range | Details |
|---|---|---|
| condition described by | Domain โ Rangeentity to Performance Specification | |
| data property | Domain โ Rangeentity to xsd:string | |
| described by | Domain โ Rangeentity to Descriptive Information Content Entity | |
| designated by | Domain โ Rangeentity to Designative Information Content Entity | |
| exists at | Domain โ Rangeentity to temporal region | |
| has backing data source | Domain โ Rangeentity to Data Source | |
| has nebari class | Domain โ Rangeentity to Nebari Class | |
| is measured by | Domain โ Rangeentity to Measurement Information Content Entity |
Used as the range ofโ
Examplesโ
- A contributor with username, commit count, additions, deletions, and contribution timeline.
Turtle
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .
ex:githubContributor1 a <http://ontology.naas.ai/abi/github/Contributor> ; # GitHub Contributor
rdfs:label "Example GitHub Contributor" ;
<http://ontology.naas.ai/abi/github/contributions> 1 ; # Contributions Count
<http://ontology.naas.ai/abi/github/isContributorOf> ex:githubRepository1 . # is contributor of
ex:githubRepository1 a <http://ontology.naas.ai/abi/github/Repository> . # GitHub Repository
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Instances of GitHub Contributor, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <http://ontology.naas.ai/abi/github/Contributor> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100