NIHVIVO-1336 Educational training list view config
This commit is contained in:
parent
68087eea1d
commit
74cbc3a197
2 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<view-config>
|
||||
<query>
|
||||
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)
|
||||
</query>
|
||||
|
||||
<template>objectPropertyList-educationalTraining.ftl</template>
|
||||
</view-config>
|
|
@ -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>
|
||||
<div class="obj-prop-stmt-obj">
|
||||
<a href="${statement.object.url}">${statement.object.name}</a> ${statement.object.moniker!}
|
||||
</div> <!-- end obj-prop-stmt-obj -->
|
||||
</#list>
|
Loading…
Add table
Add a link
Reference in a new issue