NIHVIVO-2186 Implement one approach to hiding statements with no linked individual from non-editors, and apply it to the authorInAuthorship list view query.
This commit is contained in:
parent
8ea4ffcce6
commit
5fd660947c
1 changed files with 16 additions and 11 deletions
|
@ -13,8 +13,11 @@
|
|||
?authorship
|
||||
?infoResource ?infoResourceName
|
||||
?dateTime WHERE {
|
||||
?subject ?property ?authorship
|
||||
OPTIONAL { ?authorship core:linkedInformationResource ?infoResource .
|
||||
?subject ?property ?authorship .
|
||||
<linked-individual-optional>
|
||||
OPTIONAL {
|
||||
</linked-individual-optional>
|
||||
?authorship core:linkedInformationResource ?infoResource .
|
||||
?infoResource rdfs:label ?infoResourceName
|
||||
<collation-fragment>
|
||||
OPTIONAL { ?subclass rdfs:subClassOf core:InformationResource .
|
||||
|
@ -24,7 +27,9 @@
|
|||
OPTIONAL { ?infoResource core:dateTimeValue ?dateTimeValue .
|
||||
?dateTimeValue core:dateTime ?dateTime
|
||||
}
|
||||
<linked-individual-optional>
|
||||
}
|
||||
</linked-individual-optional>
|
||||
} ORDER BY <collation-fragment> ?subclass </collation-fragment> ?infoResourceName
|
||||
</query-select>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue