NIHVIVO-1317 Migrated custom list view from vitro:primaryLink and vitro:additionalLink to core:webpage
This commit is contained in:
parent
4a2877abfa
commit
c5c4ecd394
6 changed files with 4 additions and 102 deletions
|
@ -1,41 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<!-- Custom list view config file for vitro link properties
|
||||
|
||||
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
||||
|
||||
<list-view-config>
|
||||
<query-select>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||
|
||||
SELECT ?link
|
||||
(afn:localname(?link) AS ?linkName)
|
||||
?anchor
|
||||
?url WHERE {
|
||||
?subject ?property ?link
|
||||
OPTIONAL { ?link vitro:linkAnchor ?anchor }
|
||||
OPTIONAL { ?link vitro:linkURL ?url }
|
||||
OPTIONAL { ?link vitro:linkDisplayRank ?rank }
|
||||
<critical-data-required>
|
||||
FILTER ( bound(?anchor) && bound(?url) )
|
||||
</critical-data-required>
|
||||
} ORDER BY ?rank
|
||||
</query-select>
|
||||
|
||||
<query-construct>
|
||||
CONSTRUCT {
|
||||
?subject ?property ?link .
|
||||
?link ?linkProp ?linkObj
|
||||
} WHERE {
|
||||
{ ?subject ?property ?link }
|
||||
UNION {
|
||||
?subject ?property ?link .
|
||||
?link ?linkProp ?linkObj
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<template>propStatement-vitroLink.ftl</template>
|
||||
</list-view-config>
|
Loading…
Add table
Add a link
Reference in a new issue