2011-01-13 21:11:19 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
2011-07-01 13:10:09 +00:00
|
|
|
<!-- Custom list view config file for vitro link properties
|
2011-01-13 21:11:19 +00:00
|
|
|
|
|
|
|
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
|
|
|
|
|
|
|
<list-view-config>
|
2011-03-02 22:32:57 +00:00
|
|
|
<query-select>
|
2011-01-13 21:11:19 +00:00
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
|
|
|
|
2011-01-19 20:46:36 +00:00
|
|
|
SELECT ?link
|
|
|
|
(afn:localname(?link) AS ?linkName)
|
|
|
|
?anchor
|
|
|
|
?url WHERE {
|
2011-01-31 21:53:24 +00:00
|
|
|
?subject ?property ?link
|
|
|
|
OPTIONAL { ?link vitro:linkAnchor ?anchor }
|
|
|
|
OPTIONAL { ?link vitro:linkURL ?url }
|
|
|
|
OPTIONAL { ?link vitro:linkDisplayRank ?rank }
|
2011-03-22 20:22:18 +00:00
|
|
|
<critical-data-required>
|
2011-03-22 18:52:39 +00:00
|
|
|
FILTER ( bound(?anchor) && bound(?url) )
|
2011-03-22 20:22:18 +00:00
|
|
|
</critical-data-required>
|
2011-01-13 21:11:19 +00:00
|
|
|
} ORDER BY ?rank
|
2011-03-02 22:32:57 +00:00
|
|
|
</query-select>
|
2011-01-31 21:53:24 +00:00
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?link .
|
|
|
|
?link ?linkProp ?linkObj
|
|
|
|
} WHERE {
|
|
|
|
{ ?subject ?property ?link }
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?link .
|
|
|
|
?link ?linkProp ?linkObj
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
2011-01-13 21:11:19 +00:00
|
|
|
|
|
|
|
<template>propStatement-vitroLink.ftl</template>
|
|
|
|
</list-view-config>
|