From f4759530133becd7f833b77b9b595bc135d0ebfa Mon Sep 17 00:00:00 2001 From: rjy7 Date: Fri, 21 Jan 2011 21:11:02 +0000 Subject: [PATCH] NIHVIVO-1863 Fix error in collated educational training query: reference was erroneously to core:Organization rather than foaf:Organization, which is why collation wasn't working. --- productMods/config/listViewConfig-educationalTraining.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/productMods/config/listViewConfig-educationalTraining.xml b/productMods/config/listViewConfig-educationalTraining.xml index 7e8fab4e..fb2f5c8d 100644 --- a/productMods/config/listViewConfig-educationalTraining.xml +++ b/productMods/config/listViewConfig-educationalTraining.xml @@ -43,6 +43,7 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX core: <http://vivoweb.org/ontology/core#> PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#> + PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?subclass ?edTraining ?edTrainingName @@ -56,7 +57,7 @@ } OPTIONAL { GRAPH ?g2 { ?edTraining core:trainingAtOrganization ?org } GRAPH ?g3 { ?org rdfs:label ?orgName } - OPTIONAL { GRAPH ?g4 { ?subclass rdfs:subClassOf core:Organization } + OPTIONAL { GRAPH ?g4 { ?subclass rdfs:subClassOf foaf:Organization } GRAPH ?g5 { ?org a ?subclass } FILTER (?g5 != <http://vitro.mannlib.cornell.edu/default/inferred-tbox> && ?g5 != <http://vitro.mannlib.cornell.edu/default/vitro-kb-inf> )