Change PropertyKey class name and namespace (#386)
* Change PropertyKey class name and namespace * Fix prefix/namespace error found in code review.
This commit is contained in:
parent
c527de5ad8
commit
a22aa37394
14 changed files with 31468 additions and 31469 deletions
|
@ -22,11 +22,11 @@ import stubs.javax.servlet.ServletContextStub;
|
|||
public class TranslationConverterTest {
|
||||
|
||||
private static final String WILMA = "wilma";
|
||||
private static final String HAS_THEME = "http://vivoweb.org/ontology/core/properties/vocabulary#hasTheme";
|
||||
private static final String HAS_THEME = "http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasTheme";
|
||||
private static final String VITRO = "Vitro";
|
||||
private static final String VIVO = "VIVO";
|
||||
private static final String HAS_APP = "http://vivoweb.org/ontology/core/properties/vocabulary#hasApp";
|
||||
private static final String HAS_KEY = "http://vivoweb.org/ontology/core/properties/vocabulary#hasKey";
|
||||
private static final String HAS_APP = "http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp";
|
||||
private static final String HAS_KEY = "http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey";
|
||||
private static final String ROOT_PATH = "src/test/resources/edu/cornell/mannlib/vitro/webapp/i18n/TranslationConverterTest/root";
|
||||
private static final String INIT_N3_FILE = "src/test/resources/edu/cornell/mannlib/vitro/webapp/i18n/TranslationConverterTest/modelInitContent.n3";
|
||||
ServletContextStub ctx = new ServletContextStub();
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663600>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "value from n3 file"@en-US ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"VIVO" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"property_to_overwrite" .
|
||||
|
|
|
@ -4,74 +4,74 @@
|
|||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663600>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "testkey VIVO no theme en-US"@en-US ;
|
||||
rdfs:label "testkey VIVO no theme de-DE"@de-DE ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"VIVO" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"testkey" .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663601>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "testkey Vitro no theme en-US"@en-US ;
|
||||
rdfs:label "testkey Vitro no theme de-DE"@de-DE ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"Vitro" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"testkey" .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663602>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "testkey VIVO wilma en-US"@en-US ;
|
||||
rdfs:label "testkey VIVO wilma de-DE"@de-DE ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"VIVO" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasTheme>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasTheme>
|
||||
"wilma" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"testkey" .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663603>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "testkey Vitro wilma en-US"@en-US ;
|
||||
rdfs:label "testkey Vitro wilma de-DE"@de-DE ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"Vitro" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasTheme>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasTheme>
|
||||
"wilma" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"testkey" .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663604>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "testkey Vitro vitro en-US"@en-US ;
|
||||
rdfs:label "testkey Vitro vitro de-DE"@de-DE ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"Vitro" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasTheme>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasTheme>
|
||||
"vitro" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"testkey" .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663605>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "testkey_app_fallback Vitro wilma en-US"@en-US ;
|
||||
rdfs:label "testkey_app_fallback Vitro wilma de-DE"@de-DE ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"Vitro" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasTheme>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasTheme>
|
||||
"wilma" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"testkey_app_fallback" .
|
||||
|
||||
<urn:uuid:8c80dbf5-adda-41d5-a6fe-d5efde663606>
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/core/properties/vocabulary#PropertyKey> ;
|
||||
a owl:NamedIndividual , <http://vivoweb.org/ontology/vitro/ui-label/vocabulary#UILabel> ;
|
||||
rdfs:label "testkey_app_fallback Vitro no theme en-US"@en-US ;
|
||||
rdfs:label "testkey_app_fallback Vitro no theme de-DE"@de-DE ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasApp>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasApp>
|
||||
"Vitro" ;
|
||||
<http://vivoweb.org/ontology/core/properties/vocabulary#hasKey>
|
||||
<http://vivoweb.org/ontology/vitro/ui-label/vocabulary#hasKey>
|
||||
"testkey_app_fallback" .
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue