GitHub Repository
Represents a GitHub repository containing source code, documentation, and project management features.
ApplicationsClass
Hierarchyโ
Position of GitHub Repository in the class hierarchy: its ancestors and direct subclasses.
- entity (BFO)
- continuant (BFO)
Propertiesโ
Declared on this classโ
| Property | Domain โ Range | Details |
|---|---|---|
| Created Atdatatype | Domain โ RangeGitHub User or GitHub Repository or GitHub Issue or GitHub Issue Comment or GitHub Pull Request or GitHub Repository Activity or GitHub Repository Secret to xsd:dateTime | |
| ||
| Descriptiondatatype | Domain โ RangeGitHub Repository to xsd:string | |
| ||
| Forks Countdatatype | Domain โ RangeGitHub Repository to xsd:nonNegativeInteger | |
| ||
| has activityobject | Domain โ RangeGitHub Repository to GitHub Repository Activity | |
| ||
| has contributorobject | Domain โ RangeGitHub Repository to GitHub Contributor | |
| ||
| has issueobject | Domain โ RangeGitHub Repository to GitHub Issue | |
| ||
| has pull requestobject | Domain โ RangeGitHub Repository to GitHub Pull Request | |
| ||
| has secretobject | Domain โ RangeGitHub Repository to GitHub Repository Secret | |
| ||
| is repository ofobject | Domain โ RangeGitHub Repository to GitHub User Page or GitHub Organization Page | |
| ||
| Namedatatype | Domain โ RangeGitHub User or GitHub Repository or GitHub Organization to xsd:string | |
| ||
| Primary Languagedatatype | Domain โ RangeGitHub Repository to xsd:string | |
| ||
| Privatedatatype | Domain โ RangeGitHub Repository to xsd:boolean | |
| ||
| Stars Countdatatype | Domain โ RangeGitHub Repository to xsd:nonNegativeInteger | |
| ||
| Updated Atdatatype | Domain โ RangeGitHub User or GitHub Repository or GitHub Issue or GitHub Issue Comment or GitHub Pull Request or GitHub Repository Secret to xsd:dateTime | |
| ||
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 repository with name, description, programming language, star count, fork count, and privacy settings.
Turtle
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .
ex:githubRepository1 a <http://ontology.naas.ai/abi/github/Repository> ; # GitHub Repository
rdfs:label "Example GitHub Repository" ;
<http://ontology.naas.ai/abi/github/createdAt> "2026-01-01T00:00:00Z"^^xsd:dateTime ; # Created At
<http://ontology.naas.ai/abi/github/description> "Example" . # Description
SPARQL
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Instances of GitHub Repository, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <http://ontology.naas.ai/abi/github/Repository> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100