Skip to main content

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.

ApplicationsClass
IRI
http://ontology.naas.ai/abi/ProfileDocument
Module
people Β· Applications

Hierarchy​

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

Properties​

Declared on this class​

Properties declared on Profile Document
PropertyDomain β†’ RangeDetails
is profile document for profilingobjectDomain β†’ RangeProfile Document to Act of Profiling
is profile document ofobjectDomain β†’ RangeProfile Document to Person
is source document ofobjectDomain β†’ RangeProfile Document to Planned Act
is source ofobjectDomain β†’ RangeProfile Document to generically dependent continuant
source urldatatypeDomain β†’ RangeProfile Document to xsd:anyURI

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

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
Turtle
@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
SPARQL
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

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​

In processes​

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