Profile Document
A document content entity, published at a retrievable address, from which statements about a person's history are taken: what they did, where they studied, what they hold. Carried by the person the profile is about.
Hierarchyβ
Position of Profile Document in the class hierarchy: its ancestors and direct subclasses.
- entity (BFO)
- continuant (BFO)
- generically dependent continuant (ABI)
- Document Content Entity (ABI)
- Profile Document (App)
- Connections Export File (App)
- Profile Document (App)
- Document Content Entity (ABI)
- generically dependent continuant (ABI)
- continuant (BFO)
Propertiesβ
Declared on this classβ
| Property | Domain β Range | Details |
|---|---|---|
| is profile document for profilingobject | Domain β RangeProfile Document to Act of Profiling | |
| ||
| is profile document ofobject | Domain β RangeProfile Document to Person | |
| ||
| is source document ofobject | Domain β RangeProfile Document to Planned Act | |
| ||
| is source ofobject | Domain β RangeProfile Document to generically dependent continuant | |
| ||
| source urldatatype | Domain β RangeProfile Document to xsd:anyURI | |
| ||
Inherited propertiesβ
From Generically dependent continuant (7)
Declared on generically dependent continuant.
| Property | Domain β Range | Details |
|---|---|---|
| has part | Domain β Rangegenerically dependent continuant to generically dependent continuant | |
| is about | Domain β Rangegenerically dependent continuant to any | |
| is created by | Domain β Rangegenerically dependent continuant to process | |
| is deleted by | Domain β Rangegenerically dependent continuant to process | |
| is part of | Domain β Rangegenerically dependent continuant to generically dependent continuant | |
| is sourced from | Domain β Rangegenerically dependent continuant to Profile Document | |
| is updated by | 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β
Logical axiomsβ
Restrictionsβ
Every Profile Document is a subclass of:
Notesβ
- Comment
- The provenance anchor of the demo graph: everything asserted from a profile page: missions, roles, skills, enrollments, degrees, certifications points back to the ProfileDocument it was read from.
Examplesβ
- https://demo.example/profiles/demo
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .
ex:profileDocument1 a abi:ProfileDocument ; # Profile Document
rdfs:label "Example Profile Document" ;
abi:isProfileDocumentForProfiling ex:actOfProfiling1 ; # is profile document for profiling
abi:isProfileDocumentOf ex:person1 . # is profile document of
ex:actOfProfiling1 a abi:ActOfProfiling . # Act of Profiling
ex:person1 a abi:Person . # Person
PREFIX abi: <http://ontology.naas.ai/abi/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Instances of Profile Document, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* abi:ProfileDocument .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100
Relatedβ
Sibling classesβ
Used in ABIβ
Profile Document is referenced in 6 files of jupyter-naas/abi (revision 56f86c1): 1 ontology module and 5 processes, across the linkedin and people modules.
In ontology modulesβ
- LinkedInOntology (
linkedin): subclassed by Connections Export File.
In processesβ
- ActOfStudyingProcess (
people): in the axioms of Academic Degree, Act of Studying and Enrollment Record. - ActOfCertificationProcess (
people): in the axioms of Act of Certification and Certification. - ActOfProfilingProcess (
people): in the axioms of Act of Profiling; domain of Is profile document for profiling; range of From profile document. - ActOfWorkingProcess (
people): in the axioms of Act of Working and Mission. - ActOfConnectionProcess (
linkedin): subclassed by Connections Export File.
Modeling guideβ
A Profile Document, in the ABI people module, is the source a person's history was read from: a LinkedIn profile, a CV, a page on a company site. It is a document content entity published at a retrievable address (source url) and tied to the person it describes (is profile document of, and has profile document from the person). Statements extracted from it point back to it: a planned act read from it, such as an act of working, names it with has source document, and a mission or certification with is sourced from. That is how the graph records provenance for profile data.
When to use itβ
- For every document you extract people data from, so each fact can be traced to where it was read.
- Use one profile document per source and per section when they are fetched separately (the demo data keeps "LinkedIn education" apart from the experience section).
- Keep the URL in
source url; the fetch itself is an act of profiling, linked with is profile document for profiling.
Turtle exampleβ
@prefix abi: <http://ontology.naas.ai/abi/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ex: <https://example.org/> .
ex:alice a abi:Person ;
rdfs:label "Alice Dupont" ;
abi:hasProfileDocument ex:aliceProfile .
ex:aliceProfile a abi:ProfileDocument ;
rdfs:label "LinkedIn profile - Alice Dupont" ;
abi:isProfileDocumentOf ex:alice ;
abi:source_url "https://example.org/profiles/alice-dupont"^^xsd:anyURI .
# A job read from that profile keeps a pointer to it.
ex:aliceAtAcme a abi:ActOfWorking ;
rdfs:label "Data & AI Engineer @ Acme Consulting" ;
abi:hasSourceDocument ex:aliceProfile .
SPARQL exampleβ
PREFIX abi: <http://ontology.naas.ai/abi/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# For each profile document: whose it is, where it lives,
# and how many acts were extracted from it.
SELECT ?personLabel ?profile ?url (COUNT(DISTINCT ?act) AS ?acts) WHERE {
?profile a abi:ProfileDocument ;
abi:isProfileDocumentOf ?person .
?person rdfs:label ?personLabel .
OPTIONAL { ?profile abi:source_url ?url }
OPTIONAL { ?act abi:hasSourceDocument ?profile }
}
GROUP BY ?personLabel ?profile ?url
ORDER BY ?personLabel