Add additional URI finder that will reindex a person if its associate… (#227)
* Add additional URI finder that will reindex a person if its associated title or email resource is deleted altogether. * Remove redundant identical query; eliminate unused prefix.
This commit is contained in:
parent
250566446f
commit
29728b3b40
1 changed files with 16 additions and 0 deletions
|
@ -117,6 +117,22 @@
|
|||
}
|
||||
""" .
|
||||
|
||||
# URI finder that will find the relevant person to update when the
|
||||
# property linking to the email or preferred title resource is removed
|
||||
:vivoUriFinder_VCard_2
|
||||
a searchIndex:indexing.IndexingUriFinder ,
|
||||
searchIndex:indexing.SelectQueryUriFinder ;
|
||||
rdfs:label "Preferred title / email person URI finder #2" ;
|
||||
:hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#hasTitle" ;
|
||||
:hasPredicateRestriction "http://www.w3.org/2006/vcard/ns#hasEmail" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
SELECT ?uri
|
||||
WHERE {
|
||||
?uri obo:ARG_2000028 ?subject .
|
||||
}
|
||||
""" .
|
||||
|
||||
:vivodocumentModifier_PreferredTitle
|
||||
a searchIndex:documentBuilding.SelectQueryDocumentModifier ,
|
||||
searchIndex:documentBuilding.DocumentModifier ;
|
||||
|
|
Loading…
Add table
Reference in a new issue