Skip to main content

Document Content Entity

A generically dependent continuant that consists of a series of paragraphs of text or diagrams intended to be carried by physical pieces of paper or an electronic word processor file.

ABIClassAlso known asDocument
IRI
http://ontology.naas.ai/abi/DocumentContentEntity
Module
DocumentContentEntityOntology Β· ABI

Hierarchy​

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

Properties​

Inherited properties​

From Generically dependent continuant (7)

Declared on generically dependent continuant.

Properties inherited from generically dependent continuant
PropertyDomain β†’ RangeDetails
has partDomain β†’ Rangegenerically dependent continuant to generically dependent continuant
is aboutDomain β†’ Rangegenerically dependent continuant to any
is created byDomain β†’ Rangegenerically dependent continuant to process
is deleted byDomain β†’ Rangegenerically dependent continuant to process
is part ofDomain β†’ Rangegenerically dependent continuant to generically dependent continuant
is sourced fromDomain β†’ Rangegenerically dependent continuant to Profile Document
is updated byDomain β†’ Rangegenerically dependent continuant to process
From Continuant (6)

Declared on continuant.

Properties inherited from continuant
PropertyDomain β†’ RangeDetails
continuant part ofDomain β†’ Rangecontinuant to continuant
has continuant partDomain β†’ Rangecontinuant to continuant
is affected byDomain β†’ Rangecontinuant to process
is input ofDomain β†’ Rangecontinuant to process
is object ofDomain β†’ Rangecontinuant to process
is output ofDomain β†’ Rangecontinuant to process
From Entity (15)

8 of 15 properties declared on entity, where all of them are listed.

Properties inherited from entity
PropertyDomain β†’ RangeDetails
condition described byDomain β†’ Rangeentity to Performance Specification
data propertyDomain β†’ Rangeentity to xsd:string
described byDomain β†’ Rangeentity to Descriptive Information Content Entity
designated byDomain β†’ Rangeentity to Designative Information Content Entity
exists atDomain β†’ Rangeentity to temporal region
has backing data sourceDomain β†’ Rangeentity to Data Source
has nebari classDomain β†’ Rangeentity to Nebari Class
is measured byDomain β†’ Rangeentity to Measurement Information Content Entity

Logical axioms​

Equivalent to​

Examples​

  • A profile page; a recommendation; a job description
Turtle
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

ex:documentContentEntity1 a abi:DocumentContentEntity ; # Document Content Entity
rdfs:label "Example Document Content Entity" .
SPARQL
PREFIX abi: <http://ontology.naas.ai/abi/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Instances of Document Content Entity, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* abi:DocumentContentEntity .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100

Sibling classes​

And 42 more under generically dependent continuant.

Used in ABI​

Document Content Entity is referenced in 4 files of jupyter-naas/abi (revision 56f86c1): 2 ontology modules and 2 example datasets, across the people and personnel modules.

In ontology modules​

In example data​

Modeling guide​

A Document Content Entity is the content of a document: paragraphs of text or diagrams meant to be read, whatever file or page carries them. DocumentContentEntityOntology.ttl declares it equivalent to CCO's Document Content Entity, under ABI's generically dependent continuant. The people module builds on it: Profile Document, job description, profile summary and recommendation are its subclasses, which is how ABI keeps track of where a fact about a person was read.

When to use it​

  • For a document as content: a profile page, a job description, a report, a recommendation letter.
  • Use a subclass when one fits, and link facts back to the document they come from (for profiles: has source document).
  • The file or web page carrying the content is a separate carrier entity.

Turtle example​

@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .

# A recommendation written about a person.
ex:recoForAlice a abi:Recommendation ; # subclass of Document Content Entity
rdfs:label "Recommendation for Alice Dupont by Bob" ;
obo:BFO_0000084 ex:aliceDupont . # generically depends on
ex:aliceDupont a abi:Person ; rdfs:label "Alice Dupont" .

SPARQL example​

PREFIX abi: <http://ontology.naas.ai/abi/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

# Documents by kind
SELECT ?type (COUNT(?doc) AS ?documents) WHERE {
?doc a ?type .
?type rdfs:subClassOf* abi:DocumentContentEntity .
}
GROUP BY ?type