From 12d80e0a3f99e9271101f4bc6cdea065f092a240 Mon Sep 17 00:00:00 2001 From: stellamit Date: Sun, 6 Nov 2011 01:25:22 +0000 Subject: [PATCH] update to concept list view --- .../config/listViewConfig-hasAssociatedConcept.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/productMods/config/listViewConfig-hasAssociatedConcept.xml b/productMods/config/listViewConfig-hasAssociatedConcept.xml index 8076e08e..8cec32d1 100644 --- a/productMods/config/listViewConfig-hasAssociatedConcept.xml +++ b/productMods/config/listViewConfig-hasAssociatedConcept.xml @@ -7,16 +7,24 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX vivo: <http://vivoweb.org/ontology/core#> - PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> - PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?conceptLabel ?concept WHERE { ?subject ?property ?concept . - optional {?concept rdfs:label ?conceptLabel} + ?concept rdfs:label ?conceptLabel } ORDER BY ?conceptLabel + + PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> + CONSTRUCT { + ?subject ?property ?concept . + ?concept rdfs:label ?conceptLabel + } WHERE { + ?subject ?property ?concept . + ?concept rdfs:label ?conceptLabel + } +