63 lines
2.3 KiB
XML
63 lines
2.3 KiB
XML
<?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 core:webpage
|
|
|
|
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
|
|
|
<list-view-config>
|
|
<query-select>
|
|
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
|
|
|
SELECT ?vcard ?link
|
|
(afn:localname(?link) AS ?linkName)
|
|
?label
|
|
?url
|
|
?rank WHERE {
|
|
?subject ?property ?vcard .
|
|
?vcard vcard:hasURL ?link
|
|
OPTIONAL { ?link rdfs:label ?label }
|
|
OPTIONAL { ?link vcard:url ?url }
|
|
OPTIONAL { ?link core:rank ?rank }
|
|
<critical-data-required>
|
|
FILTER ( bound(?link) )
|
|
</critical-data-required>
|
|
} ORDER BY ?rank ?label
|
|
</query-select>
|
|
|
|
<query-construct>
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
|
CONSTRUCT {
|
|
?subject ?property ?vcard .
|
|
?vcard vcard:hasURL ?link .
|
|
?link vcard:url ?url .
|
|
?link core:rank ?rank .
|
|
?link rdfs:label ?label
|
|
} WHERE {
|
|
{
|
|
?subject ?property ?vcard .
|
|
?vcard vcard:hasURL ?link
|
|
} UNION {
|
|
?subject ?property ?vcard .
|
|
?vcard vcard:hasURL ?link .
|
|
?link vcard:url ?url
|
|
} UNION {
|
|
?subject ?property ?vcard .
|
|
?vcard vcard:hasURL ?link .
|
|
?link core:rank ?rank
|
|
} UNION {
|
|
?subject ?property ?vcard .
|
|
?vcard vcard:hasURL ?link .
|
|
?link rdfs:label ?label
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<template>propStatement-webpage.ftl</template>
|
|
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.MaintainDuplicatesObjectPropertyDataPostProcessor</postprocessor>
|
|
</list-view-config>
|