NIHVIVO-1510 Collated custom list views
This commit is contained in:
parent
0a28fc7db1
commit
bf9b23b331
3 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,7 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||
|
||||
SELECT DISTINCT ?subClass ?authorship (afn:localname(?authorship) AS ?authorshipName)
|
||||
SELECT DISTINCT ?subclass ?authorship (afn:localname(?authorship) AS ?authorshipName)
|
||||
?infoResource ?infoResourceName ?dateTime WHERE {
|
||||
GRAPH ?g1 { ?subject ?property ?authorship }
|
||||
GRAPH ?g2 { ?authorship core:linkedInformationResource ?infoResource }
|
||||
|
@ -36,8 +36,8 @@
|
|||
OPTIONAL { GRAPH ?g4 { ?subclass rdfs:subClassOf core:InformationResource }
|
||||
GRAPH ?g5 { ?infoResource a ?subclass } }
|
||||
OPTIONAL { GRAPH ?g6 { ?infoResource core:hasDateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime . } }
|
||||
} ORDER BY ?subClass DESC(?dateTime) ?infoResourceName
|
||||
?dateTimeValue core:dateTime ?dateTime . } }
|
||||
} ORDER BY ?subclass DESC(?dateTime) ?infoResourceName
|
||||
</query>
|
||||
|
||||
<template>propStatement-authorInAuthorship.ftl</template>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<a href="${url(statement.infoResource)}">${statement.infoResourceName}</a>
|
||||
<#else>
|
||||
<#-- This shouldn't happen, but we must provide for it -->
|
||||
<a href="${url(statement.authorship)}">(no linked publication) ${statement.authorshipName}</a>
|
||||
<a href="${url(statement.authorship)}">${statement.authorshipName}</a> (no linked information resource)
|
||||
</#if>
|
||||
</#assign>
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<a href="${url(statement.org)}">${statement.orgName}</a>
|
||||
<#else>
|
||||
<#-- This shouldn't happen, but we must provide for it -->
|
||||
<a href="${url(statement.edTraining)}">(no linked organization) ${statement.edTrainingName}</a>
|
||||
<a href="${url(statement.edTraining)}">${statement.edTrainingName}</a> (no linked organization)
|
||||
</#if>
|
||||
</#assign>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue