position form updates for ISF
This commit is contained in:
parent
afedf991f2
commit
c162d3d84b
2 changed files with 6 additions and 5 deletions
|
@ -24,7 +24,8 @@ local:personInPositionConfig a :ObjectPropertyDisplayConfig ;
|
|||
:displayName "positions" ;
|
||||
:listViewConfigFile "listViewConfig-personInPosition.xml"^^xsd:string ;
|
||||
:propertyGroup <http://vivoweb.org/ontology#vitroPropertyGroupaffiliation> ;
|
||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public .
|
||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||
vitro:customEntryFormAnnot "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.PersonHasPositionHistoryGenerator"^^xsd:string .
|
||||
|
||||
local:authorInAuthorshipContext a :ConfigContext ;
|
||||
:hasConfiguration local:authorInAuthorshipConfig ;
|
||||
|
|
|
@ -30,8 +30,8 @@ public class PersonHasPositionHistoryGenerator extends VivoBaseGenerator impleme
|
|||
|
||||
final static String positionClass = vivoCore + "Position";
|
||||
final static String orgClass = "http://xmlns.com/foaf/0.1/Organization";
|
||||
final static String positionInOrgPred = vivoCore + "positionInOrganization";
|
||||
final static String orgForPositionPred = vivoCore + "organizationForPosition";
|
||||
final static String positionInOrgPred = vivoCore + "relates";
|
||||
final static String orgForPositionPred = vivoCore + "relatedBy";
|
||||
final static String positionToInterval = vivoCore + "dateTimeInterval";
|
||||
final static String intervalType = vivoCore + "DateTimeInterval";
|
||||
final static String intervalToStart = vivoCore + "start";
|
||||
|
@ -166,9 +166,9 @@ public class PersonHasPositionHistoryGenerator extends VivoBaseGenerator impleme
|
|||
|
||||
final static String n3ForNewPosition =
|
||||
"@prefix core: <" + vivoCore + "> . \n" +
|
||||
"?person core:personInPosition ?position . \n" +
|
||||
"?person core:relatedBy ?position . \n" +
|
||||
"?position a ?positionType . \n" +
|
||||
"?position core:positionForPerson ?person ; ";
|
||||
"?position core:relates ?person ; ";
|
||||
|
||||
final static String positionTitleAssertion =
|
||||
"?position <" + label + "> ?positionTitle .";
|
||||
|
|
Loading…
Add table
Reference in a new issue