Skip to content
Snippets Groups Projects
Commit 26467b69 authored by esikkala's avatar esikkala
Browse files

Places: add manuscript and actor column

parent c08045de
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,8 @@ export const INITIAL_STATE = {
valueType: 'object',
makeLink: true,
sortValues: true,
numberedList: false
numberedList: false,
minWidth: 170
},
{
id: 'placeType',
......@@ -55,7 +56,8 @@ export const INITIAL_STATE = {
valueType: 'string',
makeLink: false,
sortValues: true,
numberedList: false
numberedList: false,
minWidth: 170
},
{
id: 'area',
......@@ -67,6 +69,26 @@ export const INITIAL_STATE = {
numberedList: false,
minWidth: 170
},
{
id: 'actor',
label: 'Actor',
desc: 'Actor description',
valueType: 'object',
makeLink: true,
sortValues: true,
numberedList: false,
minWidth: 200
},
{
id: 'manuscript',
label: 'Manuscript',
desc: 'Manuscript description',
valueType: 'object',
makeLink: true,
sortValues: true,
numberedList: false,
minWidth: 170
},
{
id: 'source',
label: 'Source',
......
......@@ -6,8 +6,7 @@ export const placeProperties = `
}
UNION
{
?id dct:source
|owl:sameAs
?id owl:sameAs
|mmm-schema:data_provider_url
|mmm-schema:geonames_uri
?source__id .
......@@ -20,6 +19,22 @@ export const placeProperties = `
?id gvp:broaderPreferred ?area__id .
?area__id skos:prefLabel ?area__prefLabel .
}
UNION {
?id ^mmm-schema:person_place ?actor__id .
?actor__id skos:prefLabel ?actor__prefLabel .
?actor__id mmm-schema:data_provider_url ?actor__dataProviderUrl .
}
UNION {
?id ^crm:P7_took_place_at/crm:P108_has_produced ?manuscript__id .
?manuscript__id skos:prefLabel ?manuscript__prefLabel .
BIND(?manuscript__id AS ?manuscript__dataProviderUrl)
}
UNION {
?id ^crm:P7_took_place_at/
(crm:P30_transferred_custody_of|mmm-schema:observed_manuscript) ?manuscript__id .
?manuscript__id skos:prefLabel ?manuscript__prefLabel .
BIND(?manuscript__id AS ?manuscript__dataProviderUrl)
}
`;
export const allPlacesQuery = `
......
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