NIHVIVO-2426 knowledge base migration
This commit is contained in:
parent
a698e26c8d
commit
1c81c6c596
3 changed files with 50 additions and 13 deletions
|
@ -0,0 +1,20 @@
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||||
|
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||||
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||||
|
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||||
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||||
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||||
|
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||||
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
|
||||||
|
Construct {
|
||||||
|
?s ?p core:DependentResource
|
||||||
|
} where {
|
||||||
|
?s ?p core:DependentResource
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
||||||
|
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
||||||
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||||
|
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
||||||
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||||
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||||
|
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
||||||
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
|
||||||
|
Construct {
|
||||||
|
?s ?p vitro:DependentResource
|
||||||
|
} where {
|
||||||
|
?s ?p vitro:DependentResource
|
||||||
|
}
|
|
@ -107,27 +107,24 @@
|
||||||
</listener-class>
|
</listener-class>
|
||||||
</listener>
|
</listener>
|
||||||
|
|
||||||
|
<!-- Invokes process to perform knowledge base updates to align with ontology changes if needed -->
|
||||||
|
<listener>
|
||||||
|
<listener-class>edu.cornell.mannlib.vitro.webapp.servlet.setup.UpdateKnowledgeBase</listener-class>
|
||||||
|
</listener>
|
||||||
|
|
||||||
<!-- The following listener remains temporarily until SDB becomes the default triple store -->
|
<!-- The following listener remains temporarily until SDB becomes the default triple store -->
|
||||||
<listener>
|
<listener>
|
||||||
<listener-class>edu.cornell.mannlib.vitro.webapp.servlet.setup.AttachSubmodels</listener-class>
|
<listener-class>edu.cornell.mannlib.vitro.webapp.servlet.setup.AttachSubmodels</listener-class>
|
||||||
</listener>
|
</listener>
|
||||||
|
|
||||||
<!-- This listener sets up SimpleReasoner also in SDB mode. In SDB mode, Pellet is used for -->
|
<!-- This listener sets up SimpleReasoner also in SDB mode. In SDB mode, Pellet is used for -->
|
||||||
<!-- TBox reasoning and SimpleReasoner is used for ABox reasoning. In RDF mode, Pellet was -->
|
<!-- TBox reasoning and SimpleReasoner is used for ABox reasoning. In RDF mode, Pellet was -->
|
||||||
<!-- used for both. -->
|
<!-- used for both. -->
|
||||||
<listener>
|
<listener>
|
||||||
<listener-class>edu.cornell.mannlib.vitro.webapp.servlet.setup.PelletReasonerSetup</listener-class>
|
<listener-class>edu.cornell.mannlib.vitro.webapp.servlet.setup.PelletReasonerSetup</listener-class>
|
||||||
</listener>
|
</listener>
|
||||||
|
|
||||||
<!-- Invokes process to perform knowledge base updates to align with ontology changes if needed -->
|
<!-- The following listener records all edit changes, in reified form, to another database model -->
|
||||||
<!--
|
|
||||||
<listener>
|
|
||||||
<listener-class>edu.cornell.mannlib.vitro.webapp.servlet.setup.UpdateKnowledgeBase</listener-class>
|
|
||||||
</listener>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- The followng listener records all edit changes, in reified form, to another database model -->
|
|
||||||
<!-- still at an experimental stage -->
|
<!-- still at an experimental stage -->
|
||||||
<!-- if used, this listener should be run after all other Jena-related listeners, to avoid logging unnecessary data and slowing the context startup process -->
|
<!-- if used, this listener should be run after all other Jena-related listeners, to avoid logging unnecessary data and slowing the context startup process -->
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue