From eaccbe2997b9726d66e99ae87ec1fa819126d4c1 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 6 Jul 2010 15:28:47 +0000 Subject: [PATCH] NIHVIVO-714 Fixes to ed background form and short view for ontology changes to degree-related properties --- .../edit/forms/personHasEducationalBackground.jsp | 14 +++++++------- .../entity/educationalTrainingShortView.jsp | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/productMods/edit/forms/personHasEducationalBackground.jsp b/productMods/edit/forms/personHasEducationalBackground.jsp index e7be4546..4c17bd9b 100644 --- a/productMods/edit/forms/personHasEducationalBackground.jsp +++ b/productMods/edit/forms/personHasEducationalBackground.jsp @@ -20,8 +20,8 @@ Object properties (domain : range) core:educationalBackground (Person : EducationalTraining) - inverse of educationalBackgroundOf core:educationalBackgroundOf (EducationalTraining : Person) - inverse of educationalBackground -core:degreeTypeAwarded (EducationalTraining : AcademicDegree) - inverse of awardedTo -core:awardedTo (AcademicDegree : EducationalTraining) - inverse of degreeTypeAwarded +core:degreeEarned (EducationalTraining : AcademicDegree) - inverse of degreeOutcomeOf +core:degreeOutcomeOf (AcademicDegree : EducationalTraining) - inverse of degreeEarned core:organizationGrantingDegree (EducationalTraining : Organization) - no inverse @@ -145,15 +145,15 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision) <%-- Note there is really no difference in how things are set up for an object property except below in the n3ForEdit section, in whether the ..Existing variable goes in SparqlForExistingLiterals or in the SparqlForExistingUris, as well as perhaps in how the options are prepared --%> - - + + SELECT ?existingDegreeUri WHERE { - ?edTrainingUri <${hasDegree}> ?existingDegreeUri } + ?edTrainingUri <${degreeEarned}> ?existingDegreeUri } - ?edTrainingUri <${hasDegree}> ?degreeUri . - ?degreeUri <${degreeFor}> ?edTrainingUri . + ?edTrainingUri <${degreeEarned}> ?degreeUri . + ?degreeUri <${degreeOutcomeOf}> ?edTrainingUri . diff --git a/productMods/templates/entity/educationalTrainingShortView.jsp b/productMods/templates/entity/educationalTrainingShortView.jsp index 7fc9a397..6955d12a 100644 --- a/productMods/templates/entity/educationalTrainingShortView.jsp +++ b/productMods/templates/entity/educationalTrainingShortView.jsp @@ -18,9 +18,9 @@ <%-- Degree type and major --%> - - - + + + @@ -71,7 +71,7 @@ <%-- SUBJECT is a Degree Type --%> - +