2020-06-15 12:10:59 +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/>
|
|
|
|
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 {
|
|
|
|
%record aoprop:rdfType "Collection" .
|
2020-06-15 12:10:59 +02:00
|
|
|
%record aoprop:identifier %record .
|
|
|
|
%record aoprop:originalId ?originalId .
|
|
|
|
%record aoprop:issued ?issued .
|
|
|
|
%record aoprop:modified ?modified .
|
2020-09-30 12:30:57 +02:00
|
|
|
%record aoprop:partOf ?partOf .
|
2020-06-15 12:10:59 +02:00
|
|
|
%record aoprop:creator ?creator .
|
|
|
|
?creator aoprop:name ?creatorName .
|
|
|
|
?creator aoprop:email ?creatorEmail .
|
|
|
|
%record aoprop:contributor ?contributor .
|
|
|
|
?contributor aoprop:name ?contributorName .
|
|
|
|
?contributor aoprop:email ?contributorEmail .
|
|
|
|
%record aoprop:legalResponsible ?legalResponsible .
|
|
|
|
?legalResponsible aoprop:name ?legalResponsibleName .
|
|
|
|
?legalResponsible aoprop:email ?legalResponsibleEmail .
|
|
|
|
%record aoprop:owner ?owner .
|
|
|
|
?owner aoprop:name ?ownerName .
|
|
|
|
?owner aoprop:email ?ownerEmail .
|
|
|
|
%record aoprop:publisher ?publisher .
|
|
|
|
?publisher aoprop:name ?publisherName .
|
|
|
|
?publisher aoprop:email ?publisherEmail .
|
|
|
|
%record aoprop:accessPolicy ?accessPolicy .
|
|
|
|
%record aoprop:accessRights ?accessRights .
|
|
|
|
%record aoprop:landingPage ?landingPage .
|
|
|
|
%record aoprop:spatialRegion ?spatialRegion .
|
|
|
|
?spatialRegion aoprop:placeName ?spatialPlaceName .
|
|
|
|
?spatialRegion aoprop:spatialCoordinateSystem ?spatialCoordinateSystem .
|
|
|
|
%record aoprop:spatialRegionPoint ?spatialRegionPoint .
|
|
|
|
?spatialRegionPoint aoprop:lat ?spatialLocationLat .
|
|
|
|
?spatialRegionPoint aoprop:lon ?spatialLocationLon .
|
|
|
|
%record aoprop:spatialRegionBox ?spatialRegionBox .
|
|
|
|
?spatialRegionBox aoprop:boxMaxLat ?spatialLocationBBMaxLat .
|
|
|
|
?spatialRegionBox aoprop:boxMaxLon ?spatialLocationBBMaxLon .
|
|
|
|
?spatialRegionBox aoprop:boxMinLat ?spatialLocationBBMinLat .
|
|
|
|
?spatialRegionBox aoprop:boxMinLon ?spatialLocationBBMinLon .
|
|
|
|
%record aoprop:uri ?temporalNative .
|
|
|
|
?temporalNative aoprop:periodName ?temporalNativePeriodName .
|
2020-10-09 11:36:05 +02:00
|
|
|
?temporalNative aoprop:from ?temporalFrom .
|
|
|
|
?temporalNative aoprop:until ?temporalUntil .
|
2020-10-12 11:04:19 +02:00
|
|
|
?temporalNative aoprop:uri ?temporalPeriodO .
|
2020-06-15 12:10:59 +02:00
|
|
|
%record aoprop:archeologicalResourceType ?archeologicalResourceType .
|
|
|
|
?archeologicalResourceType aoprop:name ?archeologicalResourceTypeName .
|
|
|
|
%record aoprop:resourceType ?resourceType .
|
|
|
|
%record aoprop:nativeSubject ?nativeSubject .
|
|
|
|
?nativeSubject aoprop:prefLabel ?nativeSubjectPrefLabel .
|
|
|
|
?nativeSubject aoprop:rdfAbout ?nativeSubject .
|
|
|
|
%record aoprop:derivedSubject ?derivedSubject .
|
|
|
|
?derivedSubject aoprop:prefLabel ?derivedSubjectPrefLabel .
|
|
|
|
?derivedSubject aoprop:source "Getty AAT" .
|
|
|
|
%record aoprop:aatSubjects ?derivedSubject .
|
|
|
|
?derivedSubject aoprop:id ?derivedSubject .
|
|
|
|
?derivedSubject aoprop:label ?derivedSubjectPrefLabel .
|
|
|
|
?derivedSubject aoprop:lang ?aatSubjectsLang .
|
|
|
|
%record aoprop:title ?title .
|
|
|
|
%record aoprop:description ?description .
|
|
|
|
%record aoprop:language ?language .
|
|
|
|
}
|
|
|
|
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::aat>
|
|
|
|
from <https://ariadne-infrastructure.eu/ariadneplus::%datasource::aatplus>
|
|
|
|
from <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo>
|
|
|
|
from <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus>
|
|
|
|
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId>
|
|
|
|
where {
|
|
|
|
%record aocat:has_language / skos:prefLabel ?language .
|
|
|
|
%record aocat:has_original_id ?originalId .
|
2020-09-30 12:30:57 +02:00
|
|
|
optional {
|
|
|
|
%record aocat:is_part_of ?partOf .
|
|
|
|
}
|
2020-06-15 12:10:59 +02:00
|
|
|
%record aocat:has_creator ?creator .
|
|
|
|
?creator aocat:has_name ?creatorName .
|
|
|
|
%record aocat:has_title ?title .
|
|
|
|
%record aocat:has_type / skos:prefLabel ?resourceType .
|
2020-09-30 12:30:57 +02:00
|
|
|
optional {
|
|
|
|
%record aocat:has_native_subject ?nativeSubject .
|
|
|
|
?nativeSubject skos:prefLabel ?nativeSubjectPrefLabel .
|
|
|
|
}
|
|
|
|
optional {
|
|
|
|
%record aocat:has_derived_subject ?derivedSubject .
|
|
|
|
?derivedSubject skos:prefLabel ?derivedSubjectPrefLabel .
|
|
|
|
}
|
2020-06-15 12:10:59 +02:00
|
|
|
optional {
|
|
|
|
?creator aocat:has_email ?creatorEmail .
|
|
|
|
}
|
|
|
|
optional {
|
|
|
|
%record aocat:has_description ?description .
|
|
|
|
}
|
|
|
|
optional {
|
|
|
|
%record aocat:has_access_policy / rdfs:label ?accessPolicy .
|
|
|
|
}
|
|
|
|
optional {
|
|
|
|
%record aocat:has_landing_page / rdfs:label ?landingPage .
|
|
|
|
}
|
2020-10-12 11:04:19 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
select *
|
|
|
|
where {
|
2020-10-09 11:36:05 +02:00
|
|
|
%record aocat:has_temporal_coverage ?temporalCoverage .
|
2020-10-12 23:00:09 +02:00
|
|
|
optional {
|
|
|
|
?temporalCoverage aocat:has_native_period ?temporalNative .
|
|
|
|
?temporalNative skos:prefLabel ?temporalNativePeriodName .
|
|
|
|
}
|
2020-09-30 12:30:57 +02:00
|
|
|
optional {
|
2020-10-12 11:04:19 +02:00
|
|
|
?temporalCoverage aocat:has_period ?temporalPeriodO .
|
|
|
|
optional {
|
|
|
|
?temporalCoverage aocat:from ?temporalFrom .
|
|
|
|
?temporalCoverage aocat:until ?temporalUntil .
|
|
|
|
}
|
2020-09-30 12:30:57 +02:00
|
|
|
}
|
|
|
|
}
|
2020-10-12 11:04:19 +02:00
|
|
|
}
|
2020-06-15 12:10:59 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
select *
|
|
|
|
where {
|
|
|
|
%record aocat:was_issued ?issued .
|
|
|
|
%record aocat:was_modified ?modified .
|
|
|
|
%record aocat:has_contributor ?contributor .
|
|
|
|
?contributor aocat:has_name ?contributorName .
|
|
|
|
%record aocat:has_responsible ?legalResponsible .
|
|
|
|
?legalResponsible aocat:has_name ?legalResponsibleName .
|
|
|
|
%record aocat:has_owner ?owner .
|
|
|
|
?owner aocat:has_name ?ownerName .
|
|
|
|
%record aocat:has_publisher ?publisher .
|
|
|
|
?publisher aocat:has_name ?publisherName .
|
|
|
|
%record aocat:has_access_rights ?accessRights .
|
|
|
|
%record aocat:has_ARIADNE_subject ?archeologicalResourceType .
|
|
|
|
?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 .
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-07 16:24:15 +02:00
|
|
|
{
|
|
|
|
select *
|
|
|
|
where {
|
2020-09-18 17:24:36 +02:00
|
|
|
optional {
|
|
|
|
%record aocat:has_spatial_coverage ?spatialRegion .
|
|
|
|
?spatialRegion aocat:has_place_name ?spatialPlaceName .
|
|
|
|
}
|
2020-08-07 16:24:15 +02:00
|
|
|
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 ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-15 12:10:59 +02:00
|
|
|
BIND (lang(?derivedSubjectPrefLabel) as ?aatSubjectsLang)
|
|
|
|
}
|