diff --git a/productMods/edit/forms/personHasEducationalBackground.jsp b/productMods/edit/forms/personHasEducationalBackground.jsp index fac317b7..9811ccec 100644 --- a/productMods/edit/forms/personHasEducationalBackground.jsp +++ b/productMods/edit/forms/personHasEducationalBackground.jsp @@ -147,9 +147,6 @@ core:organizationGrantingDegree (EducationalBackground : Organization) - no inve <%-- Break up the new org type and subclass assertions, so that if there is no subclass, the org type still gets asserted. --%> - ?newOrg a <${orgClass}> . - - ?newOrg a ?newOrgType . @@ -159,22 +156,17 @@ the org type still gets asserted. --%> ?person core:educationalBackground ?edBackgroundUri . ?edBackgroundUri core:educationalBackgroundOf ?person ; - a core:EducationalBackground ; - a <${flagURI}> . + a core:EducationalBackground , + <${flagURI}> . ?newOrg <${label}> ?newOrgName ; - a <${orgClass}> , + a ?newOrgType , <${flagURI}> . ?edBackgroundUri <${orgGrantingDegree}> ?newOrg . -<%-- Break up the new org type and subclass assertions, so that if there is no subclass, -the type still gets asserted. --%> - - ?newOrg a ?newOrgType . - ${edBackgroundClass} ${orgClass} @@ -193,8 +185,8 @@ the type still gets asserted. --%> "n3required" : [ "${n3ForStmtToPerson}", "${degreeAssertion}", "${majorFieldAssertion}", "${yearAssertion}" ], "n3optional" : [ "${organizationUriAssertion}", - "${n3ForNewOrg}", "${n3ForNewOrgSubClass}", "${newOrgNameAssertion}", "${newOrgTypeAssertion}", - "${newOrgSubClassAssertion}", "${deptAssertion}", "${infoAssertion}" ], + "${n3ForNewOrg}", "${newOrgNameAssertion}", "${newOrgTypeAssertion}", + "${deptAssertion}", "${infoAssertion}" ], "newResources" : { "edBackgroundUri" : "${defaultNamespace}", "newOrg" : "${defaultNamespace}" }, @@ -270,7 +262,7 @@ the type still gets asserted. --%> "objectClassUri" : "", "rangeDatatypeUri" : "${stringDatatypeUriJson}", "rangeLang" : "", - "assertions" : [ "${n3ForNewOrg}", "${n3ForNewOrgSubClass}" ] + "assertions" : [ "${n3ForNewOrg}" ] }, "newOrgType" : { "newResource" : "false", @@ -281,7 +273,7 @@ the type still gets asserted. --%> "objectClassUri" : "${orgClassUriJson}", "rangeDatatypeUri" : "", "rangeLang" : "", - "assertions" : [ "${newOrgTypeAssertion}", "${newOrgSubClassAssertion}" ] + "assertions" : [ "${newOrgTypeAssertion}" ] }, "dept" : { "newResource" : "false", diff --git a/productMods/edit/forms/personHasPositionHistory.jsp b/productMods/edit/forms/personHasPositionHistory.jsp index 40d8e3b2..2d848884 100644 --- a/productMods/edit/forms/personHasPositionHistory.jsp +++ b/productMods/edit/forms/personHasPositionHistory.jsp @@ -108,12 +108,7 @@ ?newOrg <${label}> ?newOrgName . -<%-- Break up the new org type and subclass assertions, so that if there is no subclass, -the type still gets asserted. --%> - ?newOrg a <${orgClass}> . - - ?newOrg a ?newOrgType . @@ -130,18 +125,12 @@ the type still gets asserted. --%> ?positionUri <${positionInOrgPred}> ?newOrg . - ?newOrg <${label}> ?newOrgName . - - ?newOrg a <${orgClass}> , + ?newOrg <${label}> ?newOrgName ; + a ?newOrgType , <${flagURI}> ; <${orgForPositionPred}> ?positionUri . -<%-- Break up the new org type and subclass assertions, so that if there is no subclass, -the type still gets asserted. --%> - - ?newOrg a ?newOrgType . - ${positionClass} ${orgClass} @@ -159,8 +148,8 @@ the type still gets asserted. --%> "n3required" : [ "${n3ForStmtToPerson}", "${titleAssertion}", "${startYearAssertion}" ], "n3optional" : [ "${organizationUriAssertion}", - "${n3ForNewOrg}", "${n3ForNewOrgSubClass}", "${newOrgNameAssertion}", "${newOrgTypeAssertion}", - "${newOrgSubClassAssertion}", "${endYearAssertion}"], + "${n3ForNewOrg}", "${newOrgNameAssertion}", "${newOrgTypeAssertion}", + "${endYearAssertion}"], "newResources" : { "positionUri" : "${defaultNamespace}", "newOrg" : "${defaultNamespace}" }, @@ -224,7 +213,7 @@ the type still gets asserted. --%> "objectClassUri" : "", "rangeDatatypeUri" : "${stringDatatypeUriJson}", "rangeLang" : "", - "assertions" : [ "${n3ForNewOrg}", "${n3ForNewOrgSubClass}" ] + "assertions" : [ "${n3ForNewOrg}" ] }, "newOrgType" : { "newResource" : "false", @@ -235,7 +224,7 @@ the type still gets asserted. --%> "objectClassUri" : "${orgClassUriJson}", "rangeDatatypeUri" : "", "rangeLang" : "", - "assertions" : [ "${newOrgTypeAssertion}", "${newOrgSubClassAssertion}" ] + "assertions" : [ "${newOrgTypeAssertion}" ] }, "startYear" : { "newResource" : "false",