removed the collate tags so that the subclass will be available to the list view in the event that collate by subclass is turned off

This commit is contained in:
tworrall 2012-01-05 14:55:29 +00:00
parent 5480a2d8ba
commit 47b47d0b69

View file

@ -11,7 +11,7 @@
PREFIX bibo: <http://purl.org/ontology/bibo/> PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
SELECT DISTINCT <collated> ?subclass </collated> SELECT DISTINCT ?subclass
?authorship ?authorship
?infoResource ?infoResourceName ?infoResource ?infoResourceName
?dateTime ?dateTime
@ -46,11 +46,9 @@
?partOfObj rdfs:label ?partOf ?partOfObj rdfs:label ?partOf
} }
<collated>
OPTIONAL { ?infoResource vitro:mostSpecificType ?subclass . OPTIONAL { ?infoResource vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf core:InformationResource ?subclass rdfs:subClassOf core:InformationResource
} }
</collated>
OPTIONAL { ?infoResource core:hasPublicationVenue ?publishedIn . OPTIONAL { ?infoResource core:hasPublicationVenue ?publishedIn .
?publishedIn rdfs:label ?journal ?publishedIn rdfs:label ?journal
} }
@ -61,7 +59,7 @@
<critical-data-required> <critical-data-required>
FILTER ( bound(?infoResource) ) FILTER ( bound(?infoResource) )
</critical-data-required> </critical-data-required>
} ORDER BY <collated> ?subclass </collated> DESC(?dateTime) ?infoResourceName } ORDER BY ?subclass DESC(?dateTime) ?infoResourceName
</query-select> </query-select>
<query-construct> <query-construct>