diff --git a/productMods/WEB-INF/ontologies/app/loadedAtStartup/PropertyConfig.n3 b/productMods/WEB-INF/ontologies/app/loadedAtStartup/PropertyConfig.n3 index 42625bb4..0bafcf23 100644 --- a/productMods/WEB-INF/ontologies/app/loadedAtStartup/PropertyConfig.n3 +++ b/productMods/WEB-INF/ontologies/app/loadedAtStartup/PropertyConfig.n3 @@ -196,3 +196,95 @@ local:hasResearcherRoleConfig a :ObjectPropertyDisplayConfig ; vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddResearcherRoleToPersonGenerator"^^ ; :propertyGroup . +m +local:hasInvestigatorRoleContext a :ConfigContext ; + :hasConfiguration local:hasInvestigatorRoleConfig ; + :configContextFor ; + :qualifiedBy . + +local:hasInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ; + :listViewConfigFile "listViewConfig-hasInvestigatorRole.xml"^^xsd:string ; + :displayName "investigator on" ; + vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ; + vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; + vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddGrantRoleToPersonGenerator"^^ ; + :propertyGroup . + +local:hasPrincipalInvestigatorRoleContext a :ConfigContext ; + :hasConfiguration local:hasPrincipalInvestigatorRoleConfig ; + :configContextFor ; + :qualifiedBy . + +local:hasPrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ; + :listViewConfigFile "listViewConfig-hasInvestigatorRole.xml"^^xsd:string ; + :displayName "principal investigator on" ; + vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ; + vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; + vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddGrantRoleToPersonGenerator"^^ ; + :propertyGroup . + +local:hasCo-PrincipalInvestigatorRoleContext a :ConfigContext ; + :hasConfiguration local:hasCo-PrincipalInvestigatorRoleConfig ; + :configContextFor ; + :qualifiedBy . + +local:hasCo-PrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ; + :listViewConfigFile "listViewConfig-hasInvestigatorRole.xml"^^xsd:string ; + :displayName "co-principal investigator on" ; + vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ; + vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; + vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddGrantRoleToPersonGenerator"^^ ; + :propertyGroup . + +local:hasPresenterRoleContext a :ConfigContext ; + :hasConfiguration local:hasPresenterRoleConfig ; + :configContextFor ; + :qualifiedBy . + +local:hasPresenterRoleConfig a :ObjectPropertyDisplayConfig ; + :listViewConfigFile "listViewConfig-hasPresenterRole.xml"^^xsd:string ; + :displayName "presentations" ; + vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ; + vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; + vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddPresenterRoleToPersonGenerator"^^ ; + :propertyGroup . + +local:awardOrHonorContext a :ConfigContext ; + :hasConfiguration local:awardOrHonorConfig ; + :configContextFor ; + :qualifiedBy . + +local:awardOrHonorConfig a :ObjectPropertyDisplayConfig ; + :listViewConfigFile "listViewConfig-awardOrHonor.xml"^^xsd:string ; + :displayName "awards and honors" ; + vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ; + vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; + vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.PersonHasAwardOrHonorGenerator"^^ ; + :propertyGroup . + +local:educationalTrainingContext a :ConfigContext ; + :hasConfiguration local:educationalTrainingConfig ; + :configContextFor ; + :qualifiedBy . + +local:educationalTrainingConfig a :ObjectPropertyDisplayConfig ; + :listViewConfigFile "listViewConfig-educationalTraining.xml"^^xsd:string ; + :displayName "education and training" ; + vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ; + vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; + vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.PersonHasEducationalTraining"^^ ; + :propertyGroup . + +local:informationResourceInAuthorshipContext a :ConfigContext ; + :hasConfiguration local:informationResourceInAuthorshipConfig ; + :configContextFor ; + :qualifiedByDomain . + :qualifiedBy . + +local:informationResourceInAuthorshipConfig a :ObjectPropertyDisplayConfig ; + :listViewConfigFile "listViewConfig-informationResourceInAuthorship.xml"^^xsd:string ; + :displayName "authors" ; + vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ; + vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:public ; + vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.AddAuthorsToInformationResourceGenerator"^^ ; + :propertyGroup . diff --git a/src/org/vivoweb/webapp/util/ModelUtils.java b/src/org/vivoweb/webapp/util/ModelUtils.java index 4277fded..9b62e3c4 100644 --- a/src/org/vivoweb/webapp/util/ModelUtils.java +++ b/src/org/vivoweb/webapp/util/ModelUtils.java @@ -20,9 +20,9 @@ public class ModelUtils { private static final Log log = LogFactory.getLog(ModelUtils.class.getName()); - private static final String processPropertyURI = "http://vivoweb.org/ontology/core#roleRealizedIn"; - private static final String processPropertyInverseURI = "http://vivoweb.org/ontology/core#realizedRole"; - private static final String nonProcessPropertyURI = "http://vivoweb.org/ontology/core#roleContributesTo"; + private static final String processPropertyURI = "http://purl.obolibrary.org/obo/BFO_0000054"; + private static final String processPropertyInverseURI = "http://purl.obolibrary.org/obo/BFO_0000055"; + private static final String nonProcessPropertyURI = "http://vivoweb.org/ontology/core#relatedBy"; private static final String nonProcessPropertyInverseURI = "http://vivoweb.org/ontology/core#contributingRole"; private static Set processClass = new HashSet();