getDeletedRecord()
getDeletedRecord() : string
Returns the OAI-PMH `identify` response's `deletedRecord` value.
("no", "transient" or "persistent")
Implementation of the `acdhOeaw\oai\deleted\DeletedInterface` deriving information on a resource deletion from existence of a given RDF triple in the resource metadata.
Required configuration properties:
deletedRecord
field of the
OAI-PMH identify
response ("transient" or "persistent" - see
https://www.openarchives.org/OAI/openarchivesprotocol.html#DeletedRecords)getDeletedClause(string $resVar, string $delVar) : string
Creates a part of the SPARQL search query fetching if a resource is deleted or not.
string | $resVar | SPARQL variable denoting the resource URI |
string | $delVar | SPARQL variable which should denoted if the resource is deleted or not - any non empty value will indicate it is deleted |