Skip to content

Commit

Permalink
to help w/ lds-pdi #188
Browse files Browse the repository at this point in the history
split ont-policy.rdf into two incl ont-policy-local.rdf

ont-policy.rdf loads from github buda-base/owl-schema
    see defn of &git; entity

ont-policy-local.rdf load from a (presumably) local directory
    see defn of &local; entity
  • Loading branch information
xristy committed Jun 22, 2020
1 parent 9fb43a4 commit 3f7a5ff
Show file tree
Hide file tree
Showing 2 changed files with 345 additions and 70 deletions.
308 changes: 308 additions & 0 deletions ont-policy-local.rdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,308 @@
<?xml version='1.0'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!DOCTYPE rdf:RDF [
<!ENTITY jena 'http://jena.hpl.hp.com/schemas/'>

<!ENTITY local 'file:///Users/chris/git/'>

<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
<!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'>
<!ENTITY base '&jena;2003/03/ont-manager'>
<!ENTITY ont '&base;#'>
<!ENTITY adm 'http://purl.bdrc.io/ontology/admin/'>
<!ENTITY bdo 'http://purl.bdrc.io/ontology/core/'>
<!ENTITY bdr 'http://purl.bdrc.io/resource/'>
<!ENTITY bda 'http://purl.bdrc.io/admindata/'>
]>

<rdf:RDF
xmlns:rdf ="&rdf;"
xmlns:rdfs="&rdfs;"
xmlns ="&ont;"
xml:base ="&base;"
xmlns:adm ="&adm;"
xmlns:bdo ="&bdo;"
xmlns:bdr ="&bdr;"
xmlns:bda ="&bda;"
>

<!-- Mappings for locally cached buda ontologies -->

<DocumentManagerPolicy>
<!-- policy for controlling the document manager's behaviour -->
<processImports rdf:datatype="&xsd;boolean">true</processImports>
<cacheModels rdf:datatype="&xsd;boolean">false</cacheModels>
<ignoreImport rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<ignoreImport rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
<ignoreImport rdf:resource="http://www.w3.org/2002/07/owl#"/>
<ignoreImport rdf:resource="http://www.w3.org/2004/02/skos/core"/>
<adm:defaultOntGraph rdf:resource="http://purl.bdrc.io/graph/ontologySchema"/>
</DocumentManagerPolicy>



<!-- ======== auth ontologies ======== -->

<OntologySpec>
<!-- local version of the auth vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/ext/auth/"/>
<altURL rdf:resource="&local;owl-schema/ext/auth/auth.ttl"/>
<prefix rdf:datatype="&xsd;string">aut</prefix>
<adm:ontGraph rdf:resource="http://purl.bdrc.io/graph/authSchema"/>
<adm:ontVisible rdf:datatype="&xsd;boolean">true</adm:ontVisible>
</OntologySpec>

<!-- ======== user ontologies ======== -->

<OntologySpec>
<!-- local version of the auth vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/ext/user/"/>
<altURL rdf:resource="&local;owl-schema/ext/user/budauser.ttl"/>
<prefix rdf:datatype="&xsd;string">bdou</prefix>
</OntologySpec>


<!-- ======== bdo admin ontologies ======== -->

<OntologySpec>
<!-- local version of the admin vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/admin/"/>
<altURL rdf:resource="&local;owl-schema/adm/admin.ttl"/>
<prefix rdf:datatype="&xsd;string">adm</prefix>
<adm:ontVisible rdf:datatype="&xsd;boolean">true</adm:ontVisible>
</OntologySpec>

<OntologySpec>
<!-- local version of the Access vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/types/Access/"/>
<altURL rdf:resource="&local;owl-schema/adm/types/access_types.ttl"/>
</OntologySpec>


<!-- translations -->

<OntologySpec>
<!-- local version of the Admin translations vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/translations/AdmBo/"/>
<altURL rdf:resource="&local;owl-schema/translations/adm_bo.ttl"/>
</OntologySpec>


<!-- types -->

<OntologySpec>
<!-- local version of the ContentProvider vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/ContentProvider/"/>
<altURL rdf:resource="&local;owl-schema/adm/content_providers.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the GitRepo vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/types/GitRepo/"/>
<altURL rdf:resource="&local;owl-schema/adm/types/git_repos.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the LegalData vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/LegalData/"/>
<altURL rdf:resource="&local;owl-schema/adm/legal_entities.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the License vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/types/License/"/>
<altURL rdf:resource="&local;owl-schema/adm/types/license_types.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the OutlineType vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/types/OutlineType/"/>
<altURL rdf:resource="&local;owl-schema/adm/types/outline_types.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Status vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/types/Status/"/>
<altURL rdf:resource="&local;owl-schema/adm/types/status_types.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the TermsOfUse vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/adm/types/TermsOfUse/"/>
<altURL rdf:resource="&local;owl-schema/adm/types/terms_of_use.ttl"/>
</OntologySpec>



<!-- ======== bdo ontologies ======== -->

<OntologySpec>
<!-- local version of the bdo vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/core/"/>
<altURL rdf:resource="&local;owl-schema/core/bdo.ttl"/>
<prefix rdf:datatype="&xsd;string">bdo</prefix>
<adm:ontVisible rdf:datatype="&xsd;boolean">true</adm:ontVisible>
</OntologySpec>


<!-- roles -->

<OntologySpec>
<!-- local version of the ChineseMonastic vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/roles/ChineseMonastic/"/>
<altURL rdf:resource="&local;owl-schema/roles/chinese_monastic.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Creator vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/roles/Creator/"/>
<altURL rdf:resource="&local;owl-schema/roles/creators.ttl"/>
</OntologySpec>


<!-- schemes -->

<OntologySpec>
<!-- local version of the Content Method vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/schemes/core/ContentMethodScheme/"/>
<altURL rdf:resource="&local;owl-schema/schemes/core/ContentMethodScheme.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the FEMCScheme vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/schemes/taxonomy/FEMCScheme/"/>
<altURL rdf:resource="&local;owl-schema/schemes/taxonomy/FEMCScheme.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the IdentifierScheme vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/schemes/core/IdentifierScheme/"/>
<altURL rdf:resource="&local;owl-schema/schemes/core/IdentifierScheme.ttl"/>
</OntologySpec>


<!-- translations -->

<OntologySpec>
<!-- local version of the Admin translations vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/translations/CoreBo/"/>
<altURL rdf:resource="&local;owl-schema/translations/core_bo.ttl"/>
</OntologySpec>


<!-- types -->

<OntologySpec>
<!-- local version of the Binding vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Binding/"/>
<altURL rdf:resource="&local;owl-schema/types/bindings.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the DateIndication vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/DateIndication/"/>
<altURL rdf:resource="&local;owl-schema/types/date_indications.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Gender vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Gender/"/>
<altURL rdf:resource="&local;owl-schema/types/gender.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the LangScript vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/LangScript/"/>
<altURL rdf:resource="&local;owl-schema/types/lang_scripts.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Language vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Language/"/>
<altURL rdf:resource="&local;owl-schema/types/languages.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the LineageType vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/LineageType/"/>
<altURL rdf:resource="&local;owl-schema/types/lineage_types.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Material vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Material/"/>
<altURL rdf:resource="&local;owl-schema/types/materials.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the PaginationType vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/PaginationType/"/>
<altURL rdf:resource="&local;owl-schema/types/pagination_types.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the PartType vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/PartType/"/>
<altURL rdf:resource="&local;owl-schema/types/part_types.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the PlaceType vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/PlaceType/"/>
<altURL rdf:resource="&local;owl-schema/types/place_types.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the PrintMethod vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/PrintMethod/"/>
<altURL rdf:resource="&local;owl-schema/types/print_methods.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Script vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Script/"/>
<altURL rdf:resource="&local;owl-schema/types/scripts.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Taxonomy vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Taxonomy/"/>
<altURL rdf:resource="&local;owl-schema/types/taxonomy.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Tradition vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Tradition/"/>
<altURL rdf:resource="&local;owl-schema/types/traditions.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the Transliteration vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/Transliteration/"/>
<altURL rdf:resource="&local;owl-schema/types/transliterations.ttl"/>
</OntologySpec>

<OntologySpec>
<!-- local version of the WorkType vocabulary -->
<publicURI rdf:resource="http://purl.bdrc.io/ontology/types/WorkType/"/>
<altURL rdf:resource="&local;owl-schema/types/work_types.ttl"/>
</OntologySpec>

</rdf:RDF>
Loading

0 comments on commit 3f7a5ff

Please sign in to comment.