@prefix schema: <http://schema.org/> .
@prefix volipi: <http://data.sparna.fr/ontologies/volipi#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix oresm-onto: <https://oresm.bis-sorbonne.fr/ontology#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skosthes: <http://purl.org/iso25964/skos-thes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ric-dft: <https://www.ica.org/standards/RiC/vocabularies/documentaryFormTypes#> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix qb: <http://purl.org/linked-data/cube#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rico: <https://www.ica.org/standards/RiC/ontology#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix euvoc: <http://publications.europa.eu/ontology/euvoc#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix xls2rdf: <https://xls2rdf.sparna.fr/vocabulary#> .
@prefix this: <https://data.example.com/ontologies/sparnatural-config/> .
@prefix ric-rst: <https://www.ica.org/standards/RiC/vocabularies/recordSetTypes#> .
@prefix core: <http://data.sparna.fr/ontologies/sparnatural-config-core#> .
@prefix datasources: <http://data.sparna.fr/ontologies/sparnatural-config-datasources#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dash: <http://datashapes.org/dash#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#> .
@prefix ex: <http://example.com> .

<https://oresm.bis-sorbonne.fr/sparnatural-config> a owl:Ontology .

this:Archives a sh:NodeShape;
  sh:order "1"^^xsd:integer;
  volipi:iconName "fa-solid fa-box-archive";
  sh:targetClass rico:RecordResource;
  sh:nodeKind sh:IRI;
  rdfs:label "Record"@en, "Document(s)"@fr;
  sh:description "blah blah"@en, "Tout type de ressource archivistique, qu'il s'agisse d'une pièce ou d'un groupe de documents."@fr;
  sh:property this:Archives_hasAuthor, this:Archives_hasDocumentaryFormType, this:Archives_aPourIntitule, 
    this:Archives_hasRecordState, this:Archives_hasCarrierType, this:Archives_hasTestator, this:Archives_hasRedactor,
    this:Archives_hasSignatory, this:Archives_mentions, this:Archives_hasWitness, this:Archives_hasLanguage, 
    this:Archives_currentShelfmark, this:Archives_currentHolder, this:Archives_geneticLinkToRecordResource, this:Archives_aPourCopie, this:Archives_estCopieDe, this:Archives_aPourVidimus, this:Archives_estVidimusDe, this:Archives_hasCopyWithin, this:Archives_includesCopyOf, this:Archives_editionContains, this:Archives_hasEdition, this:Archives_hasExtractWithin, this:Archives_includesExtractFrom, this:Archives_recordsActionOfWhichAuthorIs,  this:Archives_recordsDeedOfWhichDonorIs, this:Archives_recordsActionOfWhichBeneficiaryIs, this:Archives_recordsDeedOfWhichDoneeIs, this:Archives_recordsActionOfWhichBuyerIs, this:Archives_recordsActionOfWhichDefendantIs, this:Archives_recordsActionOfWhichPlaintiffIs, this:Archives_recordsActionOfWhichSellerIs, this:Archives_recordsWillOfWhichExecutorIs, this:Archives_hasOrganicProvenance, this:Archives_includesOrIncluded, this:Archives_isOrWasIncludedIn,
    this:Archives_mentionExists, this:Archives_digitized, this:Archives_dateSearch, this:Archives_hasDeedLocation, this:Archives_estCopieIndirecteDe, this:Archives_aPourCopieIndirecte .
    

this:InstanciationNumerique a sh:NodeShape;
  sh:order "10"^^xsd:integer;
  volipi:iconName "fas fa-images";
  sh:targetClass rico:Instantiation;
  sh:nodeKind sh:IRI;
  rdfs:label "Digital Instantiation"@en, "Copie numérique"@fr;
   sh:deactivated "true"^^xsd:boolean;
   sh:property this:InstanciationNumerique_label.
  # sh:description "blah blah"@en, "Une matérialisation physique, analogique ou numérique, d'une ressource archivistique"@fr .
  

this:Cote a sh:NodeShape;
  sh:order "5"^^xsd:integer;
  volipi:iconName "fas fa-barcode";
  sh:targetClass oresm-onto:Shelfmark;
  sh:nodeKind sh:IRI;
  rdfs:label "Shelfmark"@en, "Cote"@fr;
  sh:description "blah blah"@en, "un identifiant qui reflète le système de classement de l'institution de conservation de la resource."@fr;
  sh:property this:Cote_label;
  sh:deactivated "true"^^xsd:boolean.
  

this:Agent a sh:NodeShape;
  sh:order "2"^^xsd:integer;
  #volipi:iconName "fa-solid fa-users-between-lines";
  volipi:iconName "fa-solid fa-users";
  sh:nodeKind sh:IRI;
  rdfs:label "Agent"@en, "Agent"@fr;
  sh:description "Toute personne physique ou collectivité jouant un rôle dans la production ou la transmission d'un document"@fr;
  sh:target this:Agent-target;
  sh:property this:Agent_label, this:Agent_isOrganicProvenanceOf, this:Agent_isAgentMentionedInResource, this:Agent_hasOrHadAgentName, this:Agent_isAuthorOfActionRecordedIn, this:Agent_isDonorOfDeedRecordedIn, this:Agent_isBeneficiaryOfActionRecordedIn, this:Agent_isDoneeOfDeedRecordedIn, this:Agent_isBuyerRecordedIn, this:Agent_isDefendantOfActionRecordedIn, this:Agent_isPlaintiffOfActionRecordedIn, this:Agent_isSellerRecordedIn, this:Agent_isExecutorOfWillRecordedIn.

this:Agent-target sh:select """SELECT $this
WHERE {
 { $this a <https://www.ica.org/standards/RiC/ontology#Person>} UNION { $this a <https://www.ica.org/standards/RiC/ontology#CorporateBody> }
}""" .

this:Personne a sh:NodeShape;
  sh:order "3"^^xsd:integer;
  volipi:iconName "fas fa-user";
  sh:targetClass rico:Person;
  sh:nodeKind sh:IRI;
  rdfs:label "Person"@en, "Personne"@fr;
  sh:description "blah blah"@en, "Toute personne physique."@fr;
  sh:node this:Agent;
  sh:property this:Personne_label, this:Personne_aPourOccupationType, this:Personne_isAuthorOf, this:Personne_isTestatorOf, this:Personne_isRedactorOf, this:Personne_isSignatoryOf, this:Personne_isWitnessOf, this:Personne_knows .

this:Organisme a sh:NodeShape;
  sh:order "4"^^xsd:integer;
  volipi:iconName "fas fa-landmark";
  sh:targetClass rico:CorporateBody;
  sh:nodeKind sh:IRI;
  rdfs:label "Corporate Body"@en, "Organisme"@fr;
  sh:description "blah blah"@en, "Un groupe de personnes physiques ayant une identité ou un statut social."@fr;
  sh:node this:Agent;
  sh:property this:Organisme_label .
  

this:EtatDocument a sh:NodeShape;
volipi:iconName "fa-solid fa-ellipsis";
  sh:targetClass rico:RecordState;
  sh:nodeKind sh:IRI;
  rdfs:label "Record State"@en, "Etat d'un document"@fr;
  sh:description "Blah blah"@en, "Blah blah"@fr;
  sh:property this:EtatDocument_label .

this:TypeDocument a sh:NodeShape;
volipi:iconName "fas fa-file-contract";
  sh:targetClass rico:DocumentaryFormType;
  sh:nodeKind sh:IRI;
  rdfs:label "Documentary Form Type"@en, "Type de document"@fr;
  sh:description "Blah blah"@fr;
  sh:property this:TypeDocument_label .
  
  
this:SupportDocument a sh:NodeShape;
    sh:targetClass rico:CarrierType;
    volipi:iconName "fa-regular fa-file";
    sh:nodeKind sh:IRI;
    rdfs:label "Carrier Type"@en, "Type de support"@fr;
  sh:description "Blah blah"@fr;
  sh:property this:SupportDocument_label .
  
 
this:AgentName a sh:NodeShape;
sh:targetClass rico:AgentName;
    sh:nodeKind sh:IRI;
    rdfs:label "Agent Name"@en, "Nom propre"@fr;
    sh:property this:AgentName_label ;
    sh:deactivated "true"^^xsd:boolean.
    
    
this:OccupationType a sh:NodeShape;
  sh:targetClass rico:OccupationType;
  sh:nodeKind sh:IRI;
  rdfs:label "Occupation Type"@en, "Activité ou fonction"@fr;
  sh:description "Blah blah"@fr;
  sh:property this:OccupationType_label .


this:Intitule a sh:NodeShape;
  volipi:iconName "fas fa-paragraph";
  sh:order "5"^^xsd:integer;
  sh:nodeKind sh:Literal;
  rdfs:label "Title"@en, "Intitulé"@fr ;
  sh:deactivated "true"^^xsd:boolean.
  
  
this:Lieu a sh:NodeShape;
  sh:targetClass rico:Place;
  volipi:iconName "fas fa-map-marker-alt";
  sh:order "3"^^xsd:integer;
  sh:nodeKind sh:IRI;
  rdfs:label "Place"@en, "Lieu"@fr ;
  sh:property this:Lieu_label, this:Lieu_isDeedLocationOf .
  
 
 
 this:Archives_aPourIntitule sh:path rdfs:label;
 rdfs:label "has title"@en, "a pour intitulé"@fr ;
 sh:node this:Intitule ;
 dash:searchWidget core:SearchProperty;
dash:propertyRole dash:labelRole . 

 this:Archives_hasDeedLocation sh:path oresm-onto:hasDeedLocation;
 sh:name "has deed location"@en, "a été établi à"@fr ;
 sh:node this:Lieu ;
 dash:searchWidget core:ListProperty.
 
 
 this:Lieu_isDeedLocationOf sh:path oresm-onto:isDeedLocationOf;
 sh:name "is deed location"@en, "est le lieu où a été établi"@fr ;
 sh:node this:Archives ;
 dash:searchWidget core:AutocompleteProperty .
 
 
  
this:Langue a sh:NodeShape;
  sh:targetClass rico:Language;
  volipi:iconName "fa-solid fa-language";
  sh:nodeKind sh:IRI;
  rdfs:label "Language"@en, "Langue"@fr;
  sh:deactivated "true"^^xsd:boolean;
  sh:property this:Langue_label .


this:Organisme_label sh:path rdfs:label;
    volipi:iconName "fas fa-landmark";
  sh:order "1";
  sh:name "has name"@en, "a pour nom"@fr;
  sh:nodeKind sh:Literal;
  sh:datatype xsd:string;
  # dash:searchWidget core:SearchProperty;
 dash:searchWidget core:AutocompleteProperty;
   sh:deactivated "true"^^xsd:boolean;
  dash:propertyRole dash:labelRole .
  

this:Personne_label sh:path rdfs:label;
  sh:order "1";
  sh:name "has name"@en, "a pour nom"@fr;
  sh:nodeKind sh:Literal;
  sh:datatype xsd:string;
  dash:searchWidget core:AutocompleteProperty;
     sh:deactivated "true"^^xsd:boolean;
  dash:propertyRole dash:LabelRole .
  
  
this:Personne_aPourOccupationType sh:path rico:hasOrHadOccupationOfType;
 sh:name "has or had occupation of type"@en, "a pour activité ou fonction"@fr ;
 sh:node this:OccupationType ;
 dash:searchWidget core:SearchProperty .
# dash:propertyRole dash:labelRole . 


this:Agent_label sh:path rdfs:label;
  # sh:name "has name"@en, "a pour nom"@fr;
  sh:nodeKind sh:Literal;
  sh:datatype xsd:string;
  dash:searchWidget core:AutocompleteProperty;
  dash:propertyRole dash:labelRole ;
  sh:deactivated "true"^^xsd:boolean .
  
this:AgentName_label sh:path rdfs:label; #rico:name;
  # sh:name "value"@en, "valeur"@fr;
   # sh:minCount "1"^^xsd:integer;
   sh:nodeKind sh:Literal;
  sh:datatype xsd:string;
 dash:propertyRole dash:labelRole ;
sh:deactivated "true"^^xsd:boolean .

this:Lieu_label sh:path rdfs:label; #rico:name;
  # sh:name "value"@en, "valeur"@fr;
   # sh:minCount "1"^^xsd:integer;
   sh:nodeKind sh:Literal;
  sh:datatype xsd:string;
 dash:propertyRole dash:labelRole ;
sh:deactivated "true"^^xsd:boolean .

#this:Agent_hasOrHadAgentName sh:path rico:hasOrHadAgentName;
# sh:order "1";
# sh:name "has or had agent name"@en, "a ou a eu pour nom"@fr;
# #sh:node this:AgentName;
# dash:searchWidget core:SearchProperty .
# dash:searchWidget core:AutocompleteProperty .

this:Agent_hasOrHadAgentName sh:path rico:hasOrHadAgentName;
  sh:name "has or had agent name"@en, "a ou a eu pour nom"@fr;
  sh:node this:AgentName;
  dash:searchWidget core:SearchProperty.
 # dash:searchWidget core:AutocompleteProperty.
 # datasources:datasource this:testdatasource .


#this:testdatasource a datasources:SparqlDatasource;
#  datasources:queryTemplate datasources:query_search_label_contains;
#  datasources:labelProperty rico:name .

this:Archives_mentionExists sh:path ([sh:inversePath rico:isOrWasInstantiationOf] oresm-onto:mentionExists);
sh:name "a une mention hors teneur"@fr;
sh:node this:MentionTrueFalse;
dash:searchWidget core:BooleanProperty.

this:MentionTrueFalse a sh:NodeShape;
volipi:iconName "fa-solid fa-yin-yang";
  sh:nodeKind sh:Literal;
  rdfs:label "mention hors teneur : oui / non"@fr;
  sh:deactivated "true"^^xsd:boolean.
  
this:Archives_digitized sh:path rico:hasOrHadDigitalInstantiation;
sh:name "a une copie numérique"@fr;
sh:node this:InstanciationNumerique;
dash:searchWidget core:NonSelectableProperty .



this:Archives_hasAuthor sh:path rico:hasAuthor;
  sh:order "12";
  sh:name "has author"@en, "a pour auteur"@fr;
  sh:node this:Personne;
  dash:searchWidget core:AutocompleteProperty .
  
  
this:Personne_isAuthorOf sh:path rico:isAuthorOf;
  sh:order "12";
  sh:name "is author of"@en, "est l'auteur de"@fr;
  sh:node this:Archives;
  dash:searchWidget core:AutocompleteProperty .

this:Archives_hasDocumentaryFormType sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0551;
  sh:name "has documentary form type"@en, "a pour type de document"@fr;
  sh:node this:TypeDocument;
  dash:searchWidget core:ListProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0551 sh:inversePath rico:isDocumentaryFormTypeOf .

this:Archives_aPourIntitule sh:path rdfs:label;
  sh:name "has title"@en, "a pour intitulé"@fr;
   sh:node this:Intitule;
 #  sh:nodeKind sh:Literal;
 # sh:datatype rdf:langString;
  dash:searchWidget core:SearchProperty;
 # sh:deactivated "true"^^xsd:boolean ;
  dash:propertyRole dash:labelRole .


this:Archives_hasRecordState sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0554;
  sh:name "has record state"@en, "a pour état"@fr;
  sh:node this:EtatDocument;
  dash:searchWidget core:ListProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0554 sh:inversePath rico:isRecordStateOf .


this:Archives_hasCarrierType sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0563x;
  sh:name "has carrier type"@en, "a pour type de support"@fr;
  sh:node this:SupportDocument;
  dash:searchWidget core:ListProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0563x rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0564a;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0565a .
  
_:2ac95bdcaa7a429a8c70445c15e9efc0564a sh:inversePath rico:isOrWasInstantiationOf .


_:2ac95bdcaa7a429a8c70445c15e9efc0565a rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0566a;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0566a sh:inversePath rico:isCarrierTypeOf .




this:Archives_hasTestator sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0555;
  sh:name "has testator"@en, "a pour testateur"@fr;
  sh:order "13"^^xsd:integer;
  sh:node this:Personne;
  dash:searchWidget core:AutocompleteProperty .
  
  _:2ac95bdcaa7a429a8c70445c15e9efc0555 sh:inversePath oresm-onto:isTestatorOf .
  
  
this:Personne_isTestatorOf sh:path oresm-onto:isTestatorOf ;
  sh:name "is testator of"@en, "est le testateur de"@fr;
  sh:order "13"^^xsd:integer;
  sh:node this:Archives;
  dash:searchWidget core:AutocompleteProperty .
  

this:Archives_hasRedactor sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0556;
  sh:name "has redactor"@en, "a pour rédacteur"@fr;
  sh:order "14"^^xsd:integer;
  sh:node this:Personne;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0556 sh:inversePath oresm-onto:isRedactorOf .

this:Personne_isRedactorOf sh:path oresm-onto:isRedactorOf;
  sh:name "is redactor of"@en, "est le rédacteur de"@fr;
  sh:order "14"^^xsd:integer;
  sh:node this:Archives;
  dash:searchWidget core:AutocompleteProperty .


this:Archives_hasSignatory sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0557;
  sh:name "has signatory"@en, "a pour signataire"@fr;
  sh:node this:Personne;
  sh:order "15"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0557 sh:inversePath oresm-onto:isSignatoryOf .

this:Personne_isSignatoryOf sh:path oresm-onto:isSignatoryOf;
  sh:name "is signatory of"@en, "est le signataire de"@fr;
  sh:node this:Archives;
  sh:order "15"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .



this:Archives_hasWitness sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0557a;
  sh:name "has witness"@en, "a pour témoin"@fr;
  sh:node this:Personne;
  sh:order "16"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0557a sh:inversePath oresm-onto:isWitnessOf .

this:Personne_isWitnessOf sh:path oresm-onto:isWitnessOf;
  sh:name "is witness of"@en, "est le témoin de"@fr;
  sh:node this:Archives;
  sh:order "16"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .
  
  
this:Personne_knows sh:path rico:knows;
    sh:name "knows"@en, "connaît"@fr;
    sh:description "Relation déduite par inférence sur la base de la mention des témoins d'un même acte ; reste à vérifier et à compléter !"@fr;
    sh:node this:Personne;
    sh:order "16"^^xsd:integer;
  dash:searchWidget core:ListProperty .

this:Archives_mentions sh:path [ sh:inversePath oresm-onto:isAgentMentionedInResource];
  sh:name "mentions"@en, "mentionne"@fr;
 sh:order "2"^^xsd:integer;
  sh:node this:Agent;
 dash:searchWidget core:AutocompleteProperty .
  

#this:Holder_holds sh:path oresm-onto:isCurrentlyHolderOf;
 # sh:name "est l'institution qui conserve actuellement"@fr;
 #sh:node this:Archives;
 #  dash:searchWidget core:SearchProperty.
  
 this:Archives_hasCurrentHolder sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558b_holder; 
  sh:name "est l'institution qui conserve actuellement"@fr; 
  sh:node this:Holder;
  dash:searchWidget core:ListProperty;
  datasources:datasource this:list_rdfslabel_with_range_count.
  
  _:2ac95bdcaa7a429a8c70445c15e9efc0558b_holder rdf:first [sh:inversePath rico:isOrWasInstantiationOf];
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0558b_holder_rest .
  
  _:2ac95bdcaa7a429a8c70445c15e9efc0558b_holder_rest sh:inversePath oresm-onto:isCurrentlyHolderOf .
  
  
  
  

this:Agent_isAgentMentionedInResource sh:path oresm-onto:isAgentMentionedInResource;
  sh:name "is agent mentioned in resource"@en, "est mentionné dans"@fr;
  sh:node this:Archives;
  sh:order "1"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .



this:Archives_recordsActionOfWhichAuthorIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558b;
  sh:name "records action of which author is"@en, "mentionne comme auteur de l'action"@fr;
  sh:node this:Agent;
  sh:order "3"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558b sh:inversePath oresm-onto:isAuthorOfActionRecordedIn .


this:Agent_isAuthorOfActionRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558b_inv;
  sh:name "is author of action recorded in"@en, "est mentionné comme auteur de l'action"@fr;
  sh:node this:Archives;
  sh:order "3"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558b_inv sh:alternativePath (oresm-onto:isAuthorOfActionRecordedIn [sh:inversePath oresm-onto:recordsActionOfWhichAuthorIs]) .




this:Archives_recordsDeedOfWhichDonorIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558c;
  sh:name "records action of which donor is"@en, "mentionne comme donateur"@fr;
  sh:node this:Agent;
  sh:order "4"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558c sh:inversePath oresm-onto:isDonorOfDeedRecordedIn .


this:Agent_isDonorOfDeedRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558c_inv;
  sh:name "is author of the deed recorded in"@en, "est mentionné comme donateur de l'acte"@fr;
  sh:node this:Archives;
  sh:order "4"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558c_inv sh:alternativePath (oresm-onto:isDonorOfDeedRecordedIn [sh:inversePath oresm-onto:recordsDeedOfWhichDonorIs]) .



this:Archives_recordsActionOfWhichBeneficiaryIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558d;
  sh:name "records action of which beneficiary is"@en, "mentionne comme bénéficiaire"@fr;
  sh:node this:Agent;
  sh:order "5"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558d sh:inversePath oresm-onto:isBeneficiaryOfActionRecordedIn .


this:Agent_isBeneficiaryOfActionRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558d_inv;
  sh:name "is beneficiary of the deed recorded in"@en, "est mentionné comme bénéficiaire de l'acte"@fr;
  sh:node this:Archives;
  sh:order "5"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558d_inv sh:alternativePath (oresm-onto:isBeneficiaryOfActionRecordedIn [sh:inversePath oresm-onto:recordsActionOfWhichBeneficiaryIs]) .


this:Archives_recordsDeedOfWhichDoneeIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558e;
  sh:name "records action of which the donee is"@en, "mentionne comme donataire"@fr;
  sh:node this:Agent;
  sh:order "6"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558e sh:inversePath oresm-onto:isDoneeOfDeedRecordedIn .


this:Agent_isDoneeOfDeedRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558e_inv;
  sh:name "is the donee of the deed recorded in"@en, "est mentionné comme donataire de l'acte"@fr;
  sh:node this:Archives;
  sh:order "6"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558e_inv sh:alternativePath (oresm-onto:isDoneeOfDeedRecordedIn [sh:inversePath oresm-onto:recordsDeedOfWhichDoneeIs]) .

oresm-onto:isDoneeOfDeedRecordedIn rdfs:subPropertyOf oresm-onto:isBeneficiaryOfActionRecordedIn .

this:Archives_recordsActionOfWhichBuyerIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558f;
  sh:name "records action of which the buyer is"@en, "mentionne comme acheteur"@fr;
  sh:node this:Agent;
  sh:order "7"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558f sh:inversePath oresm-onto:isBuyerRecordedIn .


this:Agent_isBuyerRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558f_inv;
  sh:name "is buyer recorded in"@en, "est mentionné comme acheteur dans l'acte"@fr;
  sh:node this:Archives;
  sh:order "7"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558f_inv sh:alternativePath (oresm-onto:isBuyerRecordedIn [sh:inversePath oresm-onto:recordsActionOfWhichBuyerIs]) .



this:Archives_recordsActionOfWhichDefendantIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558g;
  sh:name "records action of which the defendant is"@en, "mentionne comme défendeur"@fr;
  sh:node this:Agent;
  sh:order "9"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558g sh:inversePath oresm-onto:isDefendantOfActionRecordedIn .

this:Agent_isDefendantOfActionRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558g_inv;
  sh:name "is defendant in the action recorded in"@en, "est mentionné comme défendeur dans l'acte"@fr;
  sh:node this:Archives;
  sh:order "9"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558g_inv sh:alternativePath (oresm-onto:isDefendantOfActionRecordedIn [sh:inversePath oresm-onto:recordsActionOfWhichDefendantIs]) .


this:Archives_recordsActionOfWhichPlaintiffIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558h;
  sh:name "records action of which the plaintiff is"@en, "mentionne comme plaignant"@fr;
  sh:node this:Agent;
  sh:order "10"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558h sh:inversePath oresm-onto:isPlaintiffOfActionRecordedIn .

this:Agent_isPlaintiffOfActionRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558h_inv;
  sh:name "is plaintiff in the action recorded in"@en, "est mentionné comme plaignant dans l'acte"@fr;
  sh:node this:Archives;
  sh:order "10"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558h_inv sh:alternativePath (oresm-onto:isPlaintiffOfActionRecordedIn [sh:inversePath oresm-onto:recordsActionOfWhichPlaintiffIs]) .

this:Archives_recordsActionOfWhichSellerIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558i;
  sh:name "records action of which the seller is"@en, "mentionne comme vendeur"@fr;
  sh:node this:Agent;
  sh:order "9"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558i sh:inversePath oresm-onto:isSellerRecordedIn .


this:Agent_isSellerRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558i_inv;
  sh:name "is seller recorded in"@en, "est mentionné comme vendeur dans l'acte"@fr;
  sh:node this:Archives;
  sh:order "9"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558i_inv sh:alternativePath (oresm-onto:isSellerRecordedIn [sh:inversePath oresm-onto:recordsActionOfWhichSellerIs]) .



this:Archives_recordsWillOfWhichExecutorIs sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558j;
  sh:name "records will of which the executor is"@en, "mentionne comme exécuteur testamentaire"@fr;
  sh:node this:Agent;
  sh:order "11"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558j sh:inversePath oresm-onto:isExecutorOfWillRecordedIn .


this:Agent_isExecutorOfWillRecordedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0558j_inv;
  sh:name "is executor of will recorded in"@en, "est mentionné comme exécuteur testamentaire dans l'acte"@fr;
  sh:node this:Archives;
  sh:order "11"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0558j_inv sh:alternativePath (oresm-onto:isExecutorOfWillRecordedIn [sh:inversePath oresm-onto:recordsWillOfWhichExecutorIs]) .



this:Archives_hasLanguage sh:path rico:hasOrHadLanguage;
  sh:name "has language"@en, "a pour langue"@fr;
  sh:node this:Langue;
  dash:searchWidget core:ListProperty .

this:Archives_aPourCopie sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559;
  sh:name "has copy"@en, "a pour copie"@fr;
  sh:node this:Archives;
  sh:order "4"^^xsd:integer;
 rdfs:subPropertyOf rico:hasGeneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559 sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560 .

_:2ac95bdcaa7a429a8c70445c15e9efc0560 rdf:first rico:hasCopy;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561 .

_:2ac95bdcaa7a429a8c70445c15e9efc0561 rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562 sh:inversePath rico:isCopyOf .



this:Archives_aPourCopieIndirecte sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559_ind;
  sh:name "has direct or indirect copy of"@en, "a pour copie directe ou indirecte"@fr;
  sh:node this:Archives;
  sh:order "16"^^xsd:integer;
  rdfs:subPropertyOf rico:hasGeneticLinkToRecordResource; 
  dash:searchWidget core:AutocompleteProperty .
  
_:2ac95bdcaa7a429a8c70445c15e9efc0559_ind sh:oneOrMorePath [ sh:inversePath rico:isCopyOf ].


this:Archives_estCopieDe sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559b;
  sh:name "is copy of"@en, "est la copie de"@fr;
  sh:node this:Archives;
  sh:order "5"^^xsd:integer;
  rdfs:subPropertyOf rico:hasGeneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559b sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560b .

_:2ac95bdcaa7a429a8c70445c15e9efc0560b rdf:first rico:isCopyOf;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561b .

_:2ac95bdcaa7a429a8c70445c15e9efc0561b rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562b;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562b sh:inversePath rico:hasCopy .



this:Archives_estCopieIndirecteDe sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559b_ind;
  sh:name "is direct or indirect copy of"@en, "est la copie directe ou indirecte de"@fr;
  sh:node this:Archives;
  sh:order "15"^^xsd:integer;
  rdfs:subPropertyOf rico:hasGeneticLinkToRecordResource; 
  dash:searchWidget core:AutocompleteProperty .
  
_:2ac95bdcaa7a429a8c70445c15e9efc0559b_ind sh:oneOrMorePath rico:isCopyOf .

#_:2ac95bdcaa7a429a8c70445c15e9efc0559b_ind sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560b_ind .

#_:2ac95bdcaa7a429a8c70445c15e9efc0560b_ind rdf:first sh:oneOrMorePath rico:isCopyOf;
#  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561b_ind .

#_:2ac95bdcaa7a429a8c70445c15e9efc0561b_ind rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562b_ind;
#  rdf:rest rdf:nil .

#_:2ac95bdcaa7a429a8c70445c15e9efc0562b_ind sh:oneOrMorePath [sh:inversePath rico:hasCopy] .



this:Archives_hasCopyWithin sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559d;
  sh:name "is copied within"@en, "est copié dans"@fr;
  sh:node this:Archives;
  rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559d sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560d .

_:2ac95bdcaa7a429a8c70445c15e9efc0560d rdf:first oresm-onto:hasCopyWithin;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561d .

_:2ac95bdcaa7a429a8c70445c15e9efc0561d rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562d;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562d sh:inversePath oresm-onto:includesCopyOf .


this:Archives_includesCopyOf sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559e;
  sh:name "includes copy of"@en, "inclut la copie de"@fr;
  sh:node this:Archives;
  rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559e sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560e .

_:2ac95bdcaa7a429a8c70445c15e9efc0560e rdf:first oresm-onto:includesCopyOf;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561de .

_:2ac95bdcaa7a429a8c70445c15e9efc0561de rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562de;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562de sh:inversePath oresm-onto:hasCopyWithin .


this:Archives_editionContains sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559f;
  sh:name "edition contains"@en, "inclut l'édition de"@fr;
  sh:node this:Archives;
  rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559f sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560f .

_:2ac95bdcaa7a429a8c70445c15e9efc0560f rdf:first oresm-onto:editionContains;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561df .

_:2ac95bdcaa7a429a8c70445c15e9efc0561de rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562df;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562df sh:inversePath oresm-onto:hasEdition .



this:Archives_hasEdition sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559g;
  sh:name "has edition"@en, "est édité dans"@fr;
  sh:node this:Archives;
  rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559g sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560g .

_:2ac95bdcaa7a429a8c70445c15e9efc0560g rdf:first oresm-onto:hasEdition;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561dg .

_:2ac95bdcaa7a429a8c70445c15e9efc0561dg rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562dg;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562dg sh:inversePath oresm-onto:editionContains .


this:Archives_hasExtractWithin sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559h;
  sh:name "has extract within"@en, "est extrait (partiellement copié) dans"@fr;
  sh:node this:Archives;
  rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559h sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560h .

_:2ac95bdcaa7a429a8c70445c15e9efc0560h rdf:first oresm-onto:hasExtractWithin;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561dh .

_:2ac95bdcaa7a429a8c70445c15e9efc0561dh rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562dh;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562dh sh:inversePath oresm-onto:includesExtractFrom .



this:Archives_includesExtractFrom sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559i;
  sh:name "includes an extract from"@en, "inclut un extrait de"@fr;
  sh:node this:Archives;
  rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559i sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560i .

_:2ac95bdcaa7a429a8c70445c15e9efc0560i rdf:first oresm-onto:includesExtractFrom;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561di .

_:2ac95bdcaa7a429a8c70445c15e9efc0561di rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562di;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562di sh:inversePath oresm-onto:hasExtractWithin .



this:Archives_includesOrIncluded sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559j;
  sh:name "includes or included"@en, "inclut ou incluait le(s) document(s)"@fr;
  sh:node this:Archives;
  sh:order "1"^^xsd:integer;
  # rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559j sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560j .

_:2ac95bdcaa7a429a8c70445c15e9efc0560j rdf:first rico:includesOrIncluded;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561dj .

_:2ac95bdcaa7a429a8c70445c15e9efc0561dj rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562dj;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562dj sh:inversePath rico:isOrWasIncludedIn .


this:Archives_isOrWasIncludedIn sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559k;
  sh:name "is or was included in"@en, "est ou était inclus dans le groupe de documents"@fr;
  sh:node this:Archives;
  sh:order "2"^^xsd:integer;
  # rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559k sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560k .

_:2ac95bdcaa7a429a8c70445c15e9efc0560k rdf:first rico:isOrWasIncludedIn;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561dk .

_:2ac95bdcaa7a429a8c70445c15e9efc0561dk rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562dk;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562dk sh:inversePath rico:includesOrIncluded .


this:Archives_hasOrganicProvenance sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559l;
  sh:name "has organic provenance"@en, "a ou ont pour provenance"@fr;
  sh:description "a ou ont été créé(s), accumulé(s) ou maintenu(s) par (provenance archivistique)"@fr ;
  sh:node this:Agent;
  sh:order "1"^^xsd:integer;
  # rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559l sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560l .

_:2ac95bdcaa7a429a8c70445c15e9efc0560l rdf:first rico:hasOrganicProvenance;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561dl .

_:2ac95bdcaa7a429a8c70445c15e9efc0561dl rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562dl;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562dl sh:inversePath rico:isOrganicProvenanceOf .

this:Agent_isOrganicProvenanceOf sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559m;
  sh:name "is organic provenance of"@en, "est la provenance de"@fr;
  sh:order "1"^^xsd:integer;
  sh:description "a créé, accumulé ou maintenu (provenance archivistique)"@fr;
  sh:node this:Archives;
  # rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559m sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560m .

_:2ac95bdcaa7a429a8c70445c15e9efc0560m rdf:first rico:isOrganicProvenanceOf;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561dm .

_:2ac95bdcaa7a429a8c70445c15e9efc0561dm rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562dm;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562dm sh:inversePath rico:hasOrganicProvenance .


this:Archives_aPourVidimus sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559a;
  sh:name "has vidimus"@en, "a pour vidimus"@fr;
  sh:node this:Archives;
  sh:order "5"^^xsd:integer;
  rdfs:subPropertyOf this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559a sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560a .

_:2ac95bdcaa7a429a8c70445c15e9efc0560a rdf:first oresm-onto:hasVidimus;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561a .

_:2ac95bdcaa7a429a8c70445c15e9efc0561a rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562a;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562a sh:inversePath oresm-onto:isVidimusOf .


this:Archives_estVidimusDe sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0559c;
  sh:name "is vidimus of"@en, "est le vidimus de"@fr;
  sh:node this:Archives;
  sh:order "6"^^xsd:integer;
  rdfs:subPropertyOf  rico:hasGeneticLinkToRecordResource ;#this:Archives_geneticLinkToRecordResource;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0559c sh:alternativePath _:2ac95bdcaa7a429a8c70445c15e9efc0560c .

_:2ac95bdcaa7a429a8c70445c15e9efc0560c rdf:first oresm-onto:isVidimusOf;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0561c .

_:2ac95bdcaa7a429a8c70445c15e9efc0561c rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0562c;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0562c sh:inversePath oresm-onto:hasVidimus .

#_:2ac95bdcaa7a429a8c70445c15e9efc0559c rdfs:subPropertyOf rico:hasGeneticLinkToRecordResource .

this:Archives_currentShelfmark sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0563;
  sh:name "has current shelfmark"@en, "a pour cote actuelle"@fr;
  sh:node this:Cote;
  dash:searchWidget core:AutocompleteProperty .

_:2ac95bdcaa7a429a8c70445c15e9efc0563 rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0564;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0565 .
  
_:2ac95bdcaa7a429a8c70445c15e9efc0564 sh:inversePath rico:isOrWasInstantiationOf .


_:2ac95bdcaa7a429a8c70445c15e9efc0565 rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0566;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0566 sh:inversePath oresm-onto:isCurrentShelfmarkOf .



this:Archives_currentHolder sh:path _:2ac95bdcaa7a429a8c70445c15e9efc0567;
  sh:name "has current holder"@en, "est actuellement conservé par"@fr;
  sh:node this:Organisme;
  dash:searchWidget core:ListProperty ;
  datasources:datasource datasources:list_rdfslabel_alpha_with_count .

_:2ac95bdcaa7a429a8c70445c15e9efc0567 rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0568;
  rdf:rest _:2ac95bdcaa7a429a8c70445c15e9efc0569 .

_:2ac95bdcaa7a429a8c70445c15e9efc0568  sh:inversePath rico:isOrWasInstantiationOf .

_:2ac95bdcaa7a429a8c70445c15e9efc0569 rdf:first _:2ac95bdcaa7a429a8c70445c15e9efc0570;
  rdf:rest rdf:nil .

_:2ac95bdcaa7a429a8c70445c15e9efc0570  sh:inversePath oresm-onto:isCurrentlyHolderOf  .


this:Archives_geneticLinkToRecordResource sh:path rico:hasGeneticLinkToRecordResource;
  sh:name "has genetic link to "@en, "a une relation de tradition avec "@fr;
  sh:node this:Archives;
  sh:order "3"^^xsd:integer;
  dash:searchWidget core:AutocompleteProperty .


this:TypeDocument_label sh:path rdfs:label;
  sh:name "documentary form type label"@en, "nom du type de document"@fr;
  sh:minCount "1"^^xsd:integer;
  sh:nodeKind sh:Literal;
  sh:datatype rdf:langString;
  dash:propertyRole dash:LabelRole;
  sh:deactivated "true"^^xsd:boolean .

this:EtatDocument_label sh:path skos:prefLabel;
  sh:name "record state label"@en, "nom de l'état du document"@fr;
  sh:minCount "1"^^xsd:integer;
 sh:nodeKind sh:Literal;
  sh:datatype rdf:langString;
  dash:propertyRole dash:LabelRole;
  sh:deactivated "true"^^xsd:boolean .
  
this:SupportDocument_label sh:path skos:prefLabel;
  sh:name "carrier type label"@en, "nom du support du document"@fr;
  sh:minCount "1"^^xsd:integer;
 sh:nodeKind sh:Literal;
  sh:datatype rdf:langString;
  dash:propertyRole dash:LabelRole;
  sh:deactivated "true"^^xsd:boolean .  



this:Langue_label sh:path skos:prefLabel;
  sh:minCount "1"^^xsd:integer;
  sh:nodeKind sh:Literal;
  sh:datatype rdf:langString;
  dash:propertyRole dash:labelRole;
  sh:deactivated "true"^^xsd:boolean .

this:Cote_label sh:path rdfs:label; #rico:textualValue; 
 sh:nodeKind sh:Literal;
  sh:datatype xsd:string;
  dash:propertyRole dash:labelRole;
  sh:deactivated "true"^^xsd:boolean .
  
  this:InstanciationNumerique_label sh:path rdfs:seeAlso; #rico:textualValue; 
 sh:nodeKind sh:Literal;
  sh:datatype xsd:string;
  dash:propertyRole dash:labelRole;
  sh:deactivated "true"^^xsd:boolean .
  
this:OccupationType_label sh:path rdfs:label;
  sh:name "occupation type label"@en, "nom de l'activité ou de la fonction"@fr;
  sh:minCount "1"^^xsd:integer;
  sh:nodeKind sh:Literal;
  sh:datatype rdf:langString;
  dash:propertyRole dash:LabelRole;
  sh:deactivated "true"^^xsd:boolean .
  


this:query_search_label_contains_langfr a datasources:SPARQLQuery;
  datasources:queryString """SELECT DISTINCT ?uri ?label
WHERE {
 ?domain a $domain .
 ?domain $property ?uri .
 ?uri a $range .
 ?uri $labelPath ?label .
 FILTER(isIRI(?uri))
 FILTER(CONTAINS(LCASE(STR(?label)), LCASE(\"$key\"))) 
 FILTER(lang(?label) = '' || lang(?label) = \"fr\")
} 
ORDER BY UCASE(?label)
LIMIT 50""";
  rdfs:comment "A query that will search in labels using contains function, first in the user language but will default to French."@en .
  
  
#  this:testdatasource a datasources:SparqlDatasource;
#  datasources:queryTemplate datasources:query_search_label_contains;
#  datasources:labelProperty rico:name .

this:query_search_label_contains a datasources:SPARQLQuery;
  datasources:queryString """SELECT DISTINCT ?uri ?label
WHERE {
 ?domain a $domain .
 ?domain $property ?uri .
 ?uri a $range .
 ?uri $labelPath ?label .
 FILTER(isIRI(?uri))
 FILTER(CONTAINS(LCASE(STR(?label)), LCASE(\"$key\"))) 

} 
ORDER BY UCASE(?label)
LIMIT 50""";
  rdfs:comment "A query that will search in labels using contains function, first in the user language but will default to French."@en .
  
  
  # config. de la recherche par date

this:Date a sh:NodeShape;
  volipi:iconName "far fa-calendar-alt";
 sh:nodeKind sh:IRI;
# sh:nodeKind sh:Literal;
  rdfs:label "Date"@fr, "Date"@en;
  # sh:targetClass rico:Date;
  sh:description "Une date associée à une entité historique telle que ressource archivistique, personne, organisme..."@fr,
    "A date associated with a historical entity such as an archival resource, person, organization..."@en ;
 #  sh:property this:Date_label;
  sh:deactivated "true"^^xsd:boolean ;
 sh:property this:Date_label .

this:Archives_dateSearch a sh:PropertyShape ;
 sh:path this:this_path_will_never_be_used ;
 # sh:path this:Archives_dateSearch;
 dash:searchWidget core:TimeProperty-Date ;
 rdfs:label "a pour date test"@fr ;
 sh:node this:Date;
 core:beginDateProperty this:theBeginDate ;
 core:endDateProperty this:theEndDate ;
  core:exactDateProperty this:theExactDate .




this:theBeginDate a sh:PropertyShape ;
  sh:path ( [ sh:inversePath rico:isCreationDateOf ] rico:beginningDate ) #;
   #sh:datatype xsd:date 
.

this:theEndDate a sh:PropertyShape ;
  sh:path ( [ sh:inversePath rico:isCreationDateOf ] rico:endDate ) #;
  # sh:datatype xsd:date 
.

this:theExactDate a sh:PropertyShape ;
  sh:path ( [ sh:inversePath rico:isCreationDateOf ] rico:date ) #;
 # sh:datatype xsd:date 
.

this:Date_label sh:path rico:expressedDate; 
sh:nodeKind sh:Literal;
 sh:datatype xsd:string;
 dash:propertyRole dash:labelRole;
sh:deactivated "true"^^xsd:boolean .
  
 
  
this:this_path_will_never_be_used rdfs:label "a pour date (période)"@fr.
# this:this_path_will_never_be_used_exactDate rdfs:label "a pour date exacte"@fr.
 
#this:list_rdfslabel_with_range_count a datasources:SparqlDatasource;
#  datasources:queryTemplate datasources:query_list_label_with_range_count;
#  datasources:labelProperty rdfs:label .
