NIHVIVO-3271 list view for internal and external concepts

This commit is contained in:
stellamit 2011-11-06 03:17:23 +00:00
parent 12d80e0a3f
commit 4aa5c90b5e
2 changed files with 10 additions and 10 deletions

View file

@ -8,12 +8,14 @@
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
SELECT ?conceptLabel ?concept
SELECT ?concept ?conceptLabel ?conceptName
WHERE {
?subject ?property ?concept .
?concept rdfs:label ?conceptLabel
} ORDER BY ?conceptLabel
LET (?conceptName := afn:localname(?concept))
optional {?concept rdfs:label ?conceptLabel}
} ORDER BY ?conceptLabel ?conceptName
</query-select>
<query-construct>
@ -23,7 +25,7 @@
?concept rdfs:label ?conceptLabel
} WHERE {
?subject ?property ?concept .
?concept rdfs:label ?conceptLabel
optional {?concept rdfs:label ?conceptLabel}
}
</query-construct>
<template>propStatement-hasAssociatedConcept.ftl</template>