temporal coverage joined with periodO data that must be directly imported in graphDb in turtle format together with periodO mapping
This commit is contained in:
parent
ef42eb551a
commit
7ae6d400b6
|
@ -4,6 +4,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
PREFIX aoprop: <https://www.ariadne-infrastructure.eu/property/>
|
PREFIX aoprop: <https://www.ariadne-infrastructure.eu/property/>
|
||||||
PREFIX onto: <http://www.ontotext.com/>
|
PREFIX onto: <http://www.ontotext.com/>
|
||||||
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
PREFIX time: <http://www.w3.org/2006/time#>
|
||||||
|
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?record aoprop:resourcetype "AriadneCatalogEntry" .
|
?record aoprop:resourcetype "AriadneCatalogEntry" .
|
||||||
|
@ -41,8 +42,7 @@ CONSTRUCT {
|
||||||
?spatialRegionBox aoprop:boxMaxLon ?spatialLocationBBMaxLon .
|
?spatialRegionBox aoprop:boxMaxLon ?spatialLocationBBMaxLon .
|
||||||
?spatialRegionBox aoprop:boxMinLat ?spatialLocationBBMinLat .
|
?spatialRegionBox aoprop:boxMinLat ?spatialLocationBBMinLat .
|
||||||
?spatialRegionBox aoprop:boxMinLon ?spatialLocationBBMinLon .
|
?spatialRegionBox aoprop:boxMinLon ?spatialLocationBBMinLon .
|
||||||
?record aoprop:temporal ?temporal .
|
?record aoprop:uri ?temporal .
|
||||||
?temporal aoprop:uri ?temporal .
|
|
||||||
?temporal aoprop:periodName ?temporalPeriodName .
|
?temporal aoprop:periodName ?temporalPeriodName .
|
||||||
?temporal aoprop:from ?temporalFrom .
|
?temporal aoprop:from ?temporalFrom .
|
||||||
?temporal aoprop:until ?temporalUntil .
|
?temporal aoprop:until ?temporalUntil .
|
||||||
|
@ -58,10 +58,12 @@ CONSTRUCT {
|
||||||
?record aoprop:language ?language .
|
?record aoprop:language ?language .
|
||||||
}
|
}
|
||||||
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
|
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
|
||||||
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::271>
|
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::periodo>
|
||||||
|
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::periodO-En-UK>
|
||||||
|
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::420_event>
|
||||||
where {
|
where {
|
||||||
?record aocat:has_language / skos:prefLabel ?language .
|
?record aocat:has_language / skos:prefLabel ?language .
|
||||||
?record aocat:has_original_id ?originalId .
|
?record aocat:has_original_id ?originalId .
|
||||||
?record aocat:is_part_of ?partOf .
|
?record aocat:is_part_of ?partOf .
|
||||||
?record aocat:has_creator ?creator .
|
?record aocat:has_creator ?creator .
|
||||||
?creator aocat:has_name ?creatorName .
|
?creator aocat:has_name ?creatorName .
|
||||||
|
@ -93,13 +95,18 @@ where {
|
||||||
}
|
}
|
||||||
optional {
|
optional {
|
||||||
?record aocat:has_temporal_coverage ?temporal .
|
?record aocat:has_temporal_coverage ?temporal .
|
||||||
|
?temporal aocat:has_period / rdfs:label ?temporalPeriodName .
|
||||||
}
|
}
|
||||||
optional {
|
optional {
|
||||||
?record aocat:has_temporal_coverage ?temporal .
|
?record aocat:has_temporal_coverage ?temporal .
|
||||||
?temporal aocat:has_period / skos:prefLabel ?temporalPeriodName .
|
?temporal aocat:has_native_period ?nativePeriod .
|
||||||
|
?nativePeriod skos:prefLabel ?temporalPeriodName .
|
||||||
optional {
|
optional {
|
||||||
?temporal aocat:from ?temporalFrom .
|
?nativePeriod skos:exactMatch ?periodORef .
|
||||||
?temporal aocat:until ?temporalUntil .
|
?periodORef time:intervalStartedBy ?intervalStartedBy .
|
||||||
|
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
||||||
|
?periodORef time:intervalFinishedBy ?intervalFinishedBy .
|
||||||
|
?intervalFinishedBy skos:prefLabel ?temporalUntil .
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue