updated construct query for temporals

pull/2/head
Alessia Bardi 4 years ago
parent 47f46009e1
commit a0b3e27645

@ -41,13 +41,11 @@ CONSTRUCT {
?spatialRegionBox aoprop:boxMaxLon ?spatialLocationBBMaxLon .
?spatialRegionBox aoprop:boxMinLat ?spatialLocationBBMinLat .
?spatialRegionBox aoprop:boxMinLon ?spatialLocationBBMinLon .
%record aoprop:uri ?temporal .
?temporal aoprop:periodName ?temporalPeriodName .
?temporal aoprop:from ?temporalFrom .
?temporal aoprop:until ?temporalUntil .
?temporal aoprop:uri ?temporal .
%record aoprop:uri ?temporalNative .
?temporalNative aoprop:periodName ?temporalNativePeriodName .
?temporalNative aoprop:from ?temporalFrom .
?temporalNative aoprop:until ?temporalUntil .
?temporalNative aoprop:uri ?temporalNative .
%record aoprop:archeologicalResourceType ?archeologicalResourceType .
?archeologicalResourceType aoprop:name ?archeologicalResourceTypeName .
%record aoprop:resourceType ?resourceType .
@ -101,15 +99,12 @@ where {
%record aocat:has_landing_page / rdfs:label ?landingPage .
}
optional {
%record aocat:has_temporal_coverage ?temporalNative .
?temporalNative aocat:has_native_period / skos:prefLabel ?temporalNativePeriodName .
}
optional {
%record aocat:has_temporal_coverage ?temporal .
?temporal aocat:has_period / skos:prefLabel ?temporalPeriodName .
%record aocat:has_temporal_coverage ?temporalCoverage .
?temporalCoverage aocat:has_native_period ?temporalNative .
?temporalNative skos:prefLabel ?temporalNativePeriodName .
optional {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
?temporalNative aocat:from ?temporalFrom .
?temporalNative aocat:until ?temporalUntil .
}
}

Loading…
Cancel
Save