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$ -->
|
|
|
|
|
|
|
|
<!-- Default list view config file for collated object properties
|
|
|
|
|
|
|
|
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
|
|
|
|
|
|
|
<list-view-config>
|
2011-01-19 20:46:36 +00:00
|
|
|
<query-base>
|
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-01-13 21:11:19 +00:00
|
|
|
} ORDER BY ?rank
|
2011-01-19 20:46:36 +00:00
|
|
|
</query-base>
|
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>
|