VIVO-958 Accommodate a migration directly from 1.5 data to 1.8
Move data directory from ontologies/update to version-specific directory ontologies/update17to18 Create ontologies/update15to16 and ontologies/update16to17 from previous update data directories. Revise UpdateKnowledgeBase to accept the data directory as a parameter instead of having it hard-coded. Create classes like Release18Migrator that will call UpdateKnowledgeBase with the appropriate directory, and do other release-specific migration tasks. Make corresponding changes in startup_listeners.txt
This commit is contained in:
parent
1a4485bb35
commit
061db63d75
86 changed files with 25505 additions and 5 deletions
|
@ -0,0 +1,15 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?concept a owl:Thing .
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
{ ?s vivo:hasResearchArea ?concept .
|
||||
?concept a owl:Thing }
|
||||
UNION
|
||||
{ ?s vivo:hasSubjectArea ?concept .
|
||||
?concept a owl:Thing }
|
||||
} FILTER (!regex(str(?g), "kb-inf"))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue