2020-10-12 22:27:54 +02:00
|
|
|
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#>
|
|
|
|
PREFIX aoprop: <https://www.ariadne-infrastructure.eu/property/>
|
2020-06-11 18:20:42 +02:00
|
|
|
PREFIX onto: <http://www.ontotext.com/>
|
|
|
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
|
|
|
PREFIX time: <http://www.w3.org/2006/time#>
|
|
|
|
|
2020-10-12 18:12:41 +02:00
|
|
|
CONSTRUCT {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:rdfType "Record" .
|
|
|
|
%record aoprop:identifier %record .
|
|
|
|
%record aoprop:originalId ?originalId .
|
|
|
|
%record aoprop:issued ?issued .
|
|
|
|
%record aoprop:modified ?modified .
|
|
|
|
%record aoprop:partOf ?partOf .
|
|
|
|
%record aoprop:creator ?creator .
|
2020-06-11 18:20:42 +02:00
|
|
|
?creator aoprop:name ?creatorName .
|
|
|
|
?creator aoprop:email ?creatorEmail .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:contributor ?contributor .
|
2020-06-11 18:20:42 +02:00
|
|
|
?contributor aoprop:name ?contributorName .
|
|
|
|
?contributor aoprop:email ?contributorEmail .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:legalResponsible ?legalResponsible .
|
2020-06-11 18:20:42 +02:00
|
|
|
?legalResponsible aoprop:name ?legalResponsibleName .
|
|
|
|
?legalResponsible aoprop:email ?legalResponsibleEmail .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:owner ?owner .
|
2020-06-11 18:20:42 +02:00
|
|
|
?owner aoprop:name ?ownerName .
|
|
|
|
?owner aoprop:email ?ownerEmail .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:publisher ?publisher .
|
2020-06-11 18:20:42 +02:00
|
|
|
?publisher aoprop:name ?publisherName .
|
|
|
|
?publisher aoprop:email ?publisherEmail .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:accessPolicy ?accessPolicy .
|
|
|
|
%record aoprop:accessRights ?accessRights .
|
|
|
|
%record aoprop:landingPage ?landingPage .
|
|
|
|
%record aoprop:spatialRegion ?spatialRegion .
|
2020-06-11 18:20:42 +02:00
|
|
|
?spatialRegion aoprop:placeName ?spatialPlaceName .
|
|
|
|
?spatialRegion aoprop:spatialCoordinateSystem ?spatialCoordinateSystem .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:spatialRegionPoint ?spatialRegionPoint .
|
2020-06-11 18:20:42 +02:00
|
|
|
?spatialRegionPoint aoprop:lat ?spatialLocationLat .
|
|
|
|
?spatialRegionPoint aoprop:lon ?spatialLocationLon .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:spatialRegionBox ?spatialRegionBox .
|
2020-06-11 18:20:42 +02:00
|
|
|
?spatialRegionBox aoprop:boxMaxLat ?spatialLocationBBMaxLat .
|
|
|
|
?spatialRegionBox aoprop:boxMaxLon ?spatialLocationBBMaxLon .
|
|
|
|
?spatialRegionBox aoprop:boxMinLat ?spatialLocationBBMinLat .
|
|
|
|
?spatialRegionBox aoprop:boxMinLon ?spatialLocationBBMinLon .
|
2021-06-18 19:32:12 +02:00
|
|
|
%record aoprop:spatialRegionPolygon ?spatialRegionPolygon .
|
|
|
|
?spatialRegionPolygon aoprop:geoPoint ?geoPoint .
|
|
|
|
?geoPoint aoprop:lat ?lat .
|
|
|
|
?geoPoint aoprop:lon ?lon .
|
2021-03-05 12:34:15 +01:00
|
|
|
%record aoprop:temporal ?temporal .
|
2021-02-16 18:19:30 +01:00
|
|
|
?temporal aoprop:periodOName ?temporalPeriodName .
|
2020-06-11 18:20:42 +02:00
|
|
|
?temporal aoprop:from ?temporalFrom .
|
|
|
|
?temporal aoprop:until ?temporalUntil .
|
2020-07-08 10:50:14 +02:00
|
|
|
?temporal aoprop:uri ?temporal .
|
2021-06-17 17:59:51 +02:00
|
|
|
%record aoprop:temporalNative ?temporalNative .
|
2021-02-16 18:19:30 +01:00
|
|
|
?temporalNative aoprop:nativePeriodName ?temporalNativePeriodName .
|
2021-03-02 17:13:33 +01:00
|
|
|
?temporalNative aoprop:from ?temporalNativeFrom .
|
|
|
|
?temporalNative aoprop:until ?temporalNativeUntil .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:archeologicalResourceType ?archeologicalResourceType .
|
2020-06-11 18:20:42 +02:00
|
|
|
?archeologicalResourceType aoprop:name ?archeologicalResourceTypeName .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:resourceType ?resourceType .
|
|
|
|
%record aoprop:nativeSubject ?nativeSubject .
|
2020-06-11 18:20:42 +02:00
|
|
|
?nativeSubject aoprop:prefLabel ?nativeSubjectPrefLabel .
|
|
|
|
?nativeSubject aoprop:rdfAbout ?nativeSubject .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:derivedSubject ?derivedSubject .
|
2020-06-11 18:20:42 +02:00
|
|
|
?derivedSubject aoprop:prefLabel ?derivedSubjectPrefLabel .
|
|
|
|
?derivedSubject aoprop:source "Getty AAT" .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:aatSubjects ?derivedSubject .
|
2020-06-11 18:20:42 +02:00
|
|
|
?derivedSubject aoprop:id ?derivedSubject .
|
|
|
|
?derivedSubject aoprop:label ?derivedSubjectPrefLabel .
|
|
|
|
?derivedSubject aoprop:lang ?aatSubjectsLang .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aoprop:title ?title .
|
|
|
|
%record aoprop:description ?description .
|
|
|
|
%record aoprop:language ?language .
|
2020-06-11 18:20:42 +02:00
|
|
|
}
|
|
|
|
where {
|
2021-04-22 16:51:44 +02:00
|
|
|
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId> {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_language / skos:prefLabel ?language .
|
|
|
|
%record aocat:has_original_id ?originalId .
|
|
|
|
%record aocat:is_part_of ?partOf .
|
|
|
|
%record aocat:has_creator ?creator .
|
2020-06-11 18:20:42 +02:00
|
|
|
?creator aocat:has_name ?creatorName .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_title ?title .
|
|
|
|
%record aocat:has_type / skos:prefLabel ?resourceType .
|
2020-06-11 18:20:42 +02:00
|
|
|
optional {
|
|
|
|
?creator aocat:has_email ?creatorEmail .
|
|
|
|
}
|
|
|
|
optional {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_description ?description .
|
2020-06-11 18:20:42 +02:00
|
|
|
}
|
|
|
|
optional {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_access_policy / rdfs:label ?accessPolicy .
|
2020-06-11 18:20:42 +02:00
|
|
|
}
|
|
|
|
optional {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_landing_page / rdfs:label ?landingPage .
|
2020-06-11 18:20:42 +02:00
|
|
|
}
|
2021-04-22 16:51:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
optional {
|
|
|
|
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId> {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_temporal_coverage ?temporalNative .
|
2021-04-22 16:51:44 +02:00
|
|
|
?temporalNative aocat:has_native_period ?nativeLabel .
|
|
|
|
?nativeLabel skos:prefLabel ?temporalNativePeriodName .
|
|
|
|
}
|
|
|
|
graph <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus> {
|
2021-03-02 17:13:33 +01:00
|
|
|
optional {
|
|
|
|
?temporalNative aocat:from ?temporalNativeFrom .
|
|
|
|
?temporalNative aocat:until ?temporalNativeUntil .
|
|
|
|
}
|
2020-06-11 18:20:42 +02:00
|
|
|
}
|
2021-04-22 16:51:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
optional {
|
|
|
|
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId> {
|
|
|
|
%record aocat:has_temporal_coverage ?temporal .
|
|
|
|
}
|
|
|
|
graph <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus> {
|
|
|
|
?temporal aocat:has_period ?label .
|
|
|
|
graph <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo> {
|
|
|
|
?label skos:prefLabel ?temporalPeriodName .
|
|
|
|
}
|
|
|
|
optional {
|
2020-06-11 18:20:42 +02:00
|
|
|
?temporal aocat:from ?temporalFrom .
|
|
|
|
?temporal aocat:until ?temporalUntil .
|
2021-04-22 16:51:44 +02:00
|
|
|
}
|
2020-06-11 18:20:42 +02:00
|
|
|
}
|
2021-04-22 16:51:44 +02:00
|
|
|
}
|
2020-06-11 18:20:42 +02:00
|
|
|
|
2021-04-22 16:51:44 +02:00
|
|
|
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId> {
|
2020-06-11 18:20:42 +02:00
|
|
|
{
|
|
|
|
select *
|
|
|
|
where {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:was_issued ?issued .
|
|
|
|
%record aocat:was_modified ?modified .
|
|
|
|
%record aocat:has_contributor ?contributor .
|
2020-06-11 18:20:42 +02:00
|
|
|
?contributor aocat:has_name ?contributorName .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_responsible ?legalResponsible .
|
2020-06-11 18:20:42 +02:00
|
|
|
?legalResponsible aocat:has_name ?legalResponsibleName .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_owner ?owner .
|
2020-06-11 18:20:42 +02:00
|
|
|
?owner aocat:has_name ?ownerName .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_publisher ?publisher .
|
2020-06-11 18:20:42 +02:00
|
|
|
?publisher aocat:has_name ?publisherName .
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_access_rights ?accessRights .
|
|
|
|
%record aocat:has_ARIADNE_subject ?archeologicalResourceType .
|
2020-06-11 18:20:42 +02:00
|
|
|
?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName .
|
|
|
|
optional {
|
|
|
|
?contributor aocat:has_email ?contributorEmail .
|
|
|
|
}
|
|
|
|
optional {
|
|
|
|
?legalResponsible aocat:has_email ?legalResponsibleEmail .
|
|
|
|
}
|
|
|
|
optional {
|
|
|
|
?owner aocat:has_email ?ownerEmail .
|
|
|
|
}
|
|
|
|
optional {
|
|
|
|
?publisher aocat:has_email ?publisherEmail .
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-04-22 16:51:44 +02:00
|
|
|
}
|
2020-06-11 18:20:42 +02:00
|
|
|
|
2021-04-22 16:51:44 +02:00
|
|
|
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId> {
|
2020-06-11 18:20:42 +02:00
|
|
|
{
|
|
|
|
select *
|
|
|
|
where {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_spatial_coverage ?spatialRegion .
|
2020-06-11 18:20:42 +02:00
|
|
|
?spatialRegion aocat:has_place_name ?spatialPlaceName .
|
|
|
|
optional {
|
2021-02-05 19:53:41 +01:00
|
|
|
%record aocat:has_spatial_coverage ?spatialRegion .
|
2020-06-11 18:20:42 +02:00
|
|
|
?spatialRegion aocat:has_coordinate_system ?spatialCoordinateSystem .
|
|
|
|
}
|
|
|
|
optional {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_spatial_coverage ?spatialRegionPoint .
|
2020-06-11 18:20:42 +02:00
|
|
|
?spatialRegionPoint aocat:has_latitude ?spatialLocationLat ;
|
|
|
|
aocat:has_longitude ?spatialLocationLon .
|
|
|
|
}
|
|
|
|
optional {
|
2020-10-12 22:27:54 +02:00
|
|
|
%record aocat:has_spatial_coverage ?spatialRegionBox .
|
|
|
|
?spatialRegionBox aocat:has_bounding_box_max_lat ?spatialLocationBBMaxLat ;
|
2020-06-11 18:20:42 +02:00
|
|
|
aocat:has_bounding_box_max_lon ?spatialLocationBBMaxLon ;
|
|
|
|
aocat:has_bounding_box_min_lat ?spatialLocationBBMinLat ;
|
|
|
|
aocat:has_bounding_box_min_lon ?spatialLocationBBMinLon ;
|
|
|
|
}
|
2021-06-18 19:32:12 +02:00
|
|
|
optional {
|
|
|
|
%record aocat:has_spatial_coverage ?spatialRegionPolygon .
|
|
|
|
?spatialRegionPolygon aocat:has_polygonal_representation ?geoPoint .
|
|
|
|
?geoPoint aocat:has_latitude ?lat .
|
|
|
|
?geoPoint aocat:has_longitude ?lon .
|
|
|
|
}
|
2020-10-12 22:27:54 +02:00
|
|
|
}
|
2020-06-11 18:20:42 +02:00
|
|
|
}
|
2021-04-22 16:51:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId> {
|
|
|
|
{
|
|
|
|
select *
|
|
|
|
where {
|
|
|
|
%record aocat:has_native_subject ?nativeSubject .
|
|
|
|
?nativeSubject skos:prefLabel ?nativeSubjectPrefLabel .
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
graph <https://ariadne-infrastructure.eu/ariadneplus::%datasource::aatplus> {
|
|
|
|
{
|
|
|
|
select *
|
|
|
|
where {
|
|
|
|
optional {
|
|
|
|
%record aocat:has_derived_subject ?derivedSubject .
|
|
|
|
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::aat> {
|
|
|
|
?derivedSubject skos:prefLabel ?derivedSubjectPrefLabel .
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-11 18:20:42 +02:00
|
|
|
BIND (lang(?derivedSubjectPrefLabel) as ?aatSubjectsLang)
|
|
|
|
}
|