PREFIX aocat: PREFIX rdfs: PREFIX skos: PREFIX aoprop: PREFIX onto: PREFIX ariadneplus: PREFIX time: PREFIX rdf: CONSTRUCT { %record aoprop:rdfType "Record" . %record aoprop:identifier %record . %record aoprop:originalId ?originalId . %record aoprop:issued ?issued . %record aoprop:modified ?modified . %record aoprop:created ?created . %record aoprop:partOf ?partOf . %record aoprop:creator ?creator . ?creator aoprop:name ?creatorName . ?creator aoprop:homepage ?creatorHomepage . ?creator aoprop:institution ?creatorInstitution . ?creator aoprop:agentIdentifier ?creator . %record aoprop:contributor ?contributor . ?contributor aoprop:name ?contributorName . ?contributor aoprop:homepage ?contributorHomepage . ?contributor aoprop:institution ?contributorInstitution . ?contributor aoprop:agentIdentifier ?contributor . %record aoprop:legalResponsible ?legalResponsible . ?legalResponsible aoprop:name ?legalResponsibleName . ?legalResponsible aoprop:homepage ?legalResponsibleHomepage . ?legalResponsible aoprop:institution ?legalResponsibleInstitution . ?legalResponsible aoprop:agentIdentifier ?legalResponsible . %record aoprop:owner ?owner . ?owner aoprop:name ?ownerName . ?owner aoprop:homepage ?ownerHomepage . ?owner aoprop:institution ?ownerInstitution . ?owner aoprop:agentIdentifier ?owner . %record aoprop:publisher ?publisher . ?publisher aoprop:publisherName ?publisherName . ?publisher aoprop:publisherEmail ?publisherEmail . ?publisher aoprop:publisherHomepage ?publisherHomepage . ?publisher aoprop:publisherInstitution ?publisherInstitution . ?publisher aoprop:publisherAgentIdentifier ?publisher . %record aoprop:accessPolicy ?accessPolicy . %record aoprop:accessRights ?accessRights . %record aoprop:landingPage ?landingPage . %record aoprop:spatialRegion ?spatialRegion . ?spatialRegion aoprop:placeName ?spatialPlaceName . %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 . ?spatialRegionBox aoprop:precisionUnit ?spatialPrecisionUnit . ?spatialRegionBox aoprop:precisionValue ?spatialPrecisionValue . %record aoprop:spatialRegionPolygon ?spatialRegionPolygon . ?spatialRegionPolygon aoprop:geoPoint ?geoPoint . ?geoPoint aoprop:lat ?lat . ?geoPoint aoprop:lon ?lon . %record aoprop:spatialRegionWKTPolygon ?spatialRegionWKTPolygon . ?spatialRegionWKTPolygon aoprop:wkt ?wkt . %record aoprop:temporal ?temporal . ?temporal aoprop:periodOName ?temporalPeriodName . ?temporal aoprop:from ?temporalFrom . ?temporal aoprop:until ?temporalUntil . ?temporal aoprop:uri ?periodOURI . %record aoprop:temporalNative ?temporalNative . ?temporalNative aoprop:nativePeriodName ?temporalNativePeriodName . ?temporalNative aoprop:nativeFrom ?temporalNativeFrom . ?temporalNative aoprop:nativeUntil ?temporalNativeUntil . %record aoprop:archeologicalResourceType ?archeologicalResourceType . ?archeologicalResourceType aoprop:name ?archeologicalResourceTypeName . %record aoprop:resourceType ?resourceType . %record aoprop:typeURI ?typeURI . %record aoprop:typeLabel ?typeLabel . %record aoprop:about ?aboutURI . ?aboutURI aoprop:aboutURI ?aboutURI . ?aboutURI aoprop:aboutURILabel ?aboutLabel . %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:titleInfo ?titleInfo . ?titleInfo aoprop:text ?title . ?titleInfo aoprop:lang ?titleLang . %record aoprop:descriptionInfo ?descriptionInfo . ?descriptionInfo aoprop:text ?description . ?descriptionInfo aoprop:lang ?descriptionLang . %record aoprop:language ?language . %record aoprop:image ?primaryVisualComponent . ?primaryVisualComponent aoprop:primaryVisualComponent ?primaryVisualComponent . ?primaryVisualComponent aoprop:visualComponent ?visualComponent . } where { graph { %record aocat:has_language / skos:prefLabel ?language . %record aocat:has_original_id ?originalId . %record aocat:is_part_of ?partOf . %record aocat:has_creator ?creator . ?creator aocat:has_name ?creatorName . %record aocat:has_title ?title . %record aocat:has_type / skos:prefLabel ?resourceType . %record aocat:has_type ?typeURI . ?typeURI skos:prefLabel ?typeLabel . optional { %record aocat:has_description ?description . } optional { %record aocat:has_access_policy / rdfs:label ?accessPolicy . } optional { %record aocat:has_landing_page / rdfs:label ?landingPage . } optional { %record aocat:has_primary_visual_component ?primaryVisualComponent . } optional { %record aocat:has_visual_component ?visualComponent . } optional { %record aocat:has_spatial_precision / aocat:has_unit / skos:prefLabel ?spatialPrecisionUnit . %record aocat:has_spatial_precision / aocat:has_value ?spatialPrecisionValue . } BIND (IRI(concat( "https://ariadne-infrastructure.eu/TextLang/",SHA1(STR(?description)))) as ?descriptionInfo) BIND (LANG(?description) as ?descriptionLang) BIND (IRI(concat( "https://ariadne-infrastructure.eu/TextLang/",SHA1(STR(?title)))) as ?titleInfo) BIND (LANG(?title) as ?titleLang) } optional { graph { select ?aboutURI ?aboutLabel where { %record aocat:is_about ?aboutURI . ?aboutURI rdfs:label ?aboutLabel . } limit 10 } } optional { graph { select distinct ?temporalNative ?nativeLabel ?temporalNativePeriodName ?temporalNativeFrom ?temporalNativeUntil where { %record aocat:has_temporal_coverage ?temporalNative . ?temporalNative aocat:has_native_period ?nativeLabel . ?nativeLabel skos:prefLabel ?origTemporalNativePeriodName . optional { ?temporalNative aocat:from ?temporalNativeFrom . ?temporalNative aocat:until ?temporalNativeUntil . } BIND(lcase(?origTemporalNativePeriodName) as ?temporalNativePeriodName) } } } optional { graph { select distinct ?temporal ?temporalPeriodName ?temporalFrom ?temporalUntil ?periodOURI where { %record aocat:has_temporal_coverage ?temporal . graph { ?temporal aocat:has_period ?periodOURI . graph { ?periodOURI skos:prefLabel ?origTemporalPeriodName . } optional { ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } BIND(lcase(?origTemporalPeriodName) as ?temporalPeriodName) } } } graph { { 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 { %record aocat:was_created_on ?created . } optional { ?contributor aocat:has_homepage ?contributorHomepage . } optional { ?contributor aocat:has_institution ?contributorInstitution . } optional { ?legalResponsible aocat:has_homepage ?legalResponsibleHomepage . } optional { ?legalResponsible aocat:has_institution ?legalResponsibleInstitution . } optional { ?owner aocat:has_homepage ?ownerHomepage . } optional { ?owner aocat:has_institution ?ownerInstitution . } optional { ?publisher aocat:has_email ?publisherEmail . } optional { ?publisher aocat:has_homepage ?publisherHomepage . } optional { ?publisher aocat:has_institution ?publisherInstitution . } } } } graph { { select * where { %record aocat:has_spatial_coverage ?spatialRegion . ?spatialRegion aocat:has_place_name ?spatialPlaceName . 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 ; } optional { %record aocat:has_spatial_coverage ?spatialRegionPolygon . ?spatialRegionPolygon aocat:has_polygonal_representation ?geoPoint . ?geoPoint aocat:has_latitude ?lat . ?geoPoint aocat:has_longitude ?lon . } optional { %record aocat:has_spatial_coverage ?spatialRegionWKTPolygon . ?spatialRegionWKTPolygon rdf:type aocat:AO_Spatial_Region_Polygon . ?spatialRegionWKTPolygon aocat:has_polygonal_representation ?wkt . } } } } graph { { select distinct ?nativeSubject ?nativeSubjectPrefLabel where { %record aocat:has_native_subject ?nativeSubject . ?nativeSubject skos:prefLabel ?origNativeSubjectPrefLabel . BIND(lcase(?origNativeSubjectPrefLabel) as ?nativeSubjectPrefLabel) } } } graph { { select distinct ?derivedSubject ?derivedSubjectPrefLabel where { optional { %record aocat:has_derived_subject ?derivedSubject . graph { ?derivedSubject skos:prefLabel ?origDerivedSubjectPrefLabel . } } BIND(lcase(?origDerivedSubjectPrefLabel) as ?derivedSubjectPrefLabel) } } } BIND (lang(?derivedSubjectPrefLabel) as ?aatSubjectsLang) }