more docs for periods
This commit is contained in:
parent
0061bc8ada
commit
4a1ae5b53d
|
@ -49,3 +49,46 @@
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
# if there is no periodO, but you have the dates then you want to put them in the temporal index fields.
|
||||
# Add from/until and native period in the periodo graphs:
|
||||
|
||||
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus> :
|
||||
?temporal aocat:has_period ?periodOURI .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
|
||||
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo>
|
||||
?periodOURI skos:prefLabel ?origTemporalPeriodName .
|
||||
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus> {
|
||||
?temporal aocat:has_period ?nativePeriod .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%coll> {
|
||||
?temporal aocat:has_native_period ?nativePeriod .
|
||||
?temporal aocat:from ?temporalFrom .
|
||||
?temporal aocat:until ?temporalUntil .
|
||||
}
|
||||
};
|
||||
|
||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
INSERT {
|
||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo> {
|
||||
?nativePeriod skos:prefLabel ?periodLabel .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%coll> {
|
||||
?temporal aocat:has_native_period ?nativePeriod .
|
||||
?nativePeriod rdfs:label ?periodLabel .
|
||||
}
|
||||
};
|
|
@ -27,4 +27,9 @@ For the subjects:
|
|||
%record aocat:has_derived_subject ?derivedSubject .
|
||||
|
||||
<https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::aat>
|
||||
?derivedSubject skos:prefLabel ?origDerivedSubjectPrefLabel .
|
||||
?derivedSubject skos:prefLabel ?origDerivedSubjectPrefLabel .
|
||||
|
||||
|
||||
To update period index:
|
||||
https://ariadne-portal-staging.d4science.org/api/updatePeriods?id=feb01aaac066417281fb1cbed7bea694a611a462
|
||||
https://portal.ariadne-infrastructure.eu/api/updatePeriods?id=feb01aaac066417281fb1cbed7bea694a611a462
|
||||
|
|
Loading…
Reference in New Issue