NIHVIVO 3778 vivo components for data prop list views

This commit is contained in:
tworrall 2012-06-05 15:58:22 +00:00
parent dfc20c5f3c
commit 182b4e7226
5 changed files with 103 additions and 0 deletions

View file

@ -175,5 +175,15 @@
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#hasResearchArea">
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasAssociatedConcept.xml</display:listViewConfigFile>
</rdf:Description>
<!--
******************************************************************
data property custom list views
******************************************************************
-->
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#scopusId">
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-scopusId.xml</display:listViewConfigFile>
</rdf:Description>
</rdf:RDF>

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- VIVO-specific default list view config file for object properties
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
SELECT ?value
WHERE {
?subject ?property ?value
FILTER isLiteral(?value)
} ORDER BY ?value
</query-select>
<query-construct>
CONSTRUCT {
?subject ?property ?value
} WHERE {
?subject ?property ?value
}
</query-construct>
<template>propStatement-dataDefault.ftl</template>
</list-view-config>

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<!-- VIVO-specific default list view config file for object properties
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
<list-view-config>
<query-select>
SELECT ?value
WHERE {
?subject ?property ?value
FILTER isLiteral(?value)
} ORDER BY ?object
</query-select>
<query-construct>
CONSTRUCT {
?subject ?property ?value
} WHERE {
?subject ?property ?value
}
</query-construct>
<template>propStatement-scopusId.ftl</template>
</list-view-config>

View file

@ -0,0 +1,18 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- VIVO-specific default data property statement template.
This template must be self-contained and not rely on other variables set for the individual page, because it
is also used to generate the property statement during a deletion.
-->
<@showStatement statement />
<#macro showStatement statement>
${statement.value!}
</#macro>

View file

@ -0,0 +1,18 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- VIVO-specific default data property statement template.
This template must be self-contained and not rely on other variables set for the individual page, because it
is also used to generate the property statement during a deletion.
-->
<@showStatement statement />
<#macro showStatement statement>
<a href="http://www.scopus.com/authid/detail.url?authorId=${statement.value!}" title="Scopus ID Link" target="_blank">${statement.value!}</a>
</#macro>