File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -190,16 +190,20 @@ public function queryMetadataCollections($metadataSource)
190
190
SELECT ?collection ?usedBy ?label ?isRestricted ?permittedForLibrary WHERE {
191
191
?collection a amsl:MetadataCollection .
192
192
?collection amsl:includedInMetadataSource < " . $ metadataSource . "> .
193
- ?collection rdfs:label ?label
193
+ ?collection rdfs:label ?label .
194
+ ?collection amsl:metadataAvailable ?metadata
194
195
OPTIONAL {
195
- ?collection amsl:metadataUsedByLibrary ?usedBy . FILTER (?usedBy = < " . $ membership . ">)
196
+ ?collection amsl:metadataUsedByLibrary ?usedBy .
197
+ FILTER (?usedBy = < " . $ membership . ">)
196
198
}
197
199
OPTIONAL {
198
200
?collection amsl:metadataUsageRestricted ?isRestricted .
199
201
}
200
202
OPTIONAL {
201
- ?collection amsl:metadataUsagePermittedForLibrary ?permittedForLibrary . FILTER (?permittedForLibrary = < " . $ membership . ">)
203
+ ?collection amsl:metadataUsagePermittedForLibrary ?permittedForLibrary .
204
+ FILTER (?permittedForLibrary = < " . $ membership . ">)
202
205
}
206
+ FILTER (?metadata != amsl:No)
203
207
} " ;
204
208
$ result = $ this ->_model ->sparqlQuery ($ query );
205
209
return $ result ;
You can’t perform that action at this time.
0 commit comments