diff --git a/productMods/config/objectPropertyList-educationalTraining.xml b/productMods/config/objectPropertyList-educationalTraining.xml index e69de29b..1eff095f 100644 --- a/productMods/config/objectPropertyList-educationalTraining.xml +++ b/productMods/config/objectPropertyList-educationalTraining.xml @@ -0,0 +1,23 @@ + + + + + PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> + PREFIX core: <http://vivoweb.org/ontology/core#> + + SELECT DISTINCT ?edTraining ?organization ?degree ?degreeAbbr ?majorField ?deptOrSchool ?info ?dateTime WHERE { + ?subject ?property ?edTraining . + ?edTraining core:trainingAtOrganization ?organization . + OPTIONAL { ?edTraining core:degreeEarned ?degree . } + OPTIONAL { ?degree rdfs:label ?degreeName . } + OPTIONAL { ?degree core:abbreviation ?degreeAbbr . } + OPTIONAL { ?degree core:majorField ?majorField . } + OPTIONAL { ?degree core:departmentOrSchool ?deptOrSchool . } + OPTIONAL { ?degree core:supplementalInformation ?info . } + OPTIONAL { ?edTraining core:dateTimeInterval ?interval . } + OPTIONAL { ?interval core:hasDateTimeValue ?dateTime . } + } ORDER BY DESC(?dateTime) + + + + \ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/objectPropertyList-educationalTraining.ftl b/productMods/templates/freemarker/body/partials/individual/objectPropertyList-educationalTraining.ftl new file mode 100644 index 00000000..53d30b13 --- /dev/null +++ b/productMods/templates/freemarker/body/partials/individual/objectPropertyList-educationalTraining.ftl @@ -0,0 +1,9 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- Custom object property list view for http://vivoweb.org/ontology/core#educationalTraining --> + +<#list property.statements as statement> +
+ ${statement.object.name} ${statement.object.moniker!} +
+ \ No newline at end of file