update to concept list view

This commit is contained in:
stellamit 2011-11-06 01:25:22 +00:00
parent 30d26ffa81
commit 12d80e0a3f

View file

@ -7,16 +7,24 @@
<query-select>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
PREFIX vivo: &lt;http://vivoweb.org/ontology/core#&gt;
PREFIX afn: &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
PREFIX skos: &lt;http://www.w3.org/2004/02/skos/core#&gt;
PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;
SELECT ?conceptLabel ?concept
WHERE {
?subject ?property ?concept .
optional {?concept rdfs:label ?conceptLabel}
?concept rdfs:label ?conceptLabel
} ORDER BY ?conceptLabel
</query-select>
<query-construct>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;
CONSTRUCT {
?subject ?property ?concept .
?concept rdfs:label ?conceptLabel
} WHERE {
?subject ?property ?concept .
?concept rdfs:label ?conceptLabel
}
</query-construct>
<template>propStatement-hasAssociatedConcept.ftl</template>
</list-view-config>