added query for spatial region of collections
This commit is contained in:
parent
02c5014fd5
commit
c49d6ce109
|
@ -11,7 +11,6 @@ CONSTRUCT {
|
||||||
%record aoprop:originalId ?originalId .
|
%record aoprop:originalId ?originalId .
|
||||||
%record aoprop:issued ?issued .
|
%record aoprop:issued ?issued .
|
||||||
%record aoprop:modified ?modified .
|
%record aoprop:modified ?modified .
|
||||||
%record aoprop:partOf ?partOf .
|
|
||||||
%record aoprop:creator ?creator .
|
%record aoprop:creator ?creator .
|
||||||
?creator aoprop:name ?creatorName .
|
?creator aoprop:name ?creatorName .
|
||||||
?creator aoprop:email ?creatorEmail .
|
?creator aoprop:email ?creatorEmail .
|
||||||
|
@ -120,5 +119,27 @@ where {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
select *
|
||||||
|
where {
|
||||||
|
%record aocat:has_spatial_coverage ?spatialRegion .
|
||||||
|
?spatialRegion aocat:has_place_name ?spatialPlaceName .
|
||||||
|
optional {
|
||||||
|
?spatialRegion aocat:has_coordinate_system ?spatialCoordinateSystem .
|
||||||
|
}
|
||||||
|
optional {
|
||||||
|
%record aocat:has_spatial_coverage ?spatialRegionPoint .
|
||||||
|
?spatialRegionPoint aocat:has_latitude ?spatialLocationLat ;
|
||||||
|
aocat:has_longitude ?spatialLocationLon .
|
||||||
|
}
|
||||||
|
optional {
|
||||||
|
%record aocat:has_spatial_coverage ?spatialRegionBox .
|
||||||
|
?spatialRegionBox aocat:has_bounding_box_max_lat ?spatialLocationBBMaxLat ;
|
||||||
|
aocat:has_bounding_box_max_lon ?spatialLocationBBMaxLon ;
|
||||||
|
aocat:has_bounding_box_min_lat ?spatialLocationBBMinLat ;
|
||||||
|
aocat:has_bounding_box_min_lon ?spatialLocationBBMinLon ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIND (lang(?derivedSubjectPrefLabel) as ?aatSubjectsLang)
|
BIND (lang(?derivedSubjectPrefLabel) as ?aatSubjectsLang)
|
||||||
}
|
}
|
Loading…
Reference in New Issue