Skip to content
Snippets Groups Projects
Commit 485e2a07 authored by esikkala's avatar esikkala
Browse files

E8_Acquisition -> E10_Transfer_of_Custody

parent 8f1427a6
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ const ResultTableCell = props => {
} else {
cell = sortValues ? orderBy(cell, 'prefLabel') : cell;
}
const listItems = cell.map((item, i) =>
<li key={i}>
{makeLink &&
......@@ -131,7 +131,7 @@ const ResultTableCell = props => {
target='_blank' rel='noopener noreferrer'
href={item.dataProviderUrl}
>
{item.type === 'http://www.cidoc-crm.org/cidoc-crm/E8_Acquisition' ? 'Acquisition' : 'Observation'}
{item.type === 'http://www.cidoc-crm.org/cidoc-crm/E10_Transfer_of_Custody' ? 'Transfer of custody' : 'Observation'}
</a>
</li>
);
......@@ -150,7 +150,7 @@ const ResultTableCell = props => {
target='_blank' rel='noopener noreferrer'
href={cell.dataProviderUrl}
>
{cell.type === 'http://www.cidoc-crm.org/cidoc-crm/E8_Acquisition' ? 'Acquisition' : 'Observation'}
{cell.type === 'http://www.cidoc-crm.org/cidoc-crm/E10_Transfer_of_Custody' ? 'Transfer of custody' : 'Observation'}
</a>
</span>
......
......@@ -51,7 +51,7 @@ export const manuscriptProperties = `
}
UNION
{
?event__id crm:P24_transferred_title_of ?id .
?event__id crm:P30_transferred_custody_of ?id .
?event__id a ?event__type .
OPTIONAL { ?event__id skos:prefLabel ?event__prefLabel . }
OPTIONAL { ?event__id crm:P4_has_time-span ?event__date. }
......@@ -98,7 +98,7 @@ export const migrationsQuery = `
?from__id skos:prefLabel ?from__name .
?from__id wgs84:lat ?from__lat ;
wgs84:long ?from__long .
?event__id crm:P24_transferred_title_of|mmm-schema:observed_manuscript ?manuscript__id .
?event__id crm:P30_transferred_custody_of|mmm-schema:observed_manuscript ?manuscript__id .
OPTIONAL { ?event__id skos:prefLabel ?event__prefLabel }
?event__id crm:P4_has_time-span|mmm-schema:observed_time-span ?event__date .
?event__id crm:P7_took_place_at|mmm-schema:observed_location ?to__id .
......@@ -107,7 +107,7 @@ export const migrationsQuery = `
wgs84:long ?to__long .
BIND(IRI(CONCAT(STR(?from__id), "-", REPLACE(STR(?to__id), "http://ldf.fi/mmm/place/", ""))) as ?id)
FILTER NOT EXISTS {
?event__id2 crm:P24_transferred_title_of ?manuscript__id .
?event__id2 crm:P30_transferred_custody_of ?manuscript__id .
?event__id2 crm:P4_has_time-span ?event__date2 .
filter (?event__date2 > ?event__date)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment