Skip to main content

Entity

(Elucidation) An entity is anything that exists or has existed or will exist

BFOClass
IRI
http://purl.obolibrary.org/obo/BFO_0000001
Module
bfo-core Β· BFO

Hierarchy​

Position of Entity in the class hierarchy: its ancestors and direct subclasses.

Properties​

Declared on this class​

Properties declared on entity
PropertyDomain β†’ RangeDetails
condition described byobjectDomain β†’ Rangeentity to Performance Specification
data propertydatatypeDomain β†’ Rangeentity to xsd:string
described byobjectDomain β†’ Rangeentity to Descriptive Information Content Entity
designated byobjectDomain β†’ Rangeentity to Designative Information Content Entity
exists atobjectDomain β†’ Rangeentity to temporal region
has backing data sourceobjectDomain β†’ Rangeentity to Data Source
has nebari classobjectDomain β†’ Rangeentity to Nebari Class
is measured byobjectDomain β†’ Rangeentity to Measurement Information Content Entity
is measured by intervalobjectDomain β†’ Rangeentity to Interval Measurement Information Content Entity
is measured by nominalobjectDomain β†’ Rangeentity to Nominal Measurement Information Content Entity
is measured by ordinalobjectDomain β†’ Rangeentity to Ordinal Measurement Information Content Entity
is measured by ratioobjectDomain β†’ Rangeentity to Ratio Measurement Information Content Entity
is mentioned byobjectDomain β†’ Rangeentity to Information Bearing Entity
is subject ofobjectDomain β†’ Rangeentity to Information Content Entity
prescribed byobjectDomain β†’ Rangeentity to Prescriptive Information Content Entity

Used as the range of​

Examples​

  • Julius Caesar; the Second World War; your body mass index; Verdi's Requiem
Turtle
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix cco: <https://www.commoncoreontologies.org/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:entity1 a obo:BFO_0000001 ; # entity
rdfs:label "Example entity" ;
cco:ont00001884 ex:performanceSpecification1 ; # condition described by
<http://ontology.naas.ai/abi/nebari/dataProperty> "Example" . # data property

ex:performanceSpecification1 a cco:ont00000127 . # Performance Specification
SPARQL
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of entity, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* obo:BFO_0000001 .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

On docs.naas.ai​

Used in ABI​

Entity is referenced in 1 file of jupyter-naas/abi (revision 56f86c1): 1 ontology module, across the nebari module.

In ontology modules​

Modeling guide​

Entity is the root of BFO: everything a Naas knowledge graph talks about is an entity, and every entity is either a continuant (it persists through time) or an occurrent (it unfolds in time). You almost never type an individual as a bare entity. Its value is in property signatures: CCO relations such as is about, describes and designates take any entity as their object, so a single information model can point at people, processes, places or other documents.

When to use it​

  • As the domain or range of a property that genuinely applies to anything (aboutness, designation, description).
  • In SPARQL, as the top of a rdfs:subClassOf* walk when you want every typed individual.
  • Not as the type of a new individual: pick the most specific class that applies, starting from the 7 buckets.

Turtle example​

@prefix cco: <https://www.commoncoreontologies.org/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

# A description can be about any entity: here an organization.
ex:acmeReport a cco:ont00000853 ; # Descriptive Information Content Entity
rdfs:label "Acme Corp company profile" ;
cco:ont00001982 ex:acmeCorp . # describes

ex:acmeCorp a cco:ont00001180 ; # Organization
rdfs:label "Acme Corp" .

SPARQL example​

PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# How many individuals sit under each of the two top-level branches
SELECT ?branch (COUNT(DISTINCT ?x) AS ?individuals) WHERE {
VALUES ?branch { obo:BFO_0000002 obo:BFO_0000003 }
?x a ?type .
?type rdfs:subClassOf* ?branch .
}
GROUP BY ?branch