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.
This commit is contained in:
parent
5bfd82bff4
commit
f475953013
1 changed files with 2 additions and 1 deletions
|
@ -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> )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue