All files / apps/web/src/config semanticOntologies.js

0% Statements 0/2
100% Branches 0/0
100% Functions 0/0
0% Lines 0/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29                                                         
// Catalogue d'ontologies « sur étagère » (sous-ensembles curés bundlés côté serveur).
// Doit rester aligné avec `services/shared/ontologies/catalog.json`.
export const BUILTIN_ONTOLOGIES = [
  { id: 'skos', name: 'SKOS', description: 'Simple Knowledge Organization System (concepts, labels, relations).' },
  { id: 'schemaorg', name: 'schema.org', description: 'schema.org — Organisation, Personne, Lieu, Article, Produit…' },
];
 
// Propriétés de nom par défaut (nom d'affichage + signal d'identité).
// Doit rester aligné avec `DEFAULT_NAME_PREDICATES` (`services/semantic-kb-service/src/labels.js`).
export const DEFAULT_NAME_PREDICATES = [
  'https://schema.org/name',
  'http://schema.org/name',
  'https://schema.org/legalName',
  'http://www.w3.org/2004/02/skos/core#prefLabel',
  'http://www.w3.org/2000/01/rdf-schema#label',
  'http://xmlns.com/foaf/0.1/name',
  'https://schema.org/alternateName',
  'https://schema.org/headline',
  'https://schema.org/shortName',
  'http://www.w3.org/2004/02/skos/core#altLabel',
  'http://www.w3.org/2004/02/skos/core#hiddenLabel',
  'http://xmlns.com/foaf/0.1/nick',
  'http://purl.org/dc/terms/title',
  'http://purl.org/dc/terms/alternative',
  'http://purl.org/dc/elements/1.1/title',
  'http://www.w3.org/2006/vcard/ns#fn',
  'http://www.w3.org/2006/vcard/ns#FN',
];