Compare commits

...

177 Commits

Author SHA1 Message Date
Alessia Bardi 57b8eecbe2 remove -x from the name to disable noisy logging on tests 2023-09-07 14:54:43 +02:00
Alessia Bardi 9bdcd7ce90 Updated mail template for wf notifications of ariadne 2023-09-07 14:53:30 +02:00
Alessia Bardi 1419401c9a Useful comment on WKT and bbox 2023-09-07 14:52:07 +02:00
Alessia Bardi 5175fde067 testing errors with DANS 2023-09-05 16:20:14 +02:00
Alessia Bardi 5bbcd22206 Updated enrichment query for niwrecks2 2023-09-05 16:18:10 +02:00
Alessia Bardi d06ec9fa9c First enrichment query for niwrecks2 2023-09-05 16:00:31 +02:00
Alessia Bardi 6ece056a53 Updated update date fro ads archives 2023-09-05 15:52:58 +02:00
Alessia Bardi dc9399bfc9 Working version for coflein. Major change: use the good collection URI 2023-09-05 15:10:10 +02:00
Alessia Bardi 217b0c0a7f Draft query for ADS coflein 2023-09-05 14:16:47 +02:00
Alessia Bardi c130d05a19 CENIEH: cirparts to be added to the main graph 2023-06-15 15:12:00 +02:00
Alessia Bardi 3dadc59eda fixed links to collection records for CENIEH CIR 2023-05-31 12:20:45 +02:00
Alessia Bardi 4f3a329bae separete query for different fields to be inherited from CENIEH collection and updated date 2023-05-31 11:20:06 +02:00
Alessia Bardi 331d09daaa updated dates for SEAD UMEA 2023-05-31 11:18:15 +02:00
Alessia Bardi 09627688ca added enrichment query for new Inrap collection about NLP 2023-05-31 11:17:27 +02:00
Alessia Bardi 39c6f5da81 Updated ARCHE query for periods 2023-05-16 13:45:56 +02:00
Alessia Bardi f09e4ab822 fixed enrichemnt query of SEAD UMEA for AAT subjects 2023-05-08 10:25:14 +02:00
Alessia Bardi fc5bb92533 fixed query for empty dates and creator for ARCHE 2023-05-05 11:47:06 +02:00
Alessia Bardi bb22d05c8e period labels for UMEA 2023-05-03 16:13:17 +02:00
Alessia Bardi d055c3a38c updated queries for tutorial 2023-04-28 10:42:16 +02:00
Alessia Bardi 6dfdcb806f enrichment query for tutorial 2023-04-28 01:22:22 +02:00
Alessia Bardi 09d6ef6fa8 default for missing contributor and deletion of wrong period labels 2023-04-14 16:38:37 +02:00
Alessia Bardi 959be59de1 no need to move additional graph: everything is from one single file now for DAI RGK coins 2023-04-14 16:37:18 +02:00
Alessia Bardi 9be853912e delete query to remove people from publishers' list 2023-04-14 16:35:56 +02:00
Alessia Bardi cd76bbbd9e updated enrichment queries for SEAD UMEA 2023-04-13 17:53:46 +02:00
Alessia Bardi 1d425e97ee added missing ns prefix 2023-04-13 17:53:10 +02:00
Alessia Bardi ef81f9b26a enrich for DANS dendro and collection records 2023-04-13 17:52:53 +02:00
Alessia Bardi 5d1deca4af enrich query for IAA 2023-04-03 16:19:18 +02:00
Alessia Bardi a86f131143 queries for Oslo and UMEA/SEAD 2023-04-03 16:16:45 +02:00
Alessia Bardi 6418d27d32 removed '<>' in wf param, otherwise we get an exception when the workflow is assigned 2023-03-27 11:34:40 +02:00
Alessia Bardi 98da97643f IAA: enrich with Getty for collection 2023-03-23 11:03:59 +01:00
Alessia Bardi 147fe863ca default date for ROAD ROCEEH 2023-03-15 14:59:51 +01:00
Alessia Bardi 3686689e2f import images from support graph - PAN DANS 2023-03-09 14:31:29 +01:00
Alessia Bardi 9d415a3b20 fixed queries for temporal and integration of support graphs for IAA 2023-03-09 14:29:33 +01:00
Alessia Bardi b8a5c4ce2f updated defaults for issued and modification date as agreed with ROAD team 2023-03-09 14:28:36 +01:00
Alessia Bardi 6a75774c80 import periods graph into sites for IAA 2023-02-20 10:59:29 +01:00
Alessia Bardi b46184c2fa enrich query for ADS Isle of Man 2023-02-20 10:56:07 +01:00
Alessia Bardi 985dbad239 updated queries for IAA 2023-02-14 10:51:11 +01:00
Alessia Bardi 0e57dd5201 enrichemnt queries for ADS 398A and IAA 2023-02-14 10:50:13 +01:00
Alessia Bardi 4a1ae5b53d more docs for periods 2023-02-02 14:19:43 +01:00
Alessia Bardi 0061bc8ada IAA collection: copy temporal info in periodo graphs so they are shown in the portal 2023-02-02 14:19:07 +01:00
Alessia Bardi 051ff7acde enrich querry for IAA collection 2023-02-02 14:10:36 +01:00
Alessia Bardi 4648f4be94 enrichment queries: INP RAN (sites) fixed for period and new queries for CYI corpus 2023-02-01 18:30:33 +01:00
Alessia Bardi 354c8e50fd Updated mail template for wf notifications of ariadne 2023-01-25 16:25:31 +01:00
Alessia Bardi cd09d515a3 updated enrichment query for DIME with AAT matching file 2023-01-24 18:50:43 +01:00
Alessia Bardi 6af83df368 added test to load on staging 2023-01-24 18:50:10 +01:00
Alessia Bardi adea30b491 updated enrichment of periodo for MISANU monumenrs 2023-01-24 18:49:37 +01:00
Alessia Bardi 11b439c955 enrichment queries for reperti and aree datasets from MIBAC 2023-01-24 18:48:33 +01:00
Alessia Bardi 3a16c934c2 INP sites (RAN): split query for modified and issued dates 2023-01-23 13:38:23 +01:00
Alessia Bardi 0d27dadde0 INP Cronica enrichment query: ARIADNE subject from collection, actors from publisher 2023-01-23 13:35:27 +01:00
Alessia Bardi 7e2c0d5be8 original id and AAT enrichment for RGK - DAI 2023-01-18 19:04:41 +01:00
Alessia Bardi 9917f67a94 enrich for landing pages of OpenArcheo 2023-01-18 19:03:43 +01:00
Alessia Bardi 6c93eb3f0f tests 2023-01-18 19:03:00 +01:00
Alessia Bardi b99e9ecf5e updated sparql enrichment for DAI RGK now that it has a second input file 2023-01-11 14:53:53 +01:00
Alessia Bardi e356f50ad7 test for carare 2023-01-11 14:51:54 +01:00
Alessia Bardi 22976a6983 language for MISANU fixed: simplified Getty AAT enrichment 2023-01-10 11:44:59 +01:00
Alessia Bardi 5cb929d2be enrichment queries for carare and INP 2023-01-10 11:44:29 +01:00
Alessia Bardi 14e56b63a8 added test to load a record to public - required property file not to be committed 2022-12-14 19:21:28 +01:00
Alessia Bardi df1fd92628 fixed AAT enrichment for UKPool 2022-12-14 19:20:21 +01:00
Alessia Bardi 156ee92498 updated enrichment query for ISLEIF FI iceland 2022-12-14 19:19:37 +01:00
Alessia Bardi d84e3df264 fixed IRI for CARAARE 2022-12-14 19:18:48 +01:00
Alessia Bardi 14b5af59a6 insert 'not provided' ARIADNE subject for ADS archives 2022-12-14 19:18:11 +01:00
Alessia Bardi f86160c17c updated enrichment queries for THANADOS 2022-12-14 18:48:30 +01:00
Alessia Bardi 29aae31c95 another useful template for AAT enrichment 2022-12-14 16:38:36 +01:00
Alessia Bardi ae56dc75fa provided record can be added as type to any individual records 2022-12-14 16:38:01 +01:00
Alessia Bardi c989195f8d ignore 2022-12-14 16:36:32 +01:00
Alessia Bardi 35961fc967 enrich queries for misanu 2022-12-14 16:36:07 +01:00
Alessia Bardi 11c56c4624 aat enrichment for carare 2022-12-07 18:00:58 +01:00
Alessia Bardi fe991f550a enrichment query for CARARE to fix data 2022-12-07 17:14:11 +01:00
Alessia Bardi db8b089a34 temporal coverage is not mandatory 2022-12-07 17:13:36 +01:00
Alessia Bardi 4d68de94ad enrich with publisher name that is missing for a reason I do not know 2022-12-07 17:12:51 +01:00
Alessia Bardi 17a31e0021 updated was_modified_date for ADS archives 2022-12-07 17:11:54 +01:00
Alessia Bardi 92bf8897d5 sparql to enable/disable inference rules 2022-11-27 13:11:00 +01:00
Alessia Bardi 8a9760c052 fixed AAT enrichment 2022-11-24 17:21:18 +01:00
Alessia Bardi 5f5d290b3c enrichment queries for thanados now that we have a 'supercollection' record 2022-11-24 15:53:25 +01:00
Alessia Bardi bca6b1a659 it's always a joy to do new tests for ADS records 2022-11-23 19:26:03 +01:00
Alessia Bardi 0283152a63 enrich queries update for CARARE - test 2022-11-23 19:24:46 +01:00
Alessia Bardi f7da798178 fix date for NIAM BAS 2022-11-23 19:24:20 +01:00
Alessia Bardi 733bd84bad change modification date for archives collection 2022-11-23 19:23:46 +01:00
Alessia Bardi 9ce6dbfb3c queries for HNM and CARARE 2022-11-23 19:23:22 +01:00
Alessia Bardi 709d73240f improved suggested enhnacement queries 2022-11-22 18:46:56 +01:00
Alessia Bardi 331e3e19cd ads archive: use the issued and modified date from collection if the records does not have it 2022-11-22 18:31:07 +01:00
Alessia Bardi 236f936b05 new index field to host has_identifier (https://support.d4science.org/issues/24160) 2022-11-22 13:47:04 +01:00
Alessia Bardi 4642e77a0c test for ADS 276 2022-11-21 20:46:27 +01:00
Alessia Bardi b3524feb9d test for ADS 1093 2022-11-21 20:31:12 +01:00
Alessia Bardi 194c1620ea more logs and bmped version 2022-11-21 18:59:58 +01:00
Alessia Bardi 66d557dcd1 enrich for period on FindSampo 2022-11-21 18:53:16 +01:00
Alessia Bardi 60563084c1 more tests 2022-11-21 18:50:03 +01:00
Alessia Bardi 5f712d09b1 more tests 2022-11-21 18:49:21 +01:00
Alessia Bardi 04848c1876 spatial_coverage and aocat:has_place_name are not mandatory - no need to enrich 2022-11-21 18:48:18 +01:00
Alessia Bardi 9d0fde9b29 spatial_coverage and aocat:has_place_name are not mandatory 2022-11-21 17:11:28 +01:00
Alessia Bardi de6bf8a4c4 spatial_coverage and aocat:has_place_name are not mandatory 2022-11-21 17:10:05 +01:00
Alessia Bardi 2d71608114 aocat:has_place_name is not mandatory 2022-11-21 17:04:05 +01:00
Alessia Bardi accc8fff27 enrich queries for ADS 276 Norther Ireland 2022-11-18 17:15:34 +01:00
Alessia Bardi 241616ee6b json file for thanados collection to test the temporal info in the index that led to the rollback of the previous commit 2022-11-18 17:15:06 +01:00
Alessia Bardi 0b600fe99e Revert "add the from and until to the temporal field even if they do not come from periodO, otherwise the info is not shown in the portal"
This reverts commit 07178a1b
2022-11-18 16:46:22 +01:00
Alessia Bardi e66cef3283 increased version 2022-11-17 17:30:09 +01:00
Alessia Bardi d245cd7409 updated enrichment queries for ADS 26 2022-11-17 17:23:26 +01:00
Alessia Bardi 23c857906d new library for parsing dates 2022-11-17 14:38:03 +01:00
Alessia Bardi 7c186ce3cb added default responsible for ads 1093 collection 2022-11-17 14:37:24 +01:00
Alessia Bardi 95e4468147 check agents have has_name 2022-11-17 14:19:57 +01:00
Alessia Bardi 255c631e02 fixed enrichment queries for ADS 1093 - see https://support.d4science.org/issues/24097 2022-11-17 12:29:50 +01:00
Alessia Bardi 7f39bbf4e9 clean up enrichment graphs for specific ADS collections 2022-11-16 17:47:43 +01:00
Alessia Bardi fa5bce3c39 added support for dates like '27-Oct-2022' 2022-11-16 16:31:47 +01:00
Alessia Bardi f2a33d5352 fixed sparql for Irish collection 276 on placenames 2022-11-16 16:29:53 +01:00
Alessia Bardi d9c0b4c136 info about landing pages 2022-11-08 19:35:54 +01:00
Alessia Bardi 7abb9418fe added label for UIBK landing pages 2022-11-08 19:14:15 +01:00
Alessia Bardi 52eddcbe65 inherit from collection 276 only when the field is not already set at the individual record level 2022-11-08 19:03:15 +01:00
Alessia Bardi 60107a60f7 removed useless insert for ADS 276 2022-11-08 18:52:04 +01:00
Alessia Bardi 62a1be8c03 add places when missing for ADS 276 2022-11-08 18:51:39 +01:00
Alessia Bardi e1bc08958c another test for ADS 2022-11-08 17:45:27 +01:00
Alessia Bardi c640276552 added landing page for ADS archives 2022-11-08 17:44:54 +01:00
Alessia Bardi ad442a1991 test for findsampo and temporal from and until in native periods 2022-11-08 12:07:47 +01:00
Alessia Bardi c1c05beedd added test for ADS fieldwork (1093) 2022-11-08 11:34:39 +01:00
Alessia Bardi 8e20f03dd3 doc for enrichement graphs 2022-11-08 11:33:45 +01:00
Alessia Bardi ca1d4a3b90 added ariadnesubject labels 2022-11-08 11:33:13 +01:00
Alessia Bardi b38df8f37d added 'privided record' type 2022-11-08 11:32:36 +01:00
Alessia Bardi f7a8844813 doc about enrichment graphs 2022-11-08 11:31:24 +01:00
Alessia Bardi 63f59221fa fixed graph URI in template 2022-11-08 11:24:02 +01:00
Alessia Bardi 062d9c3010 query template to copy the labels of ariadne subjects 2022-11-07 15:13:10 +01:00
Alessia Bardi 83e2961ac5 copied rdfs:label in skos:prefLabel for native periods from FindSampo 2022-11-01 19:35:41 +01:00
Alessia Bardi f5ac6b000c fixed enrich query for FindSampo 2022-11-01 19:11:42 +01:00
Alessia Bardi 07178a1b44 add the from and until to the temporal field even if they do not come from periodO, otherwise the info is not shown in the portal 2022-11-01 18:16:16 +01:00
Alessia Bardi 51271e2fc0 AAT and periodO enrichment for the LNEC collection 2022-11-01 18:15:17 +01:00
Alessia Bardi 91d0108969 enrich queries for FI (Iceland) Isleif collections and records 2022-10-24 14:22:49 +02:00
Alessia Bardi 6e9537b17d enrich queries for FindSampo 2022-10-24 13:35:01 +02:00
Alessia Bardi 9ae1211126 no distinct so we count 1 for each missing value 2022-10-20 17:21:30 +02:00
Alessia Bardi 154b1b6798 test for AMCR ARUP 2022-10-20 17:20:18 +02:00
Alessia Bardi 0837f308fd no propagation of spatial for Thanados 2022-10-20 17:19:35 +02:00
Alessia Bardi 021dd8be11 added option to get the label from Getty AAT, if it's loaded on graphdb 2022-10-20 17:18:48 +02:00
Alessia Bardi d4242390cf AAT enrichment for FindSampo - Finalnd 2022-10-20 17:18:09 +02:00
Alessia Bardi acb9faa3ce enrich query to test improved 3M mappings for ARUP AMCR 2022-10-20 10:42:01 +02:00
Alessia Bardi a9369c243b enrich query to test improved 3M mappings for ARUP AMCR 2022-10-20 10:41:45 +02:00
Alessia Bardi 47c4486d8f increased pom version 2022-10-10 17:18:09 +02:00
Alessia Bardi 37cc3e21d4 removed trick for contributor (see https://support.d4science.org/issues/19481) 2022-10-10 17:10:26 +02:00
Alessia Bardi d9ea174948 better default values for wf template of periodo 2022-10-10 17:06:53 +02:00
Alessia Bardi 5526edf1d2 added missing . for thandos enrichment queries 2022-10-10 17:06:17 +02:00
Alessia Bardi d7bc8ecfae enrich for Iceland FI Isleif 2022-10-10 17:05:33 +02:00
Alessia Bardi d1bd25c1d7 enrich for Iceland FI Isleif 2022-10-10 17:05:14 +02:00
Alessia Bardi adc2704603 simplified enrichment queries for NIAM BAS - Bulgaria 2022-10-07 20:33:00 +02:00
Alessia Bardi 01f20b73b7 MOVE aatplus triples in the proper graph for UIBK 2022-10-07 16:59:08 +02:00
Alessia Bardi 06743fd4fb enrich queries for CNR MASA (OpenArcheo) 2022-10-05 15:02:53 +02:00
Alessia Bardi 1857f8cff1 check we have the label for the native subject 2022-10-05 14:21:10 +02:00
Alessia Bardi b7041c079e added test for UKPool 2022-10-05 13:47:24 +02:00
Alessia Bardi 61cdf74f31 added comment for creator/contributor 2022-10-05 13:45:07 +02:00
Alessia Bardi 55ace9b60c added template query 2022-10-05 10:26:35 +02:00
Alessia Bardi f661cbc7c6 tests for OEAW UKPool and CNRS 2022-10-05 10:25:25 +02:00
Alessia Bardi 22f7455ec2 enrich queries for OEAW UKPool 2022-10-05 10:24:47 +02:00
Alessia Bardi 5a9c30250b UKPool enrich with AAT 2022-09-30 15:18:03 +02:00
Alessia Bardi beef9b1506 AAT template with uppercase case 2022-09-30 15:17:37 +02:00
Alessia Bardi 2a2dd374fa enrich queries for tdar, CNRS, and ARCHE 2022-09-30 14:44:49 +02:00
Alessia Bardi 77137414cd renamed enrich query files for oeaw ukpool 2022-09-29 17:54:04 +02:00
Enrico Ottonello 49cc757b69 added spatial info inherited from collection 2022-09-27 09:43:02 +02:00
Enrico Ottonello 17dc0276ab added aat mapping for tdar 2022-09-21 11:23:23 +02:00
Enrico Ottonello a94c84eef0 added periodO mapping 2022-09-19 12:19:42 +02:00
Enrico Ottonello 09680f5e5e enrichment for oeaw ukpool 2022-09-16 16:30:41 +02:00
Enrico Ottonello fd38ef6824 enrichment for asu tdar 2022-09-14 17:30:17 +02:00
Enrico Ottonello 98df8db924 added from/until range from native data 2022-09-12 12:15:10 +02:00
Enrico Ottonello 85e4f90423 enrichment for rgk 2022-09-07 10:29:21 +02:00
Alessia Bardi d6e65c30c4 missing place names 2022-08-11 20:28:52 +02:00
Alessia Bardi 03962666a6 add creator for NIAM BAS 2022-08-11 20:12:55 +02:00
Alessia Bardi 6c577c0126 updated enrich queries for ARUP CAS AMCR 2022-08-09 12:54:57 +02:00
Alessia Bardi ca72fab5d9 check additional properties 2022-08-06 12:12:45 +02:00
Alessia Bardi 75d7ae1178 enrichment queries for CNRS Humanum OpenArcheo 2022-08-04 15:02:06 +02:00
Enrico Ottonello e30a72b15f Merge branch 'master' of https://code-repo.d4science.org/D-Net/AriadnePlus 2022-07-29 22:09:22 +02:00
Enrico Ottonello 57578a673a enrichment for university barcelona 2022-07-29 22:09:15 +02:00
Alessia Bardi 4666063dcf updated enrich for UIBK 2022-07-29 15:47:38 +02:00
Alessia Bardi 74a2028d42 also the label of the language is mandatory 2022-07-29 10:04:25 +02:00
Alessia Bardi a632f5f686 enrichment query for UIBK 2022-07-29 10:03:25 +02:00
Enrico Ottonello 940f5de363 added CONICET Alemandri enrichment 2022-07-28 12:32:38 +02:00
Enrico Ottonello 3819cfe9bc added relatedMatch for NARA aat mapping 2022-07-19 11:54:11 +02:00
Enrico Ottonello b348366873 added path method to fix ADS overwritten collections on public portal 2022-07-18 16:39:34 +02:00
Enrico Ottonello 44fb0bb3c1 test for INP 2022-07-18 11:20:28 +02:00
Enrico Ottonello a10ad74699 INP - added from/until range from native period 2022-07-18 11:19:51 +02:00
Enrico Ottonello a26c1cde24 test enrichment for inp no more used 2022-07-14 13:48:29 +02:00
Enrico Ottonello ae11aec41a removed Ariadne_subject inherited from collection 2022-07-14 13:43:43 +02:00
Enrico Ottonello 0d0ca09983 open search record id generated with sha-256 function 2022-07-11 18:43:25 +02:00
Enrico Ottonello 8b2b703c6f Merge pull request '#23447: Add centroids of polygons to indexed records' (#4) from centroids into master
Reviewed-on: #4
2022-07-11 16:50:57 +02:00
98 changed files with 12381 additions and 1549 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@
/*/*/build
/*/build
/build
dnet-ariadneplus-graphdb-publisher/src/main/resources/application-prod-DO-NOT-COMMIT.properties

View File

@ -10,7 +10,7 @@
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-ariadneplus-graphdb-publisher</artifactId>
<packaging>jar</packaging>
<version>4.0.0-SNAPSHOT</version>
<version>4.2.1-SNAPSHOT</version>
<scm>
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet50/modules/dnet-ariadneplus-graphdb-publisher/trunk</developerConnection>
<url>https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/dnet-ariadneplus-graphdb-publisher</url>
@ -138,6 +138,11 @@
<artifactId>jts-core</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<groupId>com.github.sisyphsu</groupId>
<artifactId>dateparser</artifactId>
<version>1.0.7</version>
</dependency>
</dependencies>

View File

@ -4,6 +4,8 @@ import eu.dnetlib.ariadneplus.elasticsearch.model.AriadnePlusEntry;
import eu.dnetlib.ariadneplus.elasticsearch.model.AriadneResource;
import eu.dnetlib.ariadneplus.elasticsearch.model.Spatial;
import eu.dnetlib.ariadneplus.reader.ResourceManager;
import eu.dnetlib.ariadneplus.reader.utils.ESUtils;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@ -28,7 +30,10 @@ import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
import javax.xml.bind.DatatypeConverter;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
@ -84,10 +89,6 @@ public class BulkUpload {
if (uniqueIsPartOf != null) {
ace.setIsPartOf(Arrays.asList(uniqueIsPartOf));
}
if (ace.getContributor() != null) {
ace.getContributor().clear();
ace.setContributor(ace.getCreator());
}
if (ace.getSpatial()!=null) {
ace.getSpatial()
@ -188,12 +189,13 @@ public class BulkUpload {
ace.getSpatial().clear();
ace.setSpatial(dedupSpatials);
}
String[] splits = ace.getIdentifier().split("/");
log.debug("JSON >>>> "+ace.toJson());
String idES = splits[splits.length-1];
MessageDigest digest = MessageDigest.getInstance("SHA-256");
byte[] encodedhash = digest.digest(
ace.getIdentifier().getBytes(StandardCharsets.UTF_8));
String idES = ESUtils.bytesToHex(encodedhash);
log.debug("indexing " + ace.getIdentifier() + " > " + idES);
request.add(new IndexRequest(elasticSearchIndexName).id(idES)
.source(ace.toJson(),XContentType.JSON));
long start = System.currentTimeMillis();

View File

@ -2,6 +2,7 @@ package eu.dnetlib.ariadneplus.elasticsearch.model;
import com.google.gson.Gson;
import eu.dnetlib.ariadneplus.reader.utils.ESUtils;
import org.apache.commons.compress.utils.Lists;
import java.util.List;
@ -34,6 +35,7 @@ public class AriadnePlusEntry {
private List<NativePeriod> nativePeriod;
private String wasCreated;
private List<DigitalImage> digitalImage;
private List<String> otherId;
private transient String uniqueIsPartOf;
private transient String typeURI;
@ -305,4 +307,15 @@ public class AriadnePlusEntry {
public void setPublisher(List<PublisherInfo> publisher) {
this.publisher = publisher;
}
public List<String> getOtherId() {
return otherId;
}
public void setOtherId(String otherId) {
if (this.otherId==null) {
this.otherId = Lists.newArrayList();
}
this.otherId.add(otherId);
}
}

View File

@ -125,13 +125,21 @@ public class ResourceManager {
if (!map.hasExternalReference()){
Method setField = c.getMethod("set" + map.getClass_field(), Class.forName(map.getElement_type()));
if (map.getClass_field().equals("Description")) {
//TODO: the current language seems not to support list of strings
if (map.getClass_field().equals("Description") ) {
setField.invoke(class_instance, values.stream().map(value -> {
return getFieldValue(value);
}).collect(Collectors.joining(" \n")));
}
else {
setField.invoke(class_instance, getFieldValue(values.get(0)));
if(map.getClass_field().equals("OtherId")){
for (Object v : values) {
setField.invoke(class_instance, getFieldValue(v));
}
}
else {
setField.invoke(class_instance, getFieldValue(values.get(0)));
}
}
}
else{

View File

@ -101,7 +101,7 @@ public class RunSPARQLWriteService {
valueFactory.createIRI(graphDBBaseURI, datasourceApi));
// connection.commit();
} catch(Exception e){
log.error(e);
log.error(String.format("Exception processing result with URI %s:\n%s",recordURI, e));
return -1;
} finally{
if (connection!=null && connection.isOpen()) {

View File

@ -1,64 +1,56 @@
package eu.dnetlib.ariadneplus.reader.utils;
import com.github.sisyphsu.dateparser.DateParser;
import com.github.sisyphsu.dateparser.DateParserUtils;
import org.apache.commons.lang3.StringUtils;
import java.time.LocalDate;
import java.time.Year;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeFormatterBuilder;
import java.time.format.DateTimeParseException;
import java.time.format.TextStyle;
import java.time.temporal.ChronoField;
import java.util.Collections;
import java.util.Locale;
public class ESUtils {
private static DateTimeFormatter originalRecordDateFormatter = DateTimeFormatter.ofPattern("dd MMM yyyy");
private static DateTimeFormatter elasticSearchDateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
private static DateTimeFormatter fastCatDateFormatter = DateTimeFormatter.ofPattern("dd/MM/yyyy");
private static ZoneId preferredZone = ZoneId.of("Europe/London");
private static DateTimeFormatter BST_FORMATTER = new DateTimeFormatterBuilder()
.appendPattern("EEE MMM dd HH:mm:ss ")
.appendZoneText(TextStyle.SHORT, Collections.singleton(preferredZone))
.appendPattern(" yyyy")
.toFormatter(Locale.ROOT);
private static DateTimeFormatter yearOnlyDateFormatter = new DateTimeFormatterBuilder()
.appendPattern("yyyy").toFormatter();
private static String elasticSearchDateFormat = "yyyy-MM-dd";
public static String getESFormatDate(String originalDate) {
try{
LocalDate parsedDate = LocalDate.parse(originalDate, elasticSearchDateFormatter);
return parsedDate.format(elasticSearchDateFormatter);
} catch(Exception e){
try {
Year year = Year.parse(originalDate);
return year.format(yearOnlyDateFormatter);
} catch (Exception e0) {
try {
LocalDate parsedDate = LocalDate.parse(originalDate, originalRecordDateFormatter);
return parsedDate.format(elasticSearchDateFormatter);
} catch (Exception e1) {
try {
LocalDate parsedDate = LocalDate.parse(originalDate.substring(0, 10), elasticSearchDateFormatter);
return parsedDate.format(elasticSearchDateFormatter);
} catch (Exception e2) {
try {
return parseBST(originalDate);
} catch (Exception e3) {
try {
LocalDate parsedDate = LocalDate.parse(originalDate, fastCatDateFormatter);
return parsedDate.format(elasticSearchDateFormatter);
} catch (Exception e4) {
return "0000";
}
}
}
}
public static String getESFormatDate(String originalDate) {
if (StringUtils.isBlank(originalDate)) {
return null;
}
String inputDate = originalDate.trim();
// the library completes with 01-01 if we hae only the year: we do not want that.
if(inputDate.length() == 4 && StringUtils.isNumeric(inputDate)){
return inputDate;
}
try {
final LocalDate date = DateParserUtils
.parseDate(inputDate.trim())
.toInstant()
.atZone(ZoneId.systemDefault())
.toLocalDate();
return DateTimeFormatter.ofPattern(elasticSearchDateFormat).format(date);
} catch (DateTimeParseException e) {
return null;
}
}
}
private static String parseBST(String BSTDate) {
ZonedDateTime zd = ZonedDateTime.parse(BSTDate, BST_FORMATTER);
return zd.format(elasticSearchDateFormatter);
public static String bytesToHex(byte[] hash) {
StringBuilder hexString = new StringBuilder(2 * hash.length);
for (int i = 0; i < hash.length; i++) {
String hex = Integer.toHexString(0xff & hash[i]);
if(hex.length() == 1) {
hexString.append('0');
}
hexString.append(hex);
}
return hexString.toString();
}
}

View File

@ -441,6 +441,12 @@ class.map.specifications={\
"substring": "no",\
"element_type": "java.lang.String"\
},\
"https://www.ariadne-infrastructure.eu/property/otherId": {\
"class_field": "OtherId",\
"class_type": "prototype",\
"substring": "no",\
"element_type": "java.lang.String"\
},\
"https://www.ariadne-infrastructure.eu/property/temporal": {\
"class_field": "Temporal",\
"substring": "no",\

View File

@ -0,0 +1,90 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fi::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi:aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif>
WHERE {
{
?record aocat:has_native_subject ?concept .
?concept skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?concept .
?concept skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?concept .
?concept skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?concept .
?concept skos:narrowMatch ?aat .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
?native_period skos:prefLabel ?lab
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label ?lab
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fi::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
?temporal aocat:has_native_period ?native_period .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};

View File

@ -0,0 +1,242 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_title ?title .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/FI_ISLEIF/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/FI_ISLEIF/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s ?rel ?agent .
?agent ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:is_part_of ?coll .
?coll ?rel ?agent .
?agent rdf:type aocat:AO_Agent .
?agent ?p ?o .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s ?rel ?relAgent .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:has_language ?lang .
?lang skos:prefLabel ?label .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:is_part_of ?coll .
?coll aocat:has_language ?lang .
?lang skos:prefLabel ?label .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?ns .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:was_modified "2022"^^xsd:dateTime .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:was_issued "2022"^^xsd:dateTime .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:has_access_rights ?ar .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:is_part_of ?c .
MINUS {
?s aocat:has_access_rights ?x
}
}
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif> {
?c aocat:has_access_rights ?ar.
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?s aocat:has_access_policy ?ap .
?ap ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:is_part_of ?coll .
?coll aocat:has_access_policy ?ap .
?ap ?p ?o .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_access_policy ?thePolicy .
}
};
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fi::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites>
WHERE {
{
?record aocat:has_native_subject ?concept .
?concept skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?concept .
?concept skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?concept .
?concept skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?concept .
?concept skos:narrowMatch ?aat .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fi::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
optional {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::fi::periodo> {
?periodO skos:altLabel ?native_label .
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
}
}
}
};

View File

@ -0,0 +1,177 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
PREFIX gvp: <http://vocab.getty.edu/ontology#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
<https://ariadne-infrastructure.eu/aocat/Collection/FHA/86DE51E7-1A20-32E0-96CA-119DEA2220E4> aocat:has_original_id "https://findsampo.fi" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
<https://ariadne-infrastructure.eu/aocat/Collection/FHA/86DE51E7-1A20-32E0-96CA-119DEA2220E4> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
<https://ariadne-infrastructure.eu/aocat/Collection/FHA/86DE51E7-1A20-32E0-96CA-119DEA2220E4> aocat:has_original_id ?id .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?ns skos:prefLabel ?nsLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?s aocat:has_native_subject ?ns .
?ns rdfs:label ?nsLabel .
MINUS {
?ns skos:prefLabel ?l
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/FHA/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/FHA/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::findsampo::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds>
WHERE {
?record aocat:has_derived_subject ?aat_subject .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
PREFIX gvp: <http://vocab.getty.edu/ontology#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::aat> {
?aat_subject skos:prefLabel ?label .
}
}
USING <http://vocab.getty.edu/aat/>
USING <https://ariadne-infrastructure.eu/ariadneplus::findsampo::aatplus>
WHERE {
?record aocat:has_derived_subject ?aat_subject .
?aat_subject rdf:type gvp:Concept .
?aat_subject gvp:prefLabelGVP ?lab .
?lab gvp:term ?label .
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?nativePeriod skos:prefLabel ?label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?temporalNative aocat:has_native_period ?nativePeriod .
?nativePeriod rdfs:label ?label .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::findsampo::periodoplus> {
?temporal aocat:has_period ?period .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?temporal aocat:has_native_period ?period .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::findsampo::periodo> {
?period skos:prefLabel ?label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::findsampo::finds> {
?temporal aocat:has_native_period ?period .
?period skos:prefLabel ?label .
}
};

View File

@ -20,6 +20,24 @@ WHERE {
}
};
#COPY ARIADNE SUBJECTS LABELS
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
?ariadneSubject skos:prefLabel ?label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
?s aocat:has_ARIADNE_subject ?ariadneSubject .
GRAPH ?g {
?ariadneSubject skos:prefLabel ?label .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

View File

@ -65,6 +65,9 @@ WHERE {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
@ -74,9 +77,5 @@ INSERT {
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};

View File

@ -29,4 +29,140 @@ WHERE {
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
};
#if you need to uppercase (i.e. uppercase in aat data)
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::<PROVIDER>::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/<PROVIDER>/", ucase(strafter(str(?native_subject),"<PROVIDER>/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/<PROVIDER>/", ucase(strafter(str(?native_subject),"<PROVIDER>/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/<PROVIDER>/", ucase(strafter(str(?native_subject),"<PROVIDER>/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/<PROVIDER>/", ucase(strafter(str(?native_subject),"<PROVIDER>/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};
#if you need to match on the skos:prefLabel, ignoring language
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::<PROVIDER>::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:exactMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:broadMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:closeMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:narrowMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
};
#if you need to copy triples from the data graph to the aat/aatplus graph:
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::<PROVIDER>::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>>
WHERE {
?record aocat:has_derived_subject ?aat_subject .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::aat> {
?aat_subject skos:prefLabel ?label .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>>
WHERE {
?record aocat:has_derived_subject ?aat_subject .
?aat_subject skos:prefLabel ?label
}
#it could the case there is no prefLabel in the data graph: we have to find it somewhere (if there is not, then we might have a problem)
# note that the ?label comes with the language tag
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
PREFIX gvp: <http://vocab.getty.edu/ontology#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::aat> {
?aat_subject skos:prefLabel ?label .
}
}
USING <http://vocab.getty.edu/aat/>
USING <https://ariadne-infrastructure.eu/ariadneplus::<PROVIDER>::aatplus>
WHERE {
?record aocat:has_derived_subject ?aat_subject .
?aat_subject rdf:type gvp:Concept .
?aat_subject gvp:prefLabelGVP ?lab .
?lab gvp:term ?label .
}

View File

@ -1,4 +1,28 @@
#PERIODO ENRICHMENT
# WHEN THE OLD ARIADNE PERIODO COLLECTION IS INVOLVED DO THIS FIRST TO PUT THE TRIPLES IN THE PROPER NAMED GRAPH
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::<provider>::periodo> {
?periodO ?pred ?o .
?o ?pred2 ?o2 .
?o2 ?pred3 ?o3 .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
?periodO dcterms:spatial <http://www.wikidata.org/entity/SPATIALCODE> .
?periodO ?pred ?o .
optional {
?o ?pred2 ?o2 .
optional {
?o2 ?pred3 ?o3 .
}
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
@ -24,4 +48,47 @@
}
}
}
};
# if there is no periodO, but you have the dates then you want to put them in the temporal index fields.
# Add from/until and native period in the periodo graphs:
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus> :
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo>
?periodOURI skos:prefLabel ?origTemporalPeriodName .
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%coll> {
?temporal aocat:has_native_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%coll> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod rdfs:label ?periodLabel .
}
};

View File

@ -17,6 +17,7 @@ SELECT * WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_ARIADNE_subject ?ariadneSubject .
?ariadneSubject skos:prefLabel ?archeologicalResourceTypeName .
}
}
UNION {
@ -24,6 +25,7 @@ SELECT * WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_publisher ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION {
@ -31,6 +33,7 @@ SELECT * WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_owner ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION {
@ -38,6 +41,7 @@ SELECT * WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_responsible ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION{
@ -45,6 +49,7 @@ SELECT * WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_contributor ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION{
@ -52,6 +57,7 @@ SELECT * WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_issued ?issued .
}
}
UNION{
@ -66,6 +72,7 @@ SELECT * WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_language ?language .
?language skos:prefLabel ?x .
}
}
UNION{
@ -96,13 +103,6 @@ SELECT * WHERE {
?s aocat:has_type ?type .
}
}
UNION{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?temporalCoverage .
}
}
}
FILTER(?g != <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::collSubjects>)

View File

@ -3,7 +3,7 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?g WHERE {
SELECT ?s WHERE {
GRAPH ?g {
{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
@ -17,6 +17,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_ARIADNE_subject ?ariadneSubject .
?ariadneSubject skos:prefLabel ?archeologicalResourceTypeName .
}
}
UNION {
@ -24,6 +25,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_publisher ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION {
@ -31,6 +33,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_owner ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION {
@ -38,6 +41,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_responsible ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION{
@ -45,20 +49,21 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_contributor ?agent .
?agent aocat:has_name ?agentName .
}
}
UNION{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:was_issued ?agent .
?s aocat:was_issued ?date .
}
}
UNION{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:was_modified ?agent .
?s aocat:was_modified ?date .
}
}
UNION{
@ -66,6 +71,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_language ?l .
?l skos:prefLabel ?label .
}
}
UNION{
@ -108,16 +114,10 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_native_subject ?sub .
}
}
UNION{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_spatial_coverage ?spatial .
?spatial aocat:has_place_name ?placeName .
?sub skos:prefLabel ?subjectLabel .
}
}
}
}

View File

@ -0,0 +1,44 @@
#First count how many triples are there
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?resource ?aat WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::271>{
?resource ?p ?o .
}
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus>{
?resource aocat:has_derived_subject ?aat .
}
}
#let's delete them from the aatplus graph for the individual records
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
WITH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus>
DELETE {
?resource aocat:has_derived_subject ?aat .
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::271>
USING <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus>
WHERE {
?resource rdf:type aocat:AO_Individual_Data_Resource .
?resource aocat:has_derived_subject ?aat .
}
#and now the collection
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
WITH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus>
DELETE {
?resource aocat:has_derived_subject ?aat .
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::271>
USING <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus>
WHERE {
?resource rdf:type aocat:AO_Collection .
?resource aocat:has_derived_subject ?aat .
}

View File

@ -0,0 +1,34 @@
#First count how many triples are there
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
SELECT * WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093>{
?resource aocat:has_temporal_coverage ?temporal .
}
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus>{
?temporal aocat:has_period ?period .
optional {?temporal aocat:from ?temporalFrom .}
optional {?temporal aocat:until ?temporalUntil .}
}
}
#let's delete them from the periodoplus graph
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
WITH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus>
DELETE {
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093>
USING <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus>
WHERE {
?resource aocat:has_temporal_coverage ?temporal .
?temporal aocat:has_period ?periodOURI .
optional {?temporal aocat:from ?temporalFrom .}
optional {?temporal aocat:until ?temporalUntil .}
}

View File

@ -142,28 +142,56 @@ WHERE {
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::aarhusdime::aatplus> {
?record aocat:has_derived_subject ?aat .
}
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::aat> {
?derivedSubject skos:prefLabel ?label .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::oai>
WHERE {
?record aocat:has_derived_subject ?aat .
?derivedSubject skos:prefLabel ?label .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::aarhusdime::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::oai>
WHERE {
?record aocat:has_derived_subject ?aat .
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:narrowMatch ?aat .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::aat> {
?derivedSubject skos:prefLabel ?label .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::aarhusdime::oai>
WHERE {
?record aocat:has_derived_subject ?derivedSubject .
?derivedSubject skos:prefLabel ?label .
};

View File

@ -4,16 +4,37 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/5910411B-ED97-364E-8D28-6024558AA14B> aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName .
?archeologicalResourceType rdfs:label ?archeologicalResourceTypeName .
}
}
WHERE {
?collection rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::collSubjects> {
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/5910411B-ED97-364E-8D28-6024558AA14B> aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName .
?collection aocat:has_original_id "https://archaeologydataservice.ac.uk/library/" .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
@ -22,20 +43,20 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_responsible ?agent .
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
@ -60,64 +81,16 @@ INSERT {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?record aocat:was_issued ?issued .
?record aocat:was_modified ?modified .
?record aocat:has_contributor ?contributor .
?record aocat:has_responsible ?legalResponsible .
?record aocat:has_owner ?owner .
?record aocat:has_publisher ?publisher .
?record aocat:has_access_rights ?accessRights .
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
?collection aocat:was_modified ?modified .
?collection aocat:has_contributor ?contributor .
?collection aocat:has_responsible ?legalResponsible .
?collection aocat:has_owner ?owner .
?collection aocat:has_publisher ?publisher .
?collection aocat:has_access_rights ?accessRights .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/ads/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/ads/NOT_PROVIDED> aocat:has_name "Not provided" .
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
@ -131,61 +104,94 @@ WHERE {
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_temporal_coverage ?t .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_time_interval ?t .
?t rdf:type aocat:AO_Temporal_Region .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Name not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Name not provided" .
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?record aocat:was_issued ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
MINUS{
?record aocat:was_issued ?issuedRecord .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?record aocat:was_modified ?created .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:was_created_on ?created .
MINUS{
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
@ -193,12 +199,12 @@ WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {

View File

@ -1,94 +1,10 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName .
?archeologicalResourceType rdfs:label ?archeologicalResourceTypeName .
}
}
WHERE {
?collection rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName .
?collection aocat:has_original_id "1000276" .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?record aocat:was_issued ?issued .
?record aocat:was_modified ?modified .
?record aocat:has_contributor ?contributor .
?record aocat:has_responsible ?legalResponsible .
?record aocat:has_owner ?owner .
?record aocat:has_publisher ?publisher .
?record aocat:has_access_rights ?accessRights .
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
?collection aocat:was_modified ?modified .
?collection aocat:has_contributor ?contributor .
?collection aocat:has_responsible ?legalResponsible .
?collection aocat:has_owner ?owner .
?collection aocat:has_publisher ?publisher .
?collection aocat:has_access_rights ?accessRights .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> skos:prefLabel "Not provided" .
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
@ -102,20 +18,128 @@ WHERE {
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s aocat:has_temporal_coverage ?t .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_time_interval ?t .
?t rdf:type aocat:AO_Temporal_Region .
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s aocat:has_access_rights "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_access_rights ?ar .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?temporal aocat:has_native_period ?native_period .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
optional {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
}
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -146,31 +170,4 @@ WHERE {
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::276> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
optional {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
}
}
}
};
};

View File

@ -3,7 +3,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName .
?archeologicalResourceType rdfs:label ?archeologicalResourceTypeName .
@ -13,14 +13,14 @@ WHERE {
?collection rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?archeologicalResourceTypeName .
?collection aocat:has_original_id "1000001" .
?collection aocat:has_original_id "1000398A" .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
@ -28,7 +28,7 @@ INSERT {
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
@ -38,24 +38,22 @@ WHERE {
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?contributor aocat:has_name ?name .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A>
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?contributor .
?contributor rdfs:label ?name.
MINUS {
?contributor aocat:has_name ?cname .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
@ -63,7 +61,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?record aocat:was_issued ?issued .
?record aocat:was_modified ?modified .
?record aocat:has_contributor ?contributor .
@ -74,7 +72,7 @@ INSERT {
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
@ -87,56 +85,47 @@ WHERE {
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?s aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> skos:prefLabel "Not provided" .
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Name not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Name not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?s aocat:has_temporal_coverage ?t .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_time_interval ?t .
?t rdf:type aocat:AO_Temporal_Region .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -146,7 +135,7 @@ INSERT {
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
@ -180,59 +169,17 @@ WHERE {
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::398A> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?lowercase_native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0xxt6t> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
BIND(ucase(?lowercase_native_label) as ?native_label)
}
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?lowercase_native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
BIND(ucase(?lowercase_native_label) as ?native_label)
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?c aocat:has_name ?l .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?c .
?c rdfs:label ?l .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?c .
?c aocat:has_name ?n .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?c aocat:has_name ?l .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?c .
?c rdfs:label ?l .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?c .
?c aocat:has_name ?n .
}
}
};
};

View File

@ -0,0 +1,147 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_contributor ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?agent .
MINUS {
?record aocat:has_contributor ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_responsible ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?agent .
MINUS {
?record aocat:has_responsible ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_owner ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?agent .
MINUS {
?record aocat:has_owner ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_publisher ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?agent .
MINUS {
?record aocat:has_publisher ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_access_rights ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_rights ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_access_policy ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_policy ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
}
}
};

View File

@ -0,0 +1,159 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/ADS/8D520B07-78F5-3A8E-AD61-580FCFF7218E>
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_contributor ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?agent .
MINUS {
?record aocat:has_contributor ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_responsible ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?agent .
MINUS {
?record aocat:has_responsible ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_owner ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?agent .
MINUS {
?record aocat:has_owner ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_publisher ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?agent .
MINUS {
?record aocat:has_publisher ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_access_rights ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_rights ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_access_policy ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_policy ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
}
}
};

View File

@ -0,0 +1,226 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/ADS/8D520B07-78F5-3A8E-AD61-580FCFF7218E>
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_title ?title .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:was_modified ?date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_modified ?date .
MINUS {
?record aocat:was_modified ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:was_issued ?date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?date .
MINUS {
?record aocat:was_issued ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_contributor ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?agent .
MINUS {
?record aocat:has_contributor ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_responsible ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?agent .
MINUS {
?record aocat:has_responsible ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_owner ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?agent .
MINUS {
?record aocat:has_owner ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_publisher ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?agent .
MINUS {
?record aocat:has_publisher ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_access_rights ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_rights ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?record aocat:has_access_policy ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_policy ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::test> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
}
}
};

View File

@ -1,88 +1,15 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?record aocat:has_access_rights ?coll_value .
}
DELETE {
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/AC6671C7-FD6D-311D-98D0-F635D5EFAA4F> aocat:was_modified ?x .
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?coll_value .
MINUS {
?record aocat:has_access_rights ?rec_value .
}
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/AC6671C7-FD6D-311D-98D0-F635D5EFAA4F> aocat:was_modified ?x .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?record aocat:has_ARIADNE_subject ?coll_value .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_ARIADNE_subject ?coll_value .
MINUS {
?record aocat:has_ARIADNE_subject ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?record aocat:has_owner ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
MINUS {
?record aocat:has_owner ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?record aocat:has_responsible ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
MINUS {
?record aocat:has_responsible ?rec_value .
INSERT DATA {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>{
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/AC6671C7-FD6D-311D-98D0-F635D5EFAA4F> aocat:was_modified "2023-09-05"^^xsd:dateTime .
}
};
@ -100,53 +27,9 @@ INSERT {
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:was_modified ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?issued .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?record aocat:was_issued ?coll_issued_value .
?record aocat:was_modified ?coll_modified_value .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?coll_issued_value .
?collection aocat:was_modified ?coll_modified_value .
MINUS {
?record aocat:was_issued ?rec_value .
?record aocat:was_modified ?rec_value2 .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -171,8 +54,8 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ads/NOT_PROVIDED> skos:prefLabel "Not provided" .
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
@ -185,28 +68,6 @@ WHERE {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Name not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Name not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -251,7 +112,94 @@ INSERT {
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?resp .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?own .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?record aocat:was_modified ?coll_mod .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_modified ?coll_mod .
MINUS{
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?record aocat:was_issued ?coll_iss .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_issued ?coll_iss .
MINUS{
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:was_issued ?issued .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus> {
@ -262,27 +210,23 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_subject owl:sameAs ?native_subject .
?aat_subject skos:exactMatch ?aat .
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_subject owl:sameAs ?native_subject .
?aat_subject skos:broadMatch ?aat .
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_subject owl:sameAs ?native_subject .
?aat_subject skos:closeMatch ?aat .
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_subject owl:sameAs ?native_subject .
?aat_subject skos:narrowMatch ?aat .
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
@ -312,4 +256,45 @@ INSERT {
}
}
}
};
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:has_landing_page ?lpResource .
?lpResource rdfs:label ?url
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:has_original_id ?url .
MINUS {
?s aocat:has_landing_page ?x .
}
BIND (IRI(?url) as ?lpResource)
}
};
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT{
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s aocat:has_ARIADNE_subject <https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archives> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:has_ARIADNE_subject ?x
}
}
}

View File

@ -1,3 +1,18 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
DELETE {
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/AC6671C7-FD6D-311D-98D0-F635D5EFAA4F> aocat:was_modified ?x .
}
WHERE {
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/AC6671C7-FD6D-311D-98D0-F635D5EFAA4F> aocat:was_modified ?x .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT DATA {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::archivesCollInfo>{
<https://ariadne-infrastructure.eu/aocat/Collection/ADS/AC6671C7-FD6D-311D-98D0-F635D5EFAA4F> aocat:was_modified "2022-11-08"^^xsd:dateTime .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

View File

@ -0,0 +1,172 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/RCAHMW/8D520B07-78F5-3A8E-AD61-580FCFF7218E>. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record rdf:type aocat:AO_Individual_Data_Resource.
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED>.
<https://ariadne-infrastructure.eu/aocat/Concept/ADS/NOT_PROVIDED> skos:prefLabel "Not provided".
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?s rdf:type aocat:AO_Individual_Data_Resource.
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns.
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?s aocat:has_title "Title not provided". } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?s rdf:type aocat:AO_Individual_Data_Resource.
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource.
?s aocat:has_title ?title.
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:was_modified ?date. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:was_modified ?date.
MINUS { ?record aocat:was_modified ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:was_issued ?date. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:was_issued ?date.
MINUS { ?record aocat:was_issued ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:has_contributor ?agent. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:has_contributor ?agent.
MINUS { ?record aocat:has_contributor ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:has_responsible ?agent. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:has_responsible ?agent.
MINUS { ?record aocat:has_responsible ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:has_owner ?agent. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:has_owner ?agent.
MINUS { ?record aocat:has_owner ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:has_publisher ?agent. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:has_publisher ?agent.
MINUS { ?record aocat:has_publisher ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:has_access_rights ?ar. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:has_access_rights ?ar.
MINUS { ?record aocat:has_access_rights ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> { ?record aocat:has_access_policy ?ar. } }
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?record aocat:is_part_of ?collection.
?collection aocat:has_access_policy ?ar.
MINUS { ?record aocat:has_access_policy ?x. }
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus> { ?record aocat:has_derived_subject ?aat. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein>
WHERE {
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:exactMatch ?aat.
}
UNION
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:broadMatch ?aat.
}
UNION
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:closeMatch ?aat.
}
UNION
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:narrowMatch ?aat.
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO.
?temporal aocat:from ?temporalFrom.
?temporal aocat:until ?temporalUntil.
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::coflein> {
?temporal aocat:has_native_period ?native_period.
?native_period skos:prefLabel ?native_label.
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy.
?intervalStartedBy skos:prefLabel ?temporalFrom.
?periodO time:intervalFinishedBy ?intervalFinishedBy.
?intervalFinishedBy skos:prefLabel ?temporalUntil.
}
}
}

View File

@ -0,0 +1,206 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT DATA{
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument> skos:prefLabel "Site/monument"@en .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Maritime> skos:prefLabel "Maritime"@en .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:has_ARIADNE_subject ?as .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_ARIADNE_subject ?as .
MINUS {
?record aocat:has_ARIADNE_subject ?theas .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:was_modified ?modified .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_modified ?modified .
MINUS {
?record aocat:was_modified ?mod .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:was_issued ?date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?date .
MINUS {
?record aocat:was_issued ?thedate .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:has_contributor ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?agent .
MINUS {
?record aocat:has_contributor ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?contributor aocat:has_name ?name .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:has_contributor ?contributor .
?contributor rdfs:label ?name.
MINUS {
?contributor aocat:has_name ?cname .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:has_responsible ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?agent .
MINUS {
?record aocat:has_responsible ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:has_owner ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?agent .
MINUS {
?record aocat:has_owner ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:has_publisher ?agent .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?agent .
MINUS {
?record aocat:has_publisher ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?record aocat:has_access_rights ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_rights ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::isleofman> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
}
}
};

View File

@ -0,0 +1,153 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT DATA {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> {
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument> skos:prefLabel "Site/monument"@en.
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Maritime> skos:prefLabel "Maritime"@en.
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:has_ARIADNE_subject ?as. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:has_ARIADNE_subject ?as.
MINUS { ?record aocat:has_ARIADNE_subject ?theas. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:was_modified ?modified. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:was_modified ?modified.
MINUS { ?record aocat:was_modified ?mod. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:was_issued ?date. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:was_issued ?date.
MINUS { ?record aocat:was_issued ?thedate. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:has_contributor ?agent. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:has_contributor ?agent.
MINUS { ?record aocat:has_contributor ?x. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:has_creator ?agent. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:has_creator ?agent.
MINUS { ?record aocat:has_creator ?x. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?creator aocat:has_name ?name. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:has_creator ?creator.
?creator rdfs:label ?name.
MINUS { ?creator aocat:has_name ?cname. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?contributor aocat:has_name ?name. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:has_contributor ?contributor.
?contributor rdfs:label ?name.
MINUS { ?contributor aocat:has_name ?cname. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:has_responsible ?agent. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:has_responsible ?agent.
MINUS { ?record aocat:has_responsible ?x. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:has_owner ?agent. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:has_owner ?agent.
MINUS { ?record aocat:has_owner ?x. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:has_publisher ?agent. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:has_publisher ?agent.
MINUS { ?record aocat:has_publisher ?x. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT { GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> { ?record aocat:has_access_rights ?ar. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
?record aocat:is_part_of ?collection.
?collection aocat:has_access_rights ?ar.
MINUS { ?record aocat:has_access_rights ?x. }
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT { GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::aatplus> { ?record aocat:has_derived_subject ?aat. } }
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2>
WHERE {
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:exactMatch ?aat.
}
UNION
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:broadMatch ?aat.
}
UNION
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:closeMatch ?aat.
}
UNION
{
?record aocat:has_native_subject ?native_subject.
?native_subject skos:narrowMatch ?aat.
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodoplus> {
?temporal aocat:has_period ?periodO.
?temporal aocat:from ?temporalFrom.
?temporal aocat:until ?temporalUntil.
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::niwrecks2> {
?temporal aocat:has_native_period ?native_period.
?native_period skos:prefLabel ?native_label.
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ads::periodo> {
?periodO skos:altLabel ?native_label .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0kh9ds> .
?periodO time:intervalStartedBy ?intervalStartedBy.
?intervalStartedBy skos:prefLabel ?temporalFrom.
?periodO time:intervalFinishedBy ?intervalFinishedBy.
?intervalFinishedBy skos:prefLabel ?temporalUntil.
}
}
}

View File

@ -0,0 +1,954 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_temporal_coverage ?t .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_time_interval ?t .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_temporal_coverage ?temporal_k .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?record_k aocat:happens_during ?temporal_k .
?record_k aocat:occurs_in ?region.
?region aocat:is_spatial_region_of ?event .
?record aocat:is_about ?event .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_temporal_coverage ?temporal_k .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?record_k aocat:happens_during ?temporal_k .
?record_k aocat:occurs_in ?region.
?region aocat:is_space_region_of ?site .
?record aocat:is_about ?site .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_temporal_coverage ?activity_t .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?activity aocat:happens_during ?activity_t .
?activity aocat:is_subject_of ?document_part .
?document_part crm:P148i_is_component_of ?document .
?record aocat:is_about ?document .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_spatial_coverage ?occursIn .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s aocat:is_about ?about .
?about aocat:occurs_in ?occursIn .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_spatial_coverage ?spatial .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?region aocat:is_spatial_region_of ?event .
?region aocat:is_subject_of ?spatial_ref .
?spatial_ref aocat:has_spatial_coverage ?spatial .
?record aocat:is_about ?event .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_spatial_coverage ?spatial .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?region aocat:is_subject_of ?spatial_ref .
?spatial_ref aocat:has_spatial_coverage ?spatial .
?region aocat:is_space_region_of ?site .
?record aocat:is_about ?site .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:was_issued ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s aocat:was_created_on ?created_on .
MINUS {
?s aocat:was_issued ?issued .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s aocat:was_created_on ?created_on .
MINUS {
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:was_issued ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::CollectionInfo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?c rdf:type aocat:AO_Collection .
?s aocat:is_part_of ?c .
?c aocat:was_issued ?issued .
MINUS {
?s aocat:was_issued ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:was_modified ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::CollectionInfo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?c rdf:type aocat:AO_Collection .
?s aocat:is_part_of ?c .
?c aocat:was_modified ?issued .
MINUS {
?s aocat:was_modified ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_description ?description .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_description ?description .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_access_rights "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_access_rights ?ar .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_ARIADNE_subject <https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_ARIADNE_subject ?ariadneSubject .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_publisher <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_publisher ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_owner ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
<http://lexvo.org/id/iso639-2/http%3A//lexvo.org/id/iso639-3/ces> skos:prefLabel ?l .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?isoLangRef skos:prefLabel "cs" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?isoLangRef .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?isoLangRef .
?isoLangRef skos:prefLabel ?p .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_language <http://lexvo.org/id/iso639-3/und> .
<http://lexvo.org/id/iso639-3/und> skos:prefLabel "und" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_language ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_original_id "Original Id not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_original_id ?id .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_title ?title .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?record_k aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
?record_k aocat:occurs_in ?region.
?region aocat:is_space_region_of | aocat:is_spatial_region_of ?event .
?record aocat:is_about ?event .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?record_k aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
?record_k aocat:occurs_in ?region.
?region aocat:is_space_region_of ?site .
?record aocat:is_about ?site .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?record_k aocat:occured_in_the_presence_of ?activityArea .
?activityArea aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
?record_k aocat:occurs_in ?region.
?region aocat:is_space_region_of ?site .
?record aocat:is_about ?site .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?activity aocat:has_type ?ns .
?activity aocat:is_subject_of ?document_part .
?document_part crm:P148i_is_component_of ?document .
?record aocat:is_about ?document .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_creator ?creator .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?record aocat:is_about ?about .
?about rdf:type aocat:AO_Document .
?about aocat:has_creator ?creator .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/amcr/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/amcr/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_language <http://lexvo.org/id/iso639-3/und> .
<http://lexvo.org/id/iso639-3/und> skos:prefLabel "und" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/amcr/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/amcr/NOT_PROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?creator .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_title ?title .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_access_rights "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_access_rights ?ar .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_ARIADNE_subject <https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_ARIADNE_subject ?ariadneSubject .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_publisher <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Name not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Name not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Collection/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
<https://ariadne-infrastructure.eu/aocat/Collection/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Collection/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:is_part_of ?coll .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
?s owl:sameAs ?patched_ns .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
?s owl:sameAs ?ns .
}
bind(iri(replace(str(?ns),"AMCR","AIS%20CR")) as ?patched_ns)
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
?concept owl:sameAs ?patched_ns_aat .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
?concept owl:sameAs ?ns_aat .
}
bind(IRI(replace(str(?ns_aat),'%2F','/')) as ?patched_ns_aat)
filter(contains(str(?ns_aat),'%2F'))
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
delete {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
?concept owl:sameAs ?ns_aat .
}
}
where {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
?concept owl:sameAs ?ns_aat .
}
filter(contains(str(?ns_aat),'%2F'))
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::amcr::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?record aocat:has_native_subject ?ns.
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
{
?SUB owl:sameAs ?ns .
?SUB skos:closeMatch ?aat .
}
union
{
?SUB owl:sameAs ?ns .
?SUB skos:exactMatch ?aat .
}
union
{
?SUB owl:sameAs ?ns .
?SUB skos:narrowMatch ?aat .
}
union
{
?SUB owl:sameAs ?ns .
?SUB skos:broadMatch ?aat .
}
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX bibo: <http://purl.org/ontology/bibo/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::amcr::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
optional {
?periodO_source bibo:locator ?periodO_source_label_str .
?periodO dcterms:source ?periodO_source .
?periodO skos:inScheme <http://n2t.net/ark:/99152/p0wctqt> .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy skos:prefLabel ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy skos:prefLabel ?temporalUntil .
}
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?periodO_source_label .
bind (str(?periodO_source_label) as ?periodO_source_label_str)
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:was_issued "0000-01-01"^^xsd:date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:was_issued ?issued .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:was_modified "0000-01-01"^^xsd:date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:was_modified ?issued .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2> {
?s aocat:has_original_id ?label .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::test2>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s rdfs:label ?label .
MINUS {
?s aocat:has_original_id ?x
}
};

View File

@ -107,15 +107,12 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Collection .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:was_issued ?issued .
}
};
@ -126,18 +123,36 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Collection .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:was_issued ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::CollectionInfo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?c rdf:type aocat:AO_Collection .
?s aocat:is_part_of ?c .
?c aocat:was_issued ?issued .
MINUS {
?s aocat:was_issued ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
@ -149,57 +164,20 @@ INSERT {
?s aocat:was_modified ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::CollectionInfo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Collection .
?s aocat:was_issued ?issued .
?c rdf:type aocat:AO_Collection .
?s aocat:is_part_of ?c .
?c aocat:was_modified ?issued .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:was_modified ?modified .
?s aocat:was_modified ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?issued .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:was_modified ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
?s aocat:was_issued ?issued .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
?s aocat:was_issued ?issued .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -920,4 +898,57 @@ PREFIX bibo: <http://purl.org/ontology/bibo/>
?native_period skos:prefLabel ?periodO_source_label .
bind (str(?periodO_source_label) as ?periodO_source_label_str)
}
};
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:was_issued "0000-01-01"^^xsd:date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:was_issued ?issued .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:was_modified "0000-01-01"^^xsd:date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:was_modified ?issued .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai> {
?s aocat:has_original_id ?label .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::oai>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s rdfs:label ?label .
MINUS {
?s aocat:has_original_id ?x
}
};

View File

@ -0,0 +1,97 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::CollectionInfo> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::CollectionInfo> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::tdar::periodoplus> {
?temporal aocat:has_period ?period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::CollectionInfo> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
?temporal aocat:has_period ?period .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::tdar::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::CollectionInfo> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
?temporal aocat:has_period ?period .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::tdar::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::CollectionInfo>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};

View File

@ -0,0 +1,300 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:was_modified ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?issued .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?p aocat:has_name ?l .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?p .
?p rdfs:label ?l .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?p .
?p aocat:has_name ?n .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?contributor .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_publisher <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?contributor .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_language <http://lexvo.org/id/iso639-3/und> .
<http://lexvo.org/id/iso639-3/und> skos:prefLabel "und" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?creator .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?contributor .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/tDAR/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/tDAR/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_spatial_coverage ?collSpatial .
?collSpatial rdf:type ?collSpatialType .
?collSpatial rdfs:label ?collSpatialLabel .
?collSpatial aocat:has_place_name ?collSpatialName .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::CollectionInfo>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:is_part_of ?collection .
?collection aocat:has_spatial_coverage ?collSpatial .
?collSpatial rdf:type ?collSpatialType .
?collSpatial rdfs:label ?collSpatialLabel .
?collSpatial aocat:has_place_name ?collSpatialName .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Place not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Place not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::tdar::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
optional {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::tdar::periodo> {
?periodO skos:altLabel ?native_label .
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
}
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::tdar::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::tdar::oai>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/TDAR/", ucase(strafter(str(?native_subject),"tDAR/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};

View File

@ -0,0 +1,258 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?record aocat:was_issued ?created .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?record rdf:type aocat:AO_Collection .
?record aocat:was_created_on ?created .
MINUS{
?record aocat:was_issued ?issued .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Collection .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:has_creator ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Collection .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Collection .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/CARARE/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/CARARE/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?record aocat:was_modified ?collMod .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_modified ?collMod .
MINUS{
?record aocat:was_modified ?mod .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?record aocat:was_issued ?collIss .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_issued ?collIss .
MINUS{
?record aocat:was_issued ?iss .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::carare::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::full>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};

View File

@ -0,0 +1,258 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?record aocat:was_issued ?created .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?record rdf:type aocat:AO_Collection .
?record aocat:was_created_on ?created .
MINUS{
?record aocat:was_issued ?issued .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Collection .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:has_creator ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Collection .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Collection .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/CARARE/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/CARARE/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?record aocat:was_modified ?collMod .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_modified ?collMod .
MINUS{
?record aocat:was_modified ?mod .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?record aocat:was_issued ?collIss .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_issued ?collIss .
MINUS{
?record aocat:was_issued ?iss .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::carare::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::carare::test>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};

View File

@ -1,3 +1,35 @@
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cirparts> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir>;
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
DELETE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?x aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/CENIEH/9B8FC91D-A376-35D6-9B5E-70C1ACFA832D> .
<https://ariadne-infrastructure.eu/aocat/Collection/CENIEH/9B8FC91D-A376-35D6-9B5E-70C1ACFA832D> ?y ?z .
}
} WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?x aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/CENIEH/9B8FC91D-A376-35D6-9B5E-70C1ACFA832D> .
<https://ariadne-infrastructure.eu/aocat/Collection/CENIEH/9B8FC91D-A376-35D6-9B5E-70C1ACFA832D> ?y ?z .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?s aocat:is_part_of <https://ariadne-infrastructure.eu/aocat/Collection/CENIEH/216BF07E-03BF-32B3-AD83-537500F1FE29>
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -26,7 +58,7 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?s aocat:was_issued "2022-01-24"^^xsd:dateTime .
?s aocat:was_modified "2022-01-24"^^xsd:dateTime .
?s aocat:was_modified "2023-05-30"^^xsd:dateTime .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir>
@ -147,11 +179,28 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_original_id ?tc .
?s aocat:has_original_id ?id .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?s aocat:has_original_id "not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_original_id ?id .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -219,18 +268,68 @@ WHERE {
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
?record aocat:has_owner ?owner .
?record aocat:has_responsible ?legalResponsible .
?record aocat:has_contributor ?contributor .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?collection aocat:has_owner ?owner .
?collection aocat:has_responsible ?legalResponsible .
MINUS {
?record aocat:has_ARIADNE_subject ?x
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?record aocat:has_owner ?owner .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?owner .
MINUS {
?record aocat:has_owner ?x
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?record aocat:has_responsible ?legalResponsible .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?legalResponsible .
MINUS {
?record aocat:has_responsible ?x
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir> {
?record aocat:has_contributor ?contributor .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cenieh::cir>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?contributor .
MINUS {
?record aocat:has_contributor ?x
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>

View File

@ -1,16 +1,8 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?s aocat:is_part_of ?collection
}
DELETE WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
<http://openarchaeo.huma-num.fr/federation/sources/chronique> ?p ?o .
?s ?x <http://openarchaeo.huma-num.fr/federation/sources/chronique>
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?collection rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?collection aocat:has_part ?s
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
@ -24,30 +16,16 @@ INSERT DATA{
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Fieldwork%20archive> skos:prefLabel "Fieldwork archive"@en .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Fieldwork%20report> skos:prefLabel "Fieldwork report"@en .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site%2Fmonument> skos:prefLabel "Site/monument"@en .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Inscription> skos:prefLabel "Inscription"@en .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Artefact> skos:prefLabel "Artefact"@en .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/Collection> skos:prefLabel "collection" .
<http://openarchaeo.huma-num.fr> aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ -68,6 +46,22 @@ WHERE {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?s aocat:is_part_of ?collection
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?collection rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?collection aocat:has_part ?s
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ -88,6 +82,8 @@ WHERE {
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ -123,27 +119,23 @@ INSERT {
?ns aocat:has_title ?nstitle
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?s aocat:has_landing_page ?lpResource .
?lpResource rdfs:label ?url
}
?x aocat:has_name "Name not provided" .
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?s aocat:has_landing_page ?url .
BIND (IRI(?url) as ?lpResource)
}
};
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_responsible ?x .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_responsible ?x .
?x aocat:has_name ?legalResponsibleName .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
@ -180,3 +172,54 @@ WHERE {
}
};
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::openarchaeo::periodo> {
?periodO ?pred ?o .
?o ?pred2 ?o2 .
?o2 ?pred3 ?o3 .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl>{
?temporal aocat:has_period ?periodO .
}
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
?periodO ?pred ?o .
optional {
?o ?pred2 ?o2 .
optional {
?o2 ?pred3 ?o3 .
}
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::openarchaeo::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::openarchaeo::ttl>
USING <https://ariadne-infrastructure.eu/ariadneplus::openarchaeo::periodo>
WHERE {
?temporal aocat:has_period ?periodO .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy time:hasDateTimeDescription ?startTimeDescr .
?startTimeDescr time:year ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy time:hasDateTimeDescription ?finishedTimeDescr .
?finishedTimeDescr time:year ?temporalUntil .
};

View File

@ -0,0 +1,132 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?issued .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?contributor .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::conicet::aatplus> {
?record aocat:has_derived_subject ?derived_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::aat> {
?derived_subject skos:prefLabel ?dslabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
?derived_subject skos:prefLabel ?dslabel .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::conicet::periodoplus> {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::conicet::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::conicet::alemandri> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};

View File

@ -0,0 +1,166 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
?record aocat:has_creator ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_creator ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
MINUS {
?record aocat:has_creator ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
?record aocat:has_contributor ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
MINUS {
?record aocat:has_contributor ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
?record aocat:has_responsible ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
MINUS {
?record aocat:has_responsible ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
?record aocat:has_owner ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
MINUS {
?record aocat:has_owner ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
?record aocat:has_publisher ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
MINUS {
?record aocat:has_publisher ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
?record aocat:has_original_id ?lpLabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
WHERE {
?record aocat:has_landing_page ?lp .
?lp rdfs:label ?lpLabel .
MINUS {
?record aocat:has_original_id ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
?record aocat:has_original_id "not available" .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?record aocat:has_original_id ?x .
}
};

View File

@ -0,0 +1,259 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?record aocat:has_creator ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_creator ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_agent_identifier ?homepage .
MINUS {
?record aocat:has_creator ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?record aocat:has_publisher ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
MINUS {
?record aocat:has_publisher ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?record aocat:has_owner ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
MINUS {
?record aocat:has_owner ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?record aocat:has_responsible ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_homepage ?homepage .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?coll_value .
?coll_value rdf:type ?type .
?coll_value rdfs:label ?label .
?coll_value aocat:has_name ?name .
?coll_value aocat:has_agent_identifier ?homepage .
MINUS {
?record aocat:has_responsible ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?contributor .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?record aocat:has_primary_visual_component ?visual_component .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
WHERE {
?record aocat:has_visual_component ?visual_component .
MINUS {
?record aocat:has_primary_visual_component ?primary_visual_component .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?record aocat:has_original_id ?pid .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
WHERE {
?record aocat:has_landing_page ?pid .
MINUS {
?record aocat:has_original_id ?id .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?record aocat:was_issued ?coll_issued_value .
?record aocat:was_modified ?coll_modified_value .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?coll_issued_value .
?collection aocat:was_modified ?coll_modified_value .
MINUS {
?record aocat:was_issued ?rec_value .
?record aocat:was_modified ?rec_value2 .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::afe_rgk::periodoplus> {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::afe_rgk::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::afe_rgk::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::coins>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/AFE/", ucase(strafter(str(?native_subject),"AFE_RGK/")))) as ?modified_native_subject)
?modified_native_subject skos:exactMatch ?aat_subject .
}
union
{
?record aocat:has_native_subject ?native_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/AFE/", ucase(strafter(str(?native_subject),"AFE_RGK/")))) as ?modified_native_subject)
?modified_native_subject skos:broadMatch ?aat_subject .
}
union
{
?record aocat:has_native_subject ?native_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/AFE/", ucase(strafter(str(?native_subject),"AFE_RGK/")))) as ?modified_native_subject)
?modified_native_subject skos:closeMatch ?aat_subject .
}
union
{
?record aocat:has_native_subject ?native_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/AFE/", ucase(strafter(str(?native_subject),"AFE_RGK/")))) as ?modified_native_subject)
?modified_native_subject skos:narrowMatch ?aat_subject .
}
};

View File

@ -0,0 +1,40 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::afe_rgk::CollectionInfo>
WHERE {
?s rdf:type aocat:AO_Collection .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:was_issued ?issued .
}
};

View File

@ -5,6 +5,23 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo> {
?s aocat:was_issued ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo>
WHERE {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_created_on ?created_on .
MINUS {
?s aocat:was_issued ?iss .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo> {
?s aocat:was_modified ?created_on .
}
}
@ -12,29 +29,12 @@ USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::Colle
WHERE {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_created_on ?created_on .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
MINUS {
?s aocat:was_modified ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -113,4 +113,67 @@ INSERT {
?s aocat:has_creator ?agent .
}
}
};
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dans::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dans::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo> {
?temporal aocat:has_native_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dans::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod rdfs:label ?periodLabel .
}
};

View File

@ -0,0 +1,156 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/DANS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/DANS/NOT_PROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:has_creator ?creator .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/DANS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/DANS/NOT_PROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:has_responsible ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?publisher aocat:has_name ?name .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?record aocat:has_publisher ?publisher .
?publisher rdfs:label ?name .
MINUS {
?publisher aocat:has_name ?thename .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?record aocat:has_publisher ?publisher .
?publisher ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?publisher .
?publisher ?p ?o .
MINUS {
?record aocat:has_publisher ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?record aocat:has_access_rights "Unknown"
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro>
WHERE {
?record aocat:is_part_of ?collection .
MINUS {
?record aocat:has_access_rights ?ar .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dans::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dans::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?temporal aocat:has_native_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dans::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::dendro> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod rdfs:label ?periodLabel .
}
};

View File

@ -1,3 +1,5 @@
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::pan_images> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::easy>;
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
@ -42,7 +44,6 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::easy> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::easy>
@ -125,18 +126,15 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::easy> {
?s aocat:was_modified ?issued .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::easy>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
?s aocat:was_issued ?issued .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
?s aocat:was_issued ?issued .
?s aocat:was_modified ?modified .
}
};
@ -283,5 +281,7 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
}
}
};

View File

@ -71,7 +71,6 @@ INSERT {
?record aocat:has_owner ?owner .
?record aocat:has_publisher ?publisher .
?record aocat:has_access_rights ?accessRights .
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hes::maritime>
@ -84,7 +83,6 @@ WHERE {
?collection aocat:has_owner ?owner .
?collection aocat:has_publisher ?publisher .
?collection aocat:has_access_rights ?accessRights .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>

View File

@ -0,0 +1,55 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll> {
?s aocat:was_modified ?created
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_created_on ?created
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_modified ?modified
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll> {
?s aocat:was_issued ?created
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_created_on ?created
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_issued ?modified
}
}
};

View File

@ -1,45 +1,21 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "Dataset Collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ -53,9 +29,9 @@ INSERT {
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_owner ?agent .
}
}
@ -74,9 +50,9 @@ INSERT {
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_responsible ?agent .
}
}
@ -95,9 +71,9 @@ INSERT {
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?agent .
}
}
@ -108,22 +84,63 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?agent .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_creator ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?record aocat:has_publisher ?p .
?p aocat:has_name ?pname .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:has_publisher ?p .
?p aocat:has_name ?pname .
MINUS{
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:has_publisher ?pub .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?p aocat:has_name ?pname .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:has_publisher ?p .
?p aocat:has_name ?pname .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -139,6 +156,69 @@ WHERE {
?ns rdf:type aocat:AO_Concept .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/HNM/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/HNM/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
?record aocat:was_modified ?coll_mod .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_modified ?coll_mod .
MINUS{
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad>{
?record aocat:was_issued ?coll_iss .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::coll>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:is_part_of ?coll .
?coll aocat:was_issued ?coll_iss .
MINUS{
?record rdf:type aocat:AO_Individual_Data_Resource .
?record aocat:was_issued ?issued .
}
};
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::hnm::periodo> {

View File

@ -0,0 +1,82 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::iaa_survey::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll> {
?temporal aocat:has_native_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::iaa_survey::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod rdfs:label ?periodLabel .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::iaa_survey::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:narrowMatch ?aat .
}
};

View File

@ -0,0 +1,255 @@
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::maps> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>;
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::periods> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>;
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/IAA/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/IAA/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_title ?title .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?record aocat:was_issued ?date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?date .
MINUS {
?record aocat:was_issued ?recorddate .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?record aocat:was_modified ?date .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_modified ?date .
MINUS {
?record aocat:was_modified ?recorddate .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?record aocat:has_creator ?agent .
?agent ?p ?o
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_creator ?agent .
?agent ?p ?o .
MINUS {
?record aocat:has_creator ?recordagent .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?record aocat:has_contributor ?agent .
?agent ?p ?o
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?agent .
?agent ?p ?o .
MINUS {
?record aocat:has_contributor ?recordagent .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?record aocat:has_responsible ?agent .
?agent ?p ?o
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?agent .
?agent ?p ?o .
MINUS {
?record aocat:has_responsible ?recordagent .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?record aocat:has_owner ?agent .
?agent ?p ?o
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?agent .
?agent ?p ?o .
MINUS {
?record aocat:has_owner ?recordagent .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?record aocat:has_publisher ?agent .
?agent ?p ?o
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?agent .
?agent ?p ?o .
MINUS {
?record aocat:has_publisher ?recordagent .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s aocat:has_language ?lang .
?lang skos:prefLabel ?label
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_language ?lang .
?lang skos:prefLabel ?label
MINUS {
?record aocat:has_language ?lang2 .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?s aocat:has_access_rights ?rights .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?rights .
MINUS {
?record aocat:has_access_rights ?ar .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::iaa_survey::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?temporal aocat:has_native_period ?nativePeriod .
optional{
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::iaa_survey::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod skos:prefLabel ?periodLabel .
}
};

View File

@ -1,381 +0,0 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_ARIADNE_subject <https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/NOTPROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_ARIADNE_subject ?ariadneSubject .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_access_rights "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_access_rights ?ar .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_publisher <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_publisher ?agent .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_owner ?agent .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_responsible ?agent .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_creator ?agent .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:was_issued "2022-01-01"^^xsd:dateTime .
?s aocat:was_modified "2022-01-01"^^xsd:dateTime .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test>
WHERE {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_issued ?issued .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_language <http://lexvo.org/id/iso639-3/und> .
<http://lexvo.org/id/iso639-3/und> skos:prefLabel "und" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_language ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_original_id "INP_TEST" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_original_id ?tc .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_title ?title .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?record aocat:was_issued ?issued .
?record aocat:was_modified ?modified .
?record aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?record aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?record aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?record aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?record aocat:has_access_rights ?accessRights .
?record aocat:has_language ?lang .
?lang skos:prefLabel ?langL
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
?collection aocat:was_modified ?modified .
?collection aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?collection aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?collection aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?collection aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?collection aocat:has_access_rights ?accessRights .
?collection aocat:has_language ?lang .
?lang skos:prefLabel ?langL
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_original_id "Original Id not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_original_id ?id .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_title ?title .
}
}
};

View File

@ -0,0 +1,156 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:has_ARIADNE_subject ?collSubj
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:is_part_of ?coll .
?coll aocat:has_ARIADNE_subject ?collSubj
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp_cronica::periodoplus> {
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp_cronica::periodo> {
?periodOURI skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?temporal aocat:has_period ?periodOURI .
?periodOURI skos:prefLabel ?periodLabel .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp_cronica::aatplus> {
?s aocat:has_derived_subject ?derivedSubject .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:has_derived_subject ?derivedSubject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::aat> {
?derivedSubject skos:prefLabel ?prefLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:has_derived_subject ?derivedSubject .
?derivedSubject skos:prefLabel ?prefLabel .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s rdf:type aocat:AO_Individual_Data_Resource .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:has_creator ?pub .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?pub .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?creator .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:has_contributor ?pub .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_publisher ?pub .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?c .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:was_modified ?created
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:was_created_on ?created .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_modified ?mod .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:was_issued ?created
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp_cronica::cronica> {
?s aocat:was_created_on ?created .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?mod .
}
}
};

View File

@ -19,25 +19,6 @@ INSERT {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
?s aocat:was_modified ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites>
WHERE {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_issued ?issued .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ -66,7 +47,6 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites>
@ -79,6 +59,25 @@ WHERE {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_modified ?issued .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ -143,17 +142,32 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
?derivedSubject skos:prefLabel ?label .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodoplus> {
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodoplus> {
?temporal aocat:has_period ?periodO .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
?temporal aocat:has_period ?periodO .
}
};
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodo> {
?periodOURI skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
?temporal aocat:has_period ?periodOURI .
?periodOURI skos:prefLabel ?periodLabel .
}
};

View File

@ -0,0 +1,45 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dolia::nlp> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dolia::nlp> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::dolia::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dolia::nlp> {
?record aocat:has_derived_subject ?aat
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dolia::aat> {
?aat skos:prefLabel ?label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dolia::nlp> {
?record aocat:has_derived_subject ?aat .
?aat skos:prefLabel ?label .
}
};

View File

@ -37,4 +37,85 @@ WHERE {
?s rdf:type aocat:AO_Collection .
?s aocat:was_issued ?issued .
}
};
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::lnec::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::lnec::CollectionInfo> {
?record aocat:has_native_subject ?ns.
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::lnec::aat> {
{
?ns skos:closeMatch ?aat .
}
union
{
?ns skos:exactMatch ?aat .
}
union
{
?ns skos:narrowMatch ?aat .
}
union
{
?ns skos:broadMatch ?aat .
}
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX periodo: <http://n2t.net/ark:/99152/p0v#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::lnec::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::lnec::CollectionInfo> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
optional {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::lnec::periodo> {
?periodO skos:altLabel ?native_label .
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
}
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX periodo: <http://n2t.net/ark:/99152/p0v#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::lnec::periodoplus> {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::lnec::CollectionInfo> {
?s aocat:has_temporal_coverage ?temporal .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};

View File

@ -0,0 +1,68 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::aatplus> {
?record aocat:has_derived_subject ?derived_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aat> {
?derived_subject skos:prefLabel ?dslabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
?derived_subject skos:prefLabel ?dslabel .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodoplus> {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aree> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};

View File

@ -0,0 +1,68 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::aatplus> {
?record aocat:has_derived_subject ?derived_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::aat> {
?derived_subject skos:prefLabel ?dslabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
?derived_subject skos:prefLabel ?dslabel .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodoplus> {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::mibac::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::mibac::reperti> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};

View File

@ -0,0 +1,44 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::misanu::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
optional {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::misanu::periodo> {
?periodO skos:altLabel ?native_label .
}
}
}
};

View File

@ -0,0 +1,236 @@
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::controlterms> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>;
DROP SILENT GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::controlterms>;
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus:::misanu::monuments> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus:::misanu::monuments> {
?s rdf:type aocat:AO_Individual_Data_Resource .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:has_creator ?agent .
?agent ?x ?y .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_creator ?agent .
?agent ?x ?y .
MINUS {
?record aocat:has_creator ?creator
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:has_contributor ?agent .
?agent ?x ?y .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?agent .
?agent ?x ?y .
MINUS {
?record aocat:has_contributor ?contrib
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:has_responsible ?agent .
?agent ?x ?y .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?agent .
?agent ?x ?y .
MINUS {
?record aocat:has_responsible ?resp
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:has_owner ?agent .
?agent ?x ?y .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?agent .
?agent ?x ?y .
MINUS {
?record aocat:has_owner ?resp
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:has_publisher ?agent .
?agent ?x ?y .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?agent .
?agent ?x ?y .
MINUS {
?record aocat:has_publisher ?pub
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:has_access_rights ?ar .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?ar .
MINUS {
?record aocat:has_access_rights ?therights
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:was_modified ?modified .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_modified ?modified .
MINUS {
?record aocat:was_modified ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?record aocat:was_issued ?issued .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
MINUS {
?record aocat:was_issued ?date
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::misanu::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::misanu::periodo> {
?periodO skos:altLabel ?native_label .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy time:hasDateTimeDescription ?startdescr .
?startdescr time:year ?from .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy time:hasDateTimeDescription ?finishdescr .
?finishdescr time:year ?until .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::misanu::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::misanu::monuments>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?nativeLabel .
?match_subject skos:exactMatch ?aat_subject .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?nativeLabel .
?match_subject skos:broadMatch ?aat_subject .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?nativeLabel .
?match_subject skos:closeMatch ?aat_subject .
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?nativeLabel .
?match_subject skos:narrowMatch ?aat_subject .
}
};

View File

@ -367,4 +367,11 @@ WHERE {
bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject)
filter(?native_subject=?patched_aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:relatedMatch ?aat_subject .
bind (IRI(replace( str(?aat_native_subject), "NARA", "NABUNKEN")) as ?patched_aat_native_subject)
filter(?native_subject=?patched_aat_native_subject)
}
};

View File

@ -1,21 +1,50 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
DELETE DATA {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
<https://ariadne-infrastructure.eu/aocat/Resource/NIAM-BAS%2FAKB/6F5864D7-2371-30DD-8BB8-2304E33A3CA1> aocat:was_issued "9921-10-31"^^xsd:dateTime .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT DATA {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
<https://ariadne-infrastructure.eu/aocat/Resource/NIAM-BAS%2FAKB/6F5864D7-2371-30DD-8BB8-2304E33A3CA1> aocat:was_issued "1992-10-31"^^xsd:dateTime .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?s aocat:has_temporal_coverage <https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Temporal_Region> .
<https://ariadne-infrastructure.eu/aocat/Time-Span/NOTPROVIDED> rdfs:label "Not provided" .
?s aocat:has_title "Title not provided".
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s aocat:has_title ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?record aocat:has_creator ?creator .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_creator ?creator .
MINUS {
?record aocat:is_part_of ?collection .
?record aocat:has_creator ?x .
}
};
@ -26,22 +55,54 @@ PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?record aocat:was_issued ?issued .
?record aocat:was_modified ?modified .
?record aocat:has_contributor ?contributor .
?record aocat:has_publisher ?publisher .
?record aocat:has_access_rights ?accessRights .
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
?collection aocat:was_modified ?modified .
?collection aocat:has_contributor ?contributor .
?collection aocat:has_publisher ?publisher .
?collection aocat:has_access_rights ?accessRights .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
MINUS {
?record aocat:is_part_of ?collection .
?record aocat:was_issued ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?record aocat:has_ARIADNE_subject ?subj .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_ARIADNE_subject ?subj .
MINUS {
?record aocat:is_part_of ?collection .
?record aocat:has_ARIADNE_subject ?x .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/niam/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/niam/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
@ -75,24 +136,7 @@ WHERE {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/niam/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/niam/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::niam::amb> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {

View File

@ -0,0 +1,197 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
DELETE WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?x aocat:from ""^^xsd:dateTime .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
DELETE WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?x aocat:until ""^^xsd:dateTime .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_creator ?agent .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::arche::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_label .
?match skos:prefLabel ?matchLabel .
?match skos:exactMatch ?aat .
FILTER(str(?matchLabel) = ?native_label)
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_label .
?match skos:prefLabel ?matchLabel .
?match skos:broadMatch ?aat .
FILTER(str(?matchLabel) = ?native_label)
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_label .
?match skos:prefLabel ?matchLabel .
?match skos:closeMatch ?aat .
FILTER(str(?matchLabel) = ?native_label)
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?native_label .
?match skos:prefLabel ?matchLabel .
?match skos:narrowMatch ?aat .
FILTER(str(?matchLabel) = ?native_label)
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
WITH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai>
DELETE { ?period skos:prefLabel ?label}
WHERE {
?temporal aocat:has_period ?period .
?period skos:prefLabel ?label
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::arche::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod skos:prefLabel ?periodLabel .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::arche::periodoplus> {
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai>
USING <https://ariadne-infrastructure.eu/ariadneplus::arche::periodo>
WHERE {
?temporal aocat:has_period ?periodOURI .
?periodOURI time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy time:hasDateTimeDescription ?startDescr .
?startDescr time:year ?temporalFrom .
?periodOURI time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy time:hasDateTimeDescription ?finishDescr .
?finishDescr time:year ?temporalUntil
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::arche::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
?temporal aocat:has_native_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
WITH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai>
DELETE { ?lang skos:prefLabel ?label}
WHERE {
?s aocat:has_language ?lang .
?lang skos:prefLabel ?label
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT DATA {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::arche::oai> {
<http://lexvo.org/id/iso639-2/en> skos:prefLabel "en" .
<http://lexvo.org/id/iso639-2/de> skos:prefLabel "de" .
}
};

View File

@ -0,0 +1,98 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "Collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/", ucase(strafter(str(?native_subject),"OEAW/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodo> {
?periodO ?pred ?o .
?o ?pred2 ?o2 .
?o2 ?pred3 ?o3 .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
?periodO dcterms:spatial <http://www.wikidata.org/entity/Q40> .
?periodO ?pred ?o .
optional {
?o ?pred2 ?o2 .
optional {
?o2 ?pred3 ?o3 .
}
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};

View File

@ -0,0 +1,148 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites> {
?record aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?record aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?record aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?record aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?record aocat:has_creator ?creator .
?creator aocat:has_name ?creatorName .
?record aocat:has_access_rights ?accessRights .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?collection aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?collection aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?collection aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?collection aocat:has_creator ?creator .
?creator aocat:has_name ?creatorName .
?collection aocat:has_access_rights ?accessRights .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:exactMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:broadMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:closeMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
union
{
?record aocat:has_native_subject ?native_subject .
?native_subject skos:prefLabel ?nativeLabel .
?match_subject skos:prefLabel ?matchedLabel .
?match_subject skos:narrowMatch ?aat_subject .
filter(str(?nativeLabel) = str(?matchedLabel))
}
};
PREFIX dcterms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodo> {
?periodO ?pred ?o .
?o ?pred2 ?o2 .
?o2 ?pred3 ?o3 .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
?periodO dcterms:spatial <http://www.wikidata.org/entity/Q40> .
?periodO ?pred ?o .
optional {
?o ?pred2 ?o2 .
optional {
?o2 ?pred3 ?o3 .
}
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodoplus> {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oeaw::sites> {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
optional {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oeaw::periodo> {
?periodO skos:altLabel ?native_label .
?periodO time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy time:hasDateTimeDescription ?startTimeDescr .
?startTimeDescr time:year ?temporalFrom .
?periodO time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy time:hasDateTimeDescription ?finishedTimeDescr .
?finishedTimeDescr time:year ?temporalUntil .
}
}
}
};

View File

@ -0,0 +1,77 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
?temporal aocat:has_native_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod skos:prefLabel ?periodLabel .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::aatplus> {
?record aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:has_derived_subject ?aat .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::aat> {
?aat skos:prefLabel ?prefLabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:has_derived_subject ?aat .
?aat skos:prefLabel ?prefLabel .
};

View File

@ -0,0 +1,129 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
?s rdf:type aocat:AO_Individual_Data_Resource .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
?record aocat:was_issued ?x .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?x .
MINUS{
?record aocat:was_issued ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
?record aocat:was_modified ?x .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_modified ?x .
MINUS{
?record aocat:was_modified ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts> {
?record aocat:has_access_rights ?x .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?x .
MINUS{
?record aocat:has_access_rights ?ar
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodoplus> {
?temporal aocat:has_period ?aat .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
WHERE {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod skos:prefLabel ?nativeLabel .
?aat skos:inScheme <http://n2t.net/ark:/99152/p04h98q> .
?aat skos:altLabel ?nativeLabel .
?aat time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy time:hasDateTimeDescription ?sdesc .
?sdesc time:year ?temporalFrom .
?aat time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy time:hasDateTimeDescription ?fdesc .
?fdesc time:year ?temporalUntil
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::museumParts>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};

View File

@ -0,0 +1,129 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
?s rdf:type aocat:AO_Individual_Data_Resource .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
?record aocat:was_issued ?x .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?x .
MINUS{
?record aocat:was_issued ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
?record aocat:was_modified ?x .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_modified ?x .
MINUS{
?record aocat:was_modified ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test> {
?record aocat:has_access_rights ?x .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?x .
MINUS{
?record aocat:has_access_rights ?ar
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX time: <http://www.w3.org/2006/time#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodoplus> {
?temporal aocat:has_period ?aat .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/ariadneplus::oslo::periodo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
WHERE {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod skos:prefLabel ?nativeLabel .
?aat skos:inScheme <http://n2t.net/ark:/99152/p04h98q> .
?aat skos:altLabel ?nativeLabel .
?aat time:intervalStartedBy ?intervalStartedBy .
?intervalStartedBy time:hasDateTimeDescription ?sdesc .
?sdesc time:year ?temporalFrom .
?aat time:intervalFinishedBy ?intervalFinishedBy .
?intervalFinishedBy time:hasDateTimeDescription ?fdesc .
?fdesc time:year ?temporalUntil
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::oslo::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::oslo::test>
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/OSLO/", ucase(strafter(str(?native_subject),"UO/")))) as ?uppercase_native_subject)
filter(?uppercase_native_subject=?aat_native_subject)
}
};

View File

@ -68,27 +68,40 @@ INSERT {
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::road::sites> {
?record aocat:was_issued ?coll_issued_value .
?record aocat:was_modified ?coll_modified_value .
?record aocat:was_issued "2023"^^xsd:date
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::road::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::road::CollectionInfo>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?coll_issued_value .
?collection aocat:was_modified ?coll_modified_value .
MINUS {
?record aocat:was_issued ?rec_value .
?record aocat:was_modified ?rec_value2 .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::road::sites> {
?record aocat:was_modified "2010-02-23"^^xsd:date
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::road::sites>
WHERE {
?record aocat:is_part_of ?collection .
MINUS {
?record aocat:was_modified ?rec_value .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>

View File

@ -0,0 +1,98 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/SEAD/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/SEAD/NOT_PROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?s rdf:type aocat:AO_Collection .
MINUS {
?s aocat:has_creator ?creator .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?record aocat:was_modified "2023-04-13"^^xsd:date
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record rdf:type aocat:AO_Collection .
MINUS{
?record aocat:was_modified ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?record aocat:was_issued "2023-04-13"^^xsd:date
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record rdf:type aocat:AO_Collection .
MINUS{
?record aocat:was_issued ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::sead::aatplus> {
?coll aocat:has_derived_subject ?derivedSubject .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?coll rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?coll aocat:has_derived_subject ?derivedSubject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::aat> {
?derivedSubject skos:prefLabel ?prefLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll> {
?coll rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?coll aocat:has_derived_subject ?derivedSubject .
?derivedSubject skos:prefLabel ?prefLabel .
}
};

View File

@ -0,0 +1,302 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_native_subject ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_native_subject ?x .
?x ?p ?o .
MINUS{
?record aocat:has_native_subject ?ns
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_publisher ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_publisher ?x .
?x ?p ?o .
MINUS{
?record aocat:has_publisher ?p
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_contributor ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_contributor ?x .
?x ?p ?o .
MINUS{
?record aocat:has_contributor ?p
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_owner ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_owner ?x .
?x ?p ?o .
MINUS{
?record aocat:has_owner ?p
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_creator ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_creator ?x .
?x ?p ?o .
MINUS{
?record aocat:has_creator ?p
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/SEAD/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/SEAD/NOT_PROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?creator .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_responsible ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?x .
?x ?p ?o .
MINUS{
?record aocat:has_responsible ?p
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_ARIADNE_subject ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_ARIADNE_subject ?x .
?x ?p ?o .
MINUS{
?record aocat:has_ARIADNE_subject ?as
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_native_subject ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_native_subject ?x .
?x ?p ?o .
MINUS{
?record aocat:has_native_subject ?as
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_access_rights ?x .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_rights ?x .
MINUS{
?record aocat:has_access_rights ?ar
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:has_access_policy ?x .
?x ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_access_policy ?x .
?x ?p ?o .
MINUS{
?record aocat:has_access_policy ?ap
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::sead::periodoplus> {
?temporal aocat:has_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?temporal aocat:has_native_period ?nativePeriod .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};
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#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::sead::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod rdfs:label ?periodLabel .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::sead::periodo> {
?nativePeriod skos:prefLabel ?periodLabel .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod skos:prefLabel ?periodLabel .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::sead::aatplus> {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::coll>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_derived_subject ?aat_subject .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:was_issued "2023-05-29"^^xsd:date
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
MINUS{
?record aocat:was_issued ?date
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites> {
?record aocat:was_modified "2023-05-29"^^xsd:date
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::sead::sites>
WHERE {
?record rdf:type aocat:AO_Individual_Data_Resource .
MINUS{
?record aocat:was_modified ?date
}
};

View File

@ -0,0 +1,56 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?coll aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?coll rdf:type aocat:AO_Collection
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?s aocat:was_issued ?c
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_created_on ?c .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_issued ?date .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?s aocat:was_modified ?c
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_created_on ?c .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:was_modified ?date .
}
}
};

View File

@ -1,23 +1,3 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_temporal_coverage ?tcov .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:is_part_of ?coll .
?coll aocat:has_temporal_coverage ?tcov .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -33,33 +13,59 @@ INSERT {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_temporal_coverage ?tcov .
?tcov ?p ?o .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll>
WHERE {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:is_part_of ?coll .
?coll aocat:has_temporal_coverage ?tcov .
?tcov ?p ?o .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_temporal_coverage ?tc .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
<https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> rdfs:label "THANADOS" .
<https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> aocat:has_name "THANADOS" .
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> .
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> .
?s aocat:has_responsible <https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> .
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> .
?s aocat:has_publisher <https://ariadne-infrastructure.eu/aocat/Agent/THANADOS> .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
}
?agent ?p ?o .
?s ?rel ?agent .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?coll ?rel ?agent .
?agent ?p ?o .
?agent rdf:type aocat:AO_Agent .
}
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api>{
{?s rdf:type aocat:AO_Collection .}
UNION {
?s rdf:type aocat:AO_Individual_Data_Resource .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -85,63 +91,41 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_access_rights "Not provided"
?s aocat:has_access_rights ?ar .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_access_rights ?smt .
}
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?coll rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?coll aocat:has_access_rights ?ar .
}
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
{?s rdf:type aocat:AO_Collection} UNION {?s rdf:type aocat:AO_Individual_Data_Resource .}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_spatial_coverage ?scov .
?scov aocat:has_place_name ?placeName .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:has_spatial_coverage ?scov .
?scov aocat:has_place_name ?placeName .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_spatial_coverage ?sc .
?sc aocat:has_place_name ?name .
?s aocat:has_access_policy ?ar .
?ar ?p ?o.
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Place not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Place not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll> {
?coll rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?coll aocat:has_access_policy ?ar .
?ar ?p ?o.
}
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
{?s rdf:type aocat:AO_Collection} UNION {?s rdf:type aocat:AO_Individual_Data_Resource .}
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@ -156,122 +140,26 @@ INSERT {
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
?s aocat:has_title ?title .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_creator ?cr .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:has_creator ?cr .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_creator ?x
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_contributor ?cr .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:has_contributor ?cr .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_contributor ?x
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_responsible ?cr .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:has_responsible ?cr .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_responsible ?x
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_owner ?cr .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:has_owner ?cr .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_owner ?x
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_publisher ?cr .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:has_publisher ?cr .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_publisher ?x
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -282,8 +170,9 @@ INSERT {
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::coll>
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:was_issued ?cr .
@ -292,29 +181,25 @@ INSERT {
?s aocat:was_issued ?x
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s aocat:has_access_rights ?cr .
}
}
WHERE {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/THANADOS/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/THANADOS/NOT_PROVIDED> skos:prefLabel "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:is_part_of ?coll .
?coll aocat:has_access_rights ?cr .
MINUS{
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_access_rights ?x
}
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_native_subject ?ns .
}
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -369,46 +254,15 @@ PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::thanados::periodoplus> {
?temporal aocat:has_period ?periodO_URI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/ariadne/periodo>
USING <https://ariadne-infrastructure.eu/ariadneplus::thanados::periodo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api>
WHERE {
?temporal aocat:has_period ?periodO_URI .
?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::thanados::periodoplus> {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/ariadne/periodo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::api>
WHERE {
?temporal aocat:has_native_period ?np .
?np skos:prefLabel ?y
?periodO_URI skos:prefLabel ?l .
?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
};

View File

@ -127,8 +127,8 @@ INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::test> {
?s aocat:has_spatial_coverage <https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Spatial_Region> .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Name not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Name not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> rdfs:label "Place not provided" .
<https://ariadne-infrastructure.eu/aocat/Place/NOTPROVIDED> aocat:has_place_name "Place not provided" .
}
}
WHERE {
@ -317,6 +317,98 @@ INSERT {
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::thanados::aatplus> {
?s aocat:has_derived_subject ?aat .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::aat>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::test>
WHERE {
{
?s aocat:has_native_subject ?native_subject .
?aatmatch owl:sameAs ?vocuri .
?aatmatch skos:exactMatch ?aat .
bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt)
filter(?vocuri=?vocuribuilt)
}
union
{
?s aocat:has_native_subject ?native_subject .
?aatmatch owl:sameAs ?vocuri .
?aatmatch skos:broadMatch ?aat .
bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt)
filter(?vocuri=?vocuribuilt)
}
union
{
?s aocat:has_native_subject ?native_subject .
?aatmatch owl:sameAs ?vocuri .
?aatmatch skos:closeMatch ?aat .
bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt)
filter(?vocuri=?vocuribuilt)
}
union
{
?s aocat:has_native_subject ?native_subject .
?aatmatch owl:sameAs ?vocuri .
?aatmatch skos:narrowMatch ?aat .
bind (IRI(concat( "https://thanados.net/vocabulary/", ucase(strafter(str(?native_subject),"THANADOS/")))) as ?vocuribuilt)
filter(?vocuri=?vocuribuilt)
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::thanados::periodoplus> {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/ariadne/periodo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::test>
WHERE {
?temporal aocat:has_period ?periodO_URI .
?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::thanados::periodoplus> {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
USING <https://ariadne-infrastructure.eu/ariadne/periodo>
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::thanados::test>
WHERE {
?temporal aocat:has_native_period ?np .
?np skos:prefLabel ?y .
?periodO_URI skos:prefLabel ?l .
?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
};

View File

@ -0,0 +1,153 @@
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record> skos:prefLabel "provided record"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription>
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?issued .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?s aocat:has_contributor <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?contributor .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ub::aatplus> {
?record aocat:has_derived_subject ?derived_subject .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::aat> {
?derived_subject skos:prefLabel ?dslabel .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription>
WHERE {
{
?record aocat:has_derived_subject ?derived_subject .
?derived_subject skos:prefLabel ?dslabel .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ub::periodoplus> {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX time: <http://www.w3.org/2006/time#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::ub::periodo> {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ub::inscription> {
?temporal aocat:has_native_period ?native_period .
?native_period rdfs:label|skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};

View File

@ -0,0 +1,115 @@
MOVE <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::aatplus> TO <https://ariadne-infrastructure.eu/ariadneplus::UIBK::aatplus>;
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
?s aocat:has_owner ?o .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Collection> .
}
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT DATA{
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
<http://lexvo.org/id/iso639-2/de> skos:prefLabel "de" .
<http://lexvo.org/id/iso639-2/en> skos:prefLabel "en" .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument> skos:prefLabel "Site/monument"@en .
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Fieldwork%20archive> skos:prefLabel "Fieldwork archive"@en .
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s aocat:has_part ?x
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?x aocat:is_part_of ?s
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s aocat:has_owner <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
MINUS {
?s rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource> .
?s aocat:has_owner ?o .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?lpResource rdfs:label ?label
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord> {
?s aocat:has_landing_page ?lpResource .
BIND (STR(?lpResource) as ?label)
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
WITH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::UIBK::himat_ord>
DELETE {?s ?p ?o} where {
FILTER (?s = <https://ariadne-infrastructure.eu/aocat/Collection/UIBK/3333c1d96de4099fb2b723368d319a39>)
FILTER (?p = <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_publisher>).
?s ?p ?o .
?o rdfs:label ?l.
FILTER (?o = <https://ariadne-infrastructure.eu/aocat/Agent/UIBK/de25a1739308b7527f4a15b7a9811075>||?o = <https://ariadne-infrastructure.eu/aocat/Agent/UIBK/31b42deeabc13f784778503ed48a94ea>)
}

View File

@ -165,4 +165,22 @@ PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
FILTER(contains(str(?o), "."))
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::zrc_zbiva::sites> {
?spatialRegion aocat:has_place_name "Name not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::zrc_zbiva::sites> {
?s aocat:has_spatial_coverage ?spatialRegion .
MINUS {
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
}
}
};

View File

@ -0,0 +1,35 @@
<https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId>
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus>
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo>
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::aatplus>
<https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::aat>
Triples that must be in each graph.
For the temporal information:
<https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId>:
%record aocat:has_temporal_coverage ?temporal .
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodoplus> :
?temporal aocat:has_period ?periodOURI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::periodo>
?periodOURI skos:prefLabel ?origTemporalPeriodName .
For the subjects:
<https://ariadne-infrastructure.eu/ariadneplus::%datasource::aatplus>
%record aocat:has_derived_subject ?derivedSubject .
<https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::aat>
?derivedSubject skos:prefLabel ?origDerivedSubjectPrefLabel .
To update period index:
https://ariadne-portal-staging.d4science.org/api/updatePeriods?id=feb01aaac066417281fb1cbed7bea694a611a462
https://portal.ariadne-infrastructure.eu/api/updatePeriods?id=feb01aaac066417281fb1cbed7bea694a611a462

View File

@ -0,0 +1,38 @@
#Landing pages are picked as:
# %record aocat:has_landing_page / rdfs:label ?landingPage .
# Alessia does not know why, but indeed other providers gave the landing page like this and they are fine.
# Others follow a more "reasonable" approach, but we have to fix those so they match the expected pattern.
# if the landing page is a string
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<API>> {
?s aocat:has_landing_page ?lpResource .
?lpResource rdfs:label ?url
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<API>> {
?s aocat:has_landing_page ?url .
BIND (IRI(?url) as ?lpResource)
}
}
#if the landing page is a URI but there is no label
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<API>> {
?lpResource rdfs:label ?label
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<API>> {
?s aocat:has_landing_page ?lpResource .
BIND (STR(?lpResource) as ?label)
}
}

View File

@ -0,0 +1,32 @@
# Loading the ontology on the repository with inference enabled does not work.
# Let's disable it:
PREFIX sys: <http://www.ontotext.com/owlim/system#>
INSERT DATA {
_:b sys:addRuleset "empty" .
_:b sys:defaultRuleset "empty" .
}
# Now load the ontology (with SPARQL INSERT or importing the RDFS)
# After the ontology is loaded we can re-enable the inference ruleset
PREFIX sys: <http://www.ontotext.com/owlim/system#>
INSERT DATA {
[] sys:defaultRuleset "rdfsplus-optimized" .
[] sys:reinfer [] .
}
# sys:reinfer tells the repository to reinfer everything according to the ruleset
# it is now running on staging and we need to wait to see if it works.
# To list the rulesets:
PREFIX sys: <http://www.ontotext.com/owlim/system#>
SELECT ?state ?ruleset {
?state sys:listRulesets ?ruleset
}
#Alternative: load the ontology in a separate repository.

View File

@ -11,6 +11,7 @@ CONSTRUCT {
%record aoprop:rdfType "Collection" .
%record aoprop:identifier %record .
%record aoprop:originalId ?originalId .
%record aoprop:otherId ?otherId .
%record aoprop:issued ?issued .
%record aoprop:modified ?modified .
%record aoprop:created ?created .
@ -99,6 +100,9 @@ where {
graph <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource::%collectionId> {
%record aocat:has_language / skos:prefLabel ?language .
%record aocat:has_original_id ?originalId .
optional {
%record aocat:has_identifier ?otherId .
}
optional {
%record aocat:is_part_of ?partOf .
}

View File

@ -11,6 +11,7 @@ CONSTRUCT {
%record aoprop:rdfType "Record" .
%record aoprop:identifier %record .
%record aoprop:originalId ?originalId .
%record aoprop:otherId ?otherId .
%record aoprop:issued ?issued .
%record aoprop:modified ?modified .
%record aoprop:created ?created .
@ -107,11 +108,13 @@ where {
%record aocat:is_part_of ?partOf .
%record aocat:has_creator ?creator .
?creator aocat:has_name ?creatorName .
%record aocat:has_title ?title .
%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_identifier ?otherId .
}
optional {
%record aocat:has_description ?description .
}
@ -241,8 +244,10 @@ where {
{
select *
where {
%record aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?spatialPlaceName .
optional {
%record aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?spatialPlaceName .
}
optional {
%record aocat:has_spatial_coverage ?spatialRegionPoint .
?spatialRegionPoint aocat:has_latitude ?spatialLocationLat ;

View File

@ -0,0 +1,79 @@
package eu.dnetlib.ariadneplus;
import eu.dnetlib.ariadneplus.elasticsearch.BulkUpload;
import eu.dnetlib.ariadneplus.reader.ResourceManager;
import eu.dnetlib.ariadneplus.reader.RunSPARQLQueryService;
import eu.dnetlib.ariadneplus.reader.json.ParseRDFJSON;
import eu.dnetlib.ariadneplus.reader.utils.ESUtils;
import org.apache.http.HttpHost;
import org.elasticsearch.action.get.GetRequest;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.search.fetch.subphase.FetchSourceContext;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.core.io.ClassPathResource;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.util.Properties;
@Ignore
public class FindMissingRecordsInIndexTest {
private RunSPARQLQueryService runSPQRLQuery;
private final static String STAGING_PROPERTIES = "application.properties";
private final static String PROD_PROPERTIES = "application-prod-DO-NOT-COMMIT.properties";
private RestHighLevelClient client;
private Properties appProps;
@Before
public void setUp() throws IOException {
final ClassPathResource resource = new ClassPathResource(STAGING_PROPERTIES);
appProps = new Properties();
appProps.load(resource.getInputStream());
runSPQRLQuery = new RunSPARQLQueryService();
runSPQRLQuery.setupReadOnlyConnection(
appProps.getProperty("graphdb.serverUrl"),
appProps.getProperty("graphdb.repository"));
client = new RestHighLevelClient(
RestClient.builder(
new HttpHost(appProps.getProperty("elasticsearch.hostname"), 9200, "http")));
}
@After
public void tearDown() throws IOException {
client.close();
}
@Test
public void findMissingRecordsTest() throws NoSuchAlgorithmException, IOException {
String datasource = "ads";
String collectionId = "archives";
List<String> uris = runSPQRLQuery.selectRecordIds(datasource, collectionId);
System.out.println("Got list of ids, they are "+uris.size());
for(String uri : uris){
//compute the md5 and query the index to check if there is a record with that uri. If not, print it
MessageDigest digest = MessageDigest.getInstance("SHA-256");
byte[] encodedhash = digest.digest(
uri.getBytes(StandardCharsets.UTF_8));
String idES = ESUtils.bytesToHex(encodedhash);
// High level API
GetRequest getRequest = new GetRequest(
appProps.getProperty("elasticsearch.indexname"),
idES);
getRequest.fetchSourceContext(new FetchSourceContext(false));
getRequest.storedFields("_none_");
boolean exists = client.exists(getRequest, RequestOptions.DEFAULT);
if(!exists) System.out.println(uri);
}
System.out.println("Done");
}
}

View File

@ -18,6 +18,7 @@ import org.junit.Test;
import org.springframework.core.io.ClassPathResource;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
@ -31,6 +32,160 @@ public class GraphDbReaderAndESIndexTest {
private RunSPARQLQueryService runSPQRLQuery;
private final static String STAGING_PROPERTIES = "application.properties";
private final static String PROD_PROPERTIES = "application-prod-DO-NOT-COMMIT.properties";
@Test
public void loadToPublic() throws Exception {
String uri = "https://ariadne-infrastructure.eu/aocat/Resource/D4E12349-E214-3F3F-BEE4-D39D9138916B";
String datasource = "dans";
String apiId = "easy";
readAndIndexProd(true, uri, datasource, apiId);
}
@Test
public void loadToStaging() throws Exception {
//String uri = "https://arche.acdh.oeaw.ac.at/api/255841";
String uri = "https://ariadne-infrastructure.eu/aocat/Resource/ADS/6CBA2A00-01DE-315B-934C-6ED74C3BC6DC";
String datasource = "ads";
String apiId = "archives";
readAndIndexTest(true, uri, datasource, apiId);
}
@Test
public void testRoceehPeriodO() throws Exception {
String record ="https://ariadne-infrastructure.eu/aocat/Resource/4F9B4DC6-F236-3CDA-8C3B-B20B5D17DD6E";
String datasource = "road";
String apiId = "sites";
readAndIndexTest(true, record, datasource, apiId);
}
@Test
public void testCENIEHPeriodO() throws Exception {
String record ="https://ariadne-infrastructure.eu/aocat/Resource/E8AA2F30-98B7-3668-A0EC-339EA9EF652D";
String datasource = "cenieh";
String apiId = "sediments";
readAndIndexTest(true, record, datasource, apiId);
}
@Test
public void testWithNotProvidedARIADNESubject() throws Exception {
String record ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/28986CB2-37B1-31F8-98B5-E86F9BD98946";
String datasource = "ads";
String apiId = "archives";
readAndIndexTest(true, record, datasource, apiId);
}
@Test
public void testADS1093() throws Exception {
String coll ="https://ariadne-infrastructure.eu/aocat/Collection/ADS/5910411B-ED97-364E-8D28-6024558AA14B";
String record1 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/D182802E-592C-3999-9DB2-155F25E356E2";
String record2 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/15814239-CCF1-317C-AEBA-49EEBB582611";
String record3 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/3210FDBD-97DC-3B12-9EFF-3FDAB7AC11CE";
//different access right and policy
String record4 = "https://ariadne-infrastructure.eu/aocat/Resource/ADS/B0FC7870-2E80-325C-9BE2-1F05C0E70610";
String datasource = "ads";
String apiId = "1093";
readAndIndexTest(false, coll, datasource, apiId);
readAndIndexTest(true, record1, datasource, apiId);
readAndIndexTest(true, record2, datasource, apiId);
readAndIndexTest(true, record3, datasource, apiId);
readAndIndexTest(true, record4, datasource, apiId);
}
@Test
public void testADS276() throws Exception {
String coll ="https://ariadne-infrastructure.eu/aocat/Collection/ADS/B1E1FD6B-42C6-35B6-82E8-06E0082CCC71";
String record1 ="https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/FB819062-C53C-3164-9A42-AEA6FD127575";
String record2 ="https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/C460E0A9-F064-3B9D-8905-00CF08E4772D";
String record3 ="https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/E13FAB63-4870-3C91-9138-21E0E3999F54";
String datasource = "ads";
String apiId = "276";
readAndIndexTest(false, coll, datasource, apiId);
readAndIndexTest(true, record1, datasource, apiId);
readAndIndexTest(true, record2, datasource, apiId);
readAndIndexTest(true, record3, datasource, apiId);
}
@Test
public void testADS1093Record() throws Exception {
String id ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/D182802E-592C-3999-9DB2-155F25E356E2";
String datasource = "ads";
String apiId = "1093";
readAndIndexTest(true, id, datasource, apiId);
}
@Test
public void testADS276NorthIrelandRecord() throws Exception {
String id ="https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/FB819062-C53C-3164-9A42-AEA6FD127575";
String datasource = "ads";
String apiId = "276";
readAndIndexTest(true, id, datasource, apiId);
}
@Test
public void testADS276WithOtherIds() throws Exception {
String id = "https://ariadne-infrastructure.eu/aocat/Resource/HERoNI/A59B2AE2-57BF-337D-BF0D-7DA8B35AECE8";
String datasource = "ads";
String apiId = "276";
readAndIndexTest(true, id, datasource, apiId);
}
@Test
public void testSNDWithOtherId() throws Exception {
String id = "https://ariadne-infrastructure.eu/aocat/Collection/62D27ED3-20F3-355C-A7AD-3F3F4BC7457C";
String datasource = "snd";
String apiId = "zip";
readAndIndexTest(false, id, datasource, apiId);
}
@Test
public void testADS() throws Exception {
String id = "https://ariadne-infrastructure.eu/aocat/Resource/ADS/90D1C95D-E249-3E74-92D9-B58FDF690CC7";
String datasource = "ads";
String apiId = "archives";
readAndIndexTest(true, id, datasource, apiId);
}
@Test
public void uploadADSArchivesBoundingBoxTest() throws Exception {
boolean isRecord = true;
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/90D1C95D-E249-3E74-92D9-B58FDF690CC7";
String datasource = "ads";
String collectionId = "archives";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void testFindSampoCollection() throws Exception {
String collId = "https://ariadne-infrastructure.eu/aocat/Collection/FHA/86DE51E7-1A20-32E0-96CA-119DEA2220E4";
String datasource = "findsampo";
String apiId = "finds";
readAndIndexTest(false, collId, datasource, apiId);
}
@Test
public void testADSFieldworkReport1093() throws Exception {
String collId = "https://ariadne-infrastructure.eu/aocat/Collection/ADS/5910411B-ED97-364E-8D28-6024558AA14B";
String datasource = "ads";
String apiId = "1093";
readAndIndexTest(false, collId, datasource, apiId);
}
@Test
public void AMCRForMariaTest() throws Exception {
boolean isRecord = true;
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/AIS%20CR/30A1E3C2-2856-3D44-A98D-078BAEE87BBA";
String datasource = "amcr";
String collectionId = "oai";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadAMCRFieldworkTest() throws Exception {
boolean isRecord = true;
@ -121,14 +276,7 @@ public class GraphDbReaderAndESIndexTest {
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadADSArchivesBoundingBoxTest() throws Exception {
boolean isRecord = true;
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/90D1C95D-E249-3E74-92D9-B58FDF690CC7";
String datasource = "ads";
String collectionId = "archives";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadDansSpatialTest() throws Exception {
@ -166,6 +314,14 @@ public class GraphDbReaderAndESIndexTest {
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void SNDCollectionWithWKT() throws Exception {
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/206F1EC8-014F-3201-A1E3-4545C2CD1953";
String datasource = "snd";
String collectionId = "zip";
readAndIndexTest(false, recordId, datasource, collectionId);
}
@Test
public void uploadNIAMTest() throws Exception {
boolean isRecord = true;
@ -378,10 +534,21 @@ public class GraphDbReaderAndESIndexTest {
boolean isRecord = false;
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/THANADOS/3E6614E4-EA97-3E7D-BA72-B0343A63FA39";
String datasource = "thanados";
String collectionId = "test";
String collectionId = "api";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void collectionInCollectionWithGeoPointTest() throws Exception {
boolean isRecord = false;
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/THANADOS/6AA9483F-549C-3908-B7C0-1A5BAA521371";
String datasource = "thanados";
String collectionId = "api";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void recordInCollectionTest() throws Exception {
boolean isRecord = true;
@ -391,6 +558,16 @@ public class GraphDbReaderAndESIndexTest {
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void thanadosCollectionTest() throws Exception {
boolean isRecord = false;
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/THANADOS/29D18DF9-09D8-39E7-B424-01FDE024F191";
String datasource = "thanados";
String collectionId = "api";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadAdsScotlandAATTest() throws Exception {
boolean isRecord = true;
@ -418,11 +595,106 @@ public class GraphDbReaderAndESIndexTest {
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadINPTest() throws Exception {
boolean isRecord = true;
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/INPRAN/99C2A8A2-32A0-344D-9F41-FD8E7B2C21E3";
String datasource = "inp";
String collectionId = "sites";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadUBCollectionTest() throws Exception {
boolean isRecord = false;
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/UB/F334A035-7757-3787-9849-E38FCD6A1FF5";
String datasource = "ub";
String collectionId = "inscription";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadRGKTest() throws Exception {
boolean isRecord = true;
String recordId = "https://ariadne-infrastructure.eu/aocat/Resource/AFE_RGK/C591D12B-9DBF-397D-8E38-F56C674ECF0E";
String datasource = "afe_rgk";
String collectionId = "coins";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
@Test
public void uploadUKPoolTest() throws Exception {
boolean isRecord = false;
String recordId = "https://ariadne-infrastructure.eu/aocat/Collection/OEAW/90A72C82-BD31-3BAB-A512-5084ACD1C235";
String datasource = "oeaw";
String collectionId = "CollectionInfo";
readAndIndexTest(isRecord, recordId, datasource, collectionId);
}
private class CollectionData {
String URI_ID;
String id;
public CollectionData(String URI_ID, String id) {
this.URI_ID = URI_ID;
this.id = id;
}
}
// used only once to fix overwritten ADS collections
private void fixPublicADSCollections() throws Exception {
boolean isRecord = false;
String datasource = "ads";
List<CollectionData> collectionToFix = Arrays.asList(
new CollectionData("AAA81A6D-56F3-341C-BAF0-791C31BC7F73", "398"),
new CollectionData("B6AF6572-6CF5-3EEE-A6CD-778FD975903A", "1785"),
new CollectionData("61CC3C06-21FE-3983-93B7-7ADE3535C59A", "1787"),
new CollectionData("F8FAC6C9-8E3D-355C-83E5-B162FC005EC2", "1788"),
new CollectionData("C2BC1925-493E-3047-858E-A720403D1F68", "324"),
new CollectionData("55B8D842-F80A-3841-9A4B-36F714D438BC", "1054"),
new CollectionData("5DE1B42A-6A52-3164-A1F3-E17BD6A2D082", "272_event"),
new CollectionData("F350D267-D463-33DE-883B-3561AA523168", "304"),
new CollectionData("F31C1473-3527-3C56-9801-F833D3C26A70", "3"),
new CollectionData("DE1A5A67-F32D-318B-808B-4457B1EF329F", "1957"),
new CollectionData("BB5172FB-55D2-3E6F-B03B-78B9A4B595BA", "1970"),
new CollectionData("8F4CA5AD-2339-3FED-89BB-F97291DDDC99", "270"),
new CollectionData("D52279BD-4C39-3682-9BFB-9BC7D0CD9D7F", "397"),
new CollectionData("57DB9A00-5856-3120-BE2A-2FFBD253CA04", "328"),
new CollectionData("80BF2F63-5448-3C38-BF89-A38DBC4AFB3E", "292"),
new CollectionData("58114087-BD7B-3ECC-9B46-A48C8BB36F6C", "858"),
new CollectionData("E0B88506-0A29-392B-8FDF-E7D7FDA2412B", "321"),
new CollectionData("C27CDB2E-CC18-3028-96C4-A13C1BC46044", "367"),
new CollectionData("849B1C0F-4C5F-3D8C-9082-CA60DBB4F557", "271"),
new CollectionData("95EDB084-6566-39E6-AFC2-82CC3F7B70D2", "420_event"),
new CollectionData("F68EC4F0-C6DF-3013-B749-AF75A929A3EB", "4"),
new CollectionData("F18A0D06-2A86-334A-AA1E-046E32A34327", "836"),
new CollectionData("EFE699F4-F42D-36AC-8CA2-24AD5F0B9307", "1972")
);
collectionToFix.forEach(data -> {
String prefix = "https://ariadne-infrastructure.eu/aocat/Collection/ADS/";
String collectionIdURI = prefix.concat(data.URI_ID);
try {
readAndIndexTest(isRecord, collectionIdURI, datasource, data.id);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e);
}
});
}
private void readAndIndexTest(boolean isRecord, String recordId, String datasource, String collectionId) throws Exception {
final ClassPathResource resource = new ClassPathResource("application.properties");
readAndIndex( isRecord, recordId, datasource, collectionId, STAGING_PROPERTIES);
}
private void readAndIndexProd(boolean isRecord, String recordId, String datasource, String collectionId) throws Exception {
readAndIndex( isRecord, recordId, datasource, collectionId, PROD_PROPERTIES);
}
private void readAndIndex(boolean isRecord, String recordId, String datasource, String collectionId, String propertyFile) throws Exception {
final ClassPathResource resource = new ClassPathResource(propertyFile);
Properties appProps = new Properties();
appProps.load(resource.getInputStream());
runSPQRLQuery = new RunSPARQLQueryService();
runSPQRLQuery.setupReadOnlyConnection(
appProps.getProperty("graphdb.serverUrl"),
@ -438,10 +710,10 @@ public class GraphDbReaderAndESIndexTest {
appProps.getProperty("exclude.predicates"),
appProps.getProperty("class.map.specifications")
);
runSPQRLQuery.setResourceManager(resourceManager);
runSPQRLQuery.setResourceManager(resourceManager);
BulkUpload bulkUpload = new BulkUpload();
bulkUpload.init(appProps.getProperty("elasticsearch.hostname"),appProps.getProperty("elasticsearch.indexname"));
runSPQRLQuery.setBulkUpload(bulkUpload);
runSPQRLQuery.setBulkUpload(bulkUpload);
final ClassPathResource queryTemplateResource;
if (isRecord) {
queryTemplateResource = new ClassPathResource("eu/dnetlib/ariadneplus/sparql/read_record_data_template.sparql");
@ -467,7 +739,7 @@ public class GraphDbReaderAndESIndexTest {
@Test
@Ignore
public void selectRecordsTest() throws Exception {
final ClassPathResource resource = new ClassPathResource("application.properties");
final ClassPathResource resource = new ClassPathResource(STAGING_PROPERTIES);
Properties appProps = new Properties();
appProps.load(resource.getInputStream());
String datasource = "ads";

View File

@ -5,7 +5,13 @@ import org.junit.Before;
import org.junit.Test;
public class BulkUploadTest {
/*
About BoundingBox and WKT:
X = LONGITUDE; Y = LATITUDE
bbox2wkt(minx = NA, miny = NA, maxx = NA, maxy = NA, bbox = NULL)
bbox: MIN LONG, MIN LAT,MAX LONG, MAX LAT
wkt <- "POLYGON((MINLONG MINLAT,MINLONG MAXLAT,MAXLON MAXLAT,MAXLON MINLAT,MINLON MINLAT))"
*/
private BulkUpload bu;
@Before
@ -40,4 +46,19 @@ public class BulkUploadTest {
GeoPoint centroid = bu.calculateCentroid(wkt);
System.out.println("Long: "+centroid.getLon()+", Lat: "+centroid.getLat());
}
@Test
public void testErrorWkt(){
String wkt = "POLYGON ((14.992851606, 49.997701819, 14.99285127, 49.997700687, 14.992851522, 49.997699286, 14.992852444, 49.99769864, 14.992854204, 49.997697993, 14.992855629, 49.997698101, 14.992857473, 49.997698694, 14.992859066, 49.997699771, 14.99286049, 49.997701172, 14.992862251, 49.997702358, 14.992864346, 49.997704028, 14.992865687, 49.997705644, 14.992867867, 49.997706937, 14.992869962, 49.997708877, 14.992871387, 49.997710116, 14.992871555, 49.997711194, 14.992870633, 49.997712433, 14.992869124, 49.997713457, 14.992867531, 49.997714103, 14.99286619, 49.997714157, 14.992864765, 49.997714157, 14.99286334, 49.997713888, 14.992861832, 49.997712756, 14.992860239, 49.997711248, 14.992858395, 49.997709847, 14.992856719, 49.997708446, 14.992855629, 49.997706991, 14.992854288, 49.997705429, 14.992852863, 49.997704082, 14.992851606, 49.997702789, 14.992851606, 49.997701819))";
GeoPoint centroid = bu.calculateCentroid(wkt);
System.out.println("Long: "+centroid.getLon()+", Lat: "+centroid.getLat());
}
@Test
public void wktSND(){
String wkt="POLYGON ((15.0890347818947000 58.4016252063743000, 15.0886178984403000 58.4014150599049000, 15.0882593461811000 58.4012361894750000, 15.0877677533438000 58.4009725637710000, 15.0872345094368000 58.4006865934337000, 15.0867758097746000 58.4004629423839000, 15.0864339387892000 58.4002930037917000, 15.0860410894795000 58.4001448849296000, 15.0856568468080000 58.3999879707178000, 15.0852396416980000 58.3997954979955000, 15.0848901762974000 58.3995857184202000, 15.0845903412038000 58.3994204326843000, 15.0845492281592000 58.3993715645669000, 15.0846090823620000 58.3993276863909000, 15.0842983876037000 58.3992817208913000, 15.0842119123063000 58.3993917714065000, 15.0842685128493000 58.3995070502855000, 15.0845256073749000 58.3997030466499000, 15.0847657703784000 58.3999033684038000, 15.0850143573253000 58.4001037380030000, 15.0853219913347000 58.4003000162623000, 15.0857384794602000 58.4005278574010000, 15.0859303780227000 58.4006173677459000, 15.0862306820130000 58.4007605447592000, 15.0866902830228000 58.4009399884428000, 15.0870247289009000 58.4010612472058000, 15.0875181172298000 58.4012364553409000, 15.0879784504359000 58.4013805265811000, 15.0883964981257000 58.4015332008690000, 15.0886722704646000 58.4016408627805000, 15.0888306740171000 58.4017213377041000, 15.0890347818947000 58.4016252063743000))";
GeoPoint centroid = bu.calculateCentroid(wkt);
System.out.println("Long: "+centroid.getLon()+", Lat: "+centroid.getLat());
}
}

View File

@ -1,5 +1,6 @@
package eu.dnetlib.ariadneplus.reader.json;
import eu.dnetlib.ariadneplus.elasticsearch.model.AriadnePlusEntry;
import eu.dnetlib.ariadneplus.reader.ResourceManager;
import eu.dnetlib.ariadneplus.reader.utils.PropertiesMap;
import net.minidev.json.parser.ParseException;
@ -52,6 +53,36 @@ public class ParseRDFJsonTest {
}
}
@Test
public void testParseCNRS() throws ParseException {
String recordJson = getFromClasspath("eu/dnetlib/ariadneplus/reader/json/test_cnrs.json");
parser.setCollection(false);
int res = parser.parse(recordJson);
Assert.assertNotEquals(-1, res);
while(parser.hasNextElement()){
System.out.println(parser.getNextElement());
}
}
@Test
public void testParseUKPool() throws ParseException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException {
String recordJson = getFromClasspath("eu/dnetlib/ariadneplus/reader/json/ukpool-coll.json");
parser.setCollection(true);
int res = parser.parse(recordJson);
Assert.assertNotEquals(-1, res);
// while(parser.hasNextElement()){
// System.out.println(parser.getNextElement());
// }
mng.manage(parser);
Object next = mng.next();
AriadnePlusEntry ace = ((AriadnePlusEntry) next);
Assert.assertNotNull(ace);
ace.getTemporal().stream().forEach(e -> System.out.println(e.getUri()));
System.out.println(ace.toJson());
}
@Test
public void testParseEmptyJson() throws ParseException {
String collectionJson = "{}";
@ -65,7 +96,6 @@ public class ParseRDFJsonTest {
}
@Test
public void testResourceManager() throws ParseException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException {
String collectionJson = getFromClasspath("eu/dnetlib/ariadneplus/reader/json/collection.json");
parser.setCollection(true);
@ -76,6 +106,28 @@ public class ParseRDFJsonTest {
System.out.println(mng.next());
}
@Test
public void testParseThanados() throws ParseException {
String recordJson = getFromClasspath("eu/dnetlib/ariadneplus/reader/json/test-thanados.json");
parser.setCollection(true);
int res = parser.parse(recordJson);
Assert.assertNotEquals(-1, res);
while(parser.hasNextElement()){
System.out.println(parser.getNextElement());
}
}
@Test
public void testParseRoceeh() throws ParseException {
String recordJson = getFromClasspath("eu/dnetlib/ariadneplus/reader/json/roceeh.json");
parser.setCollection(false);
int res = parser.parse(recordJson);
Assert.assertNotEquals(-1, res);
while(parser.hasNextElement()){
System.out.println(parser.getNextElement());
}
}
private String getFromClasspath(String s) {
try {
final ClassPathResource resource = new ClassPathResource(s);

View File

@ -11,34 +11,69 @@ public class ESUtilsTest {
public void testParseDate(){
String date = "2013-03-13";
String parsed = ESUtils.getESFormatDate(date);
Assert.assertEquals(date, parsed);
Assert.assertEquals(parsed, date);
}
@Test
public void testBSTDate(){
String date = "Fri May 15 13:21:02 BST 2020";
String parsed = ESUtils.getESFormatDate(date);
Assert.assertEquals(parsed, "2020-05-15");
Assert.assertEquals("2020-05-15", parsed);
}
@Test
public void testYearDate(){
String date = "2012";
String parsed = ESUtils.getESFormatDate(date);
Assert.assertEquals(parsed, "2012");
Assert.assertEquals("2012", parsed);
}
@Test
public void testEmtyDate(){
String date = "";
String parsed = ESUtils.getESFormatDate(date);
Assert.assertEquals(parsed, "0000");
Assert.assertEquals("0000", parsed);
}
@Test
public void testErrorDate(){
String date = "????";
String parsed = ESUtils.getESFormatDate(date);
Assert.assertEquals(parsed, "0000");
Assert.assertEquals("0000", parsed);
}
@Test
public void testUnknownDate(){
String date = "unknown";
String parsed = ESUtils.getESFormatDate(date);
Assert.assertEquals("0000", parsed);
}
@Test
public void testDateMonthString(){
String date = "27-Oct-2022";
String parsed = ESUtils.getESFormatDate(date);
System.out.println(parsed);
Assert.assertEquals("2022-10-27", parsed);
}
@Test
public void testDateCapitalMonthString(){
String date = "27-OCT-2022";
String parsed = ESUtils.getESFormatDate(date);
System.out.println(parsed);
Assert.assertEquals("2022-10-27", parsed);
}
@Test
public void testDateMonthString2(){
String date = "27 Oct 2022";
String parsed = ESUtils.getESFormatDate(date);
System.out.println(parsed);
Assert.assertEquals("2022-10-27", parsed);
}
}

View File

@ -0,0 +1,170 @@
{
"https://ariadne-infrastructure.eu/aocat/Resource/4F9B4DC6-F236-3CDA-8C3B-B20B5D17DD6E" : {
"http://parthenos.d4science.org/CRMext/CRMpe.rdfs/PP20i_is_persistent_dataset_part_of" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Collection/ROAD/1E2373FE-C708-3A0B-81BE-35F5593EBAA2",
"type" : "uri"
}
],
"http://www.cidoc-crm.org/cidoc-crm/P129_is_about" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/ROAD/archaeology",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Place/2360EC2A-F897-3075-9720-EE45ACEC75C9",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Place/E99BB6B9-1EF5-3DBE-8EEC-9340DC7C68CF",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/5950/6020",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/Wilton",
"type" : "uri"
}
],
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [
{
"value" : "https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Individual_Data_Resource",
"type" : "uri"
}
],
"http://www.w3.org/2000/01/rdf-schema#label" : [
{
"value" : "Assemblage Sehonghong, 59, age: 5950-6020",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_ARIADNE_subject" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_access_rights" : [
{
"value" : "https://creativecommons.org/licenses/by-sa/4.0/",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_contributor" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_creator" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Project%20%22The%20Role%20of%20Culture%20in%20Early%20Expansions%20of%20Humans%22%20%28ROCEEH%29",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_landing_page" : [
{
"value" : "http://www.roceeh.uni-tuebingen.de/roadweb/sdsPDF.php?localityName=Sehonghong",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_language" : [
{
"value" : "http://lexvo.org/id/iso639-2/en",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_native_subject" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/ROAD/archaeology",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_original_id" : [
{
"value" : "Sehonghong, 59, age: 5950-6020",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_owner" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Heidelberg%20Academy%20of%20Sciences%20and%20Humanities",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_publisher" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Heidelberg%20Academy%20of%20Sciences%20and%20Humanities",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_responsible" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/ROCEEH%20Team",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_spatial_coverage" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Place/2360EC2A-F897-3075-9720-EE45ACEC75C9",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Place/E99BB6B9-1EF5-3DBE-8EEC-9340DC7C68CF",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_temporal_coverage" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/5950/6020",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/Wilton",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_title" : [
{
"value" : "ROAD - locality: Sehonghong, finds: archaeology, culture: Wilton",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/has_type" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/is_part_of" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Collection/ROAD/1E2373FE-C708-3A0B-81BE-35F5593EBAA2",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/was_issued" : [
{
"value" : "2021-04-23",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/was_modified" : [
{
"value" : "2021-05-06",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
]
}
}

View File

@ -0,0 +1,322 @@
{
"http://vocab.getty.edu/aat/300266755" : {
"https://www.ariadne-infrastructure.eu/property/id" : [
{
"value" : "http://vocab.getty.edu/aat/300266755",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/label" : [
{
"value" : "cemeteries",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "cemeteries",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/source" : [
{
"value" : "Getty AAT",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/051913163ebcde3810abca30c309b003350fd478" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "Pichelhof",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/b916a83c90c54e0232f0c82d17d04237d2ef6a57" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "During the run of a cable in 1938 five inhumation burials were found along the street from Graz to Bruck in Pichelhof bei Fronleiten. The burials date into the Early Middle Ages, two of them had knives with them and in one grave a yellow glass bead was found near the skull. The burials were oriented from west-east and were found in a depth of 1,5m.\nThe exact location of the cemetery is not known anymore.\n\n##German\nIm Jahr 1938 wurden an der Bundesstraße (damals Reichsstraße) Graz-Bruck in Pichelhof bei Frohnleiten 5 Skelette frühmittelalterlicher Zeitstellung gefunden. Der Fund wurde lt. Fundnachricht im Inventarbuch des Landesmuseums Joanneum beim Kabelgraben gemacht, die Skelette lagen im Schotter der Straßenböschung in 1,5 m Tiefe, Ost-West-Ausrichtung. Zwei der Skelette hatten als Beigaben kleine eiserne Messer, bei einem dritten wurde im Kopfbereich eine gelbliche Glasperle gefunden. Nach Aussage des damaligen Landesarchäologen W. Schmid konnte nicht festgestellt werden, in welcher Richtung etwaige weitere Bestattungen liegen. Die Funde kamen ins Landesmuseum Joanneum. Die genaue Lage des Gräberfeldes lässt sich derzeit nicht eruieren.",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Agent/THANADOS" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/THANADOS",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "THANADOS",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/publisherAgentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/THANADOS",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisherName" : [
{
"value" : "THANADOS",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Collection/THANADOS/29D18DF9-09D8-39E7-B424-01FDE024F191" : {
"https://www.ariadne-infrastructure.eu/property/aatSubjects" : [
{
"value" : "http://vocab.getty.edu/aat/300266755",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/accessRights" : [
{
"value" : "Not provided",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/archeologicalResourceType" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/contributor" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/THANADOS",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/created" : [
{
"value" : "2015-11-30 22:50:09",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/creator" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/THANADOS",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/derivedSubject" : [
{
"value" : "http://vocab.getty.edu/aat/300266755",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/descriptionInfo" : [
{
"value" : "https://ariadne-infrastructure.eu/TextLang/b916a83c90c54e0232f0c82d17d04237d2ef6a57",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/identifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Collection/THANADOS/29D18DF9-09D8-39E7-B424-01FDE024F191",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/issued" : [
{
"value" : "2022",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/language" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/legalResponsible" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/THANADOS",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/modified" : [
{
"value" : "2022-02-08T16:16:05.176022",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeSubject" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/THANADOS/22378",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/originalId" : [
{
"value" : "48699",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/owner" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/THANADOS",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisher" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/THANADOS",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfType" : [
{
"value" : "Collection",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/resourceType" : [
{
"value" : "collection",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/temporal" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/25162",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/temporalNative" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/25162",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/titleInfo" : [
{
"value" : "https://ariadne-infrastructure.eu/TextLang/051913163ebcde3810abca30c309b003350fd478",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/typeLabel" : [
{
"value" : "collection",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/typeURI" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection",
"type" : "uri"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument" : {
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Site/monument",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Concept/THANADOS/22378" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "inhumation cemetery",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/THANADOS/22378",
"type" : "uri"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Time-Span/25162" : {
"https://www.ariadne-infrastructure.eu/property/from" : [
{
"value" : "0740",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#gYear"
}
],
"https://www.ariadne-infrastructure.eu/property/nativePeriodName" : [
{
"value" : "25162",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/periodOName" : [
{
"value" : "25162",
"type" : "literal",
"lang" : "en"
},
{
"value" : "group b",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/until" : [
{
"value" : "0830",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#gYear"
}
],
"https://www.ariadne-infrastructure.eu/property/uri" : [
{
"value" : "http://n2t.net/ark:/99152/p0cwwzn4q6c",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/25162",
"type" : "uri"
}
]
}
}

View File

@ -0,0 +1,531 @@
{
"http://openarchaeo.huma-num.fr/federation/sources/epicherchell" : {
"https://www.ariadne-infrastructure.eu/property/aatSubjects" : [
{
"value" : "http://vocab.getty.edu/aat/300138808",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/accessRights" : [
{
"value" : "https://creativecommons.org/licenses/by/4.0/",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/archeologicalResourceType" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Inscription",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/contributor" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/NotProvided",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/creator" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/NotProvided",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/derivedSubject" : [
{
"value" : "http://vocab.getty.edu/aat/300138808",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/descriptionInfo" : [
{
"value" : "https://ariadne-infrastructure.eu/TextLang/0d264b1833a01709f78e198c3f3f59b7f9b4bc61",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/TextLang/7cf506579afc32a2d2cc7bd82214010ae71f08a6",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/identifier" : [
{
"value" : "http://openarchaeo.huma-num.fr/federation/sources/epicherchell",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/issued" : [
{
"value" : "2021-02-05T00:00:00",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/language" : [
{
"value" : "eng",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
},
{
"value" : "fre",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/legalResponsible" : [
{
"value" : "http://openarchaeo.huma-num.fr/federation/sources/epicherchell#responsable",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/modified" : [
{
"value" : "2021-02-05T00:00:00",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeSubject" : [
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrt0SEeMmB4DY",
"type" : "uri"
},
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrtJrInD7k8G1",
"type" : "uri"
},
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrtURQAYIg6qg",
"type" : "uri"
},
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrtao8pPWDJWf",
"type" : "uri"
},
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrthzZzvyUog9",
"type" : "uri"
},
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrttqg6h4M4o5",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/originalId" : [
{
"value" : "http://ccj-epicherchel.huma-num.fr",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/owner" : [
{
"value" : "https://ccj.cnrs.fr/",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/partOf" : [
{
"value" : "http://openarchaeo.huma-num.fr",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisher" : [
{
"value" : "http://viaf.org/viaf/5147310009337851060",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfType" : [
{
"value" : "Record",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/resourceType" : [
{
"value" : "provided record",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/spatialRegion" : [
{
"value" : "http://sws.geonames.org/2501440/",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/temporalNative" : [
{
"value" : "http://openarchaeo.huma-num.fr/federation/sources/epicherchell#coverage",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/titleInfo" : [
{
"value" : "https://ariadne-infrastructure.eu/TextLang/020f35f1e3324376620d821a28cad7df70c61f06",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/TextLang/53cd86f509db11a4b7f25458353e0f229e6ce2b2",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/typeLabel" : [
{
"value" : "provided record",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/typeURI" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/provided%20record",
"type" : "uri"
}
]
},
"http://openarchaeo.huma-num.fr/federation/sources/epicherchell#coverage" : {
"https://www.ariadne-infrastructure.eu/property/nativeFrom" : [
{
"value" : "-0100-01-01",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#date"
}
],
"https://www.ariadne-infrastructure.eu/property/nativePeriodName" : [
{
"value" : "native period not provided",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeUntil" : [
{
"value" : "0600-12-31",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#date"
}
]
},
"http://openarchaeo.huma-num.fr/federation/sources/epicherchell#responsable" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "http://openarchaeo.huma-num.fr/federation/sources/epicherchell#responsable",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Bruno Baudoin",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
},
{
"value" : "Stéphanie Satre",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"http://sws.geonames.org/2501440/" : {
"https://www.ariadne-infrastructure.eu/property/placeName" : [
{
"value" : "Place name not provided",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"http://viaf.org/viaf/5147310009337851060" : {
"https://www.ariadne-infrastructure.eu/property/publisherAgentIdentifier" : [
{
"value" : "http://viaf.org/viaf/5147310009337851060",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisherHomepage" : [
{
"value" : "https://masa.hypotheses.org/",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisherName" : [
{
"value" : "Consortium MASA - Mémoire des Archéologues et des Sites Archéologiques",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"http://vocab.getty.edu/aat/300138808" : {
"https://www.ariadne-infrastructure.eu/property/id" : [
{
"value" : "http://vocab.getty.edu/aat/300138808",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/label" : [
{
"value" : "epigraphy",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "epigraphy",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/source" : [
{
"value" : "Getty AAT",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/020f35f1e3324376620d821a28cad7df70c61f06" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "Epicherchell",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/0d264b1833a01709f78e198c3f3f59b7f9b4bc61" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "Corpus of antique inscriptions from Cesarea in Mauretania (Cherchell, Algeria)",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/53cd86f509db11a4b7f25458353e0f229e6ce2b2" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "fr",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "EpiCherchell",
"type" : "literal",
"lang" : "fr"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/7cf506579afc32a2d2cc7bd82214010ae71f08a6" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "fr",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "Corpus des inscriptions antiques de Césarée de Maurétanie (Cherchell, Algérie)",
"type" : "literal",
"lang" : "fr"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Inscription" : {
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Inscription",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/NotProvided" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/NotProvided",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Not Provided",
"type" : "literal",
"lang" : "en"
},
{
"value" : "Not Provided",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"https://ark.frantiq.fr/ark:/26678/pcrt0SEeMmB4DY" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "corpus",
"type" : "literal",
"lang" : "en"
},
{
"value" : "corpus",
"type" : "literal",
"lang" : "fr"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrt0SEeMmB4DY",
"type" : "uri"
}
]
},
"https://ark.frantiq.fr/ark:/26678/pcrtJrInD7k8G1" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "epigraphy",
"type" : "literal",
"lang" : "en"
},
{
"value" : "épigraphie",
"type" : "literal",
"lang" : "fr"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrtJrInD7k8G1",
"type" : "uri"
}
]
},
"https://ark.frantiq.fr/ark:/26678/pcrtURQAYIg6qg" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "algeria",
"type" : "literal",
"lang" : "en"
},
{
"value" : "algérie",
"type" : "literal",
"lang" : "fr"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrtURQAYIg6qg",
"type" : "uri"
}
]
},
"https://ark.frantiq.fr/ark:/26678/pcrtao8pPWDJWf" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "cherchell",
"type" : "literal",
"lang" : "en"
},
{
"value" : "cherchell",
"type" : "literal",
"lang" : "fr"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrtao8pPWDJWf",
"type" : "uri"
}
]
},
"https://ark.frantiq.fr/ark:/26678/pcrthzZzvyUog9" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "latin",
"type" : "literal",
"lang" : "en"
},
{
"value" : "latin",
"type" : "literal",
"lang" : "fr"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrthzZzvyUog9",
"type" : "uri"
}
]
},
"https://ark.frantiq.fr/ark:/26678/pcrttqg6h4M4o5" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "greek",
"type" : "literal",
"lang" : "en"
},
{
"value" : "grec",
"type" : "literal",
"lang" : "fr"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ark.frantiq.fr/ark:/26678/pcrttqg6h4M4o5",
"type" : "uri"
}
]
},
"https://ccj.cnrs.fr/" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "https://ccj.cnrs.fr/",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/homepage" : [
{
"value" : "https://ccj.cnrs.fr/",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Centre Camille Jullian",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
}
}

View File

@ -0,0 +1,498 @@
{
"http://vocab.getty.edu/aat/300019362" : {
"https://www.ariadne-infrastructure.eu/property/id" : [
{
"value" : "http://vocab.getty.edu/aat/300019362",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/label" : [
{
"value" : "urnfield (bronze age culture or period)",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "urnfield (bronze age culture or period)",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/source" : [
{
"value" : "Getty AAT",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/47360886a2bbef8c6d08fd6e2243d3596b277272" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "Urnenfelder Kultur MaterialPOOL",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/TextLang/ab396668417b5b806c9382065c9bdb7d70b7c592" : {
"https://www.ariadne-infrastructure.eu/property/lang" : [
{
"value" : "en",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/text" : [
{
"value" : "Database of Urnfield Culture sites and finds in Austria. The aim of the database is to provide information about collections that are available for analysis, for example as part of student assignments.",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Academy%20of%20Sciences%20%28OeAW%29" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Academy%20of%20Sciences%20%28OeAW%29",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/homepage" : [
{
"value" : "https://www.oeaw.ac.at/",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Austrian Academy of Sciences (OeAW)",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/publisherAgentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Academy%20of%20Sciences%20%28OeAW%29",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisherHomepage" : [
{
"value" : "https://www.oeaw.ac.at/",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisherName" : [
{
"value" : "Austrian Academy of Sciences (OeAW)",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Archaeological%20Institute%20%28OeAI%29%2C%20Austrian%20Academy%20of%20Sciences%20%28OeAW%29" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Archaeological%20Institute%20%28OeAI%29%2C%20Austrian%20Academy%20of%20Sciences%20%28OeAW%29",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/homepage" : [
{
"value" : "https://www.oeaw.ac.at/oeai/home",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Austrian Archaeological Institute (OeAI), Austrian Academy of Sciences (OeAW)",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Agent/Edeltraud%20Asp%C3%B6ck" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Edeltraud%20Asp%C3%B6ck",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/homepage" : [
{
"value" : "https://www.oeaw.ac.at/acdh/team/current-team/edeltraud-aspoeck",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/institution" : [
{
"value" : "Austrian Centre for Digital Humanities and Cultural Heritage (ACDH-CH), Austrian Academy of Sciences (OeAW)",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Edeltraud Aspöck",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Agent/Michaela%20Lochner" : {
"https://www.ariadne-infrastructure.eu/property/agentIdentifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Michaela%20Lochner",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Michaela Lochner",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Collection/OEAW/90A72C82-BD31-3BAB-A512-5084ACD1C235" : {
"https://www.ariadne-infrastructure.eu/property/aatSubjects" : [
{
"value" : "http://vocab.getty.edu/aat/300019362",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/accessRights" : [
{
"value" : "https://creativecommons.org/licenses/by/4.0/",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/archeologicalResourceType" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/contributor" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Edeltraud%20Asp%C3%B6ck",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/created" : [
{
"value" : "2004",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/creator" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Michaela%20Lochner",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/derivedSubject" : [
{
"value" : "http://vocab.getty.edu/aat/300019362",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/descriptionInfo" : [
{
"value" : "https://ariadne-infrastructure.eu/TextLang/ab396668417b5b806c9382065c9bdb7d70b7c592",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/identifier" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Collection/OEAW/90A72C82-BD31-3BAB-A512-5084ACD1C235",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/issued" : [
{
"value" : "2006",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/language" : [
{
"value" : "de",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/legalResponsible" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Archaeological%20Institute%20%28OeAI%29%2C%20Austrian%20Academy%20of%20Sciences%20%28OeAW%29",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/modified" : [
{
"value" : "2016",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeSubject" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/URNENFELDER%20KULTUR",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/originalId" : [
{
"value" : "praehist_bronze",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/owner" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Academy%20of%20Sciences%20%28OeAW%29",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/publisher" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Agent/Austrian%20Academy%20of%20Sciences%20%28OeAW%29",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfType" : [
{
"value" : "Collection",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/resourceType" : [
{
"value" : "Collection",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/spatialRegion" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Place/98917390-9475-3D26-8594-6C867B32AD28",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/spatialRegionPoint" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Place/90A72C82-BD31-3BAB-A512-5084ACD1C235",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/temporal" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/Bronzezeit%20praehist_bronze",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/Eisenzeit%20praehist_bronze",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/temporalNative" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/Bronzezeit%20praehist_bronze",
"type" : "uri"
},
{
"value" : "https://ariadne-infrastructure.eu/aocat/Time-Span/Eisenzeit%20praehist_bronze",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/titleInfo" : [
{
"value" : "https://ariadne-infrastructure.eu/TextLang/47360886a2bbef8c6d08fd6e2243d3596b277272",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/typeLabel" : [
{
"value" : "collection",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/typeURI" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection",
"type" : "uri"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Site/monument" : {
"https://www.ariadne-infrastructure.eu/property/name" : [
{
"value" : "Site/monument",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Concept/OEAW/URNENFELDER%20KULTUR" : {
"https://www.ariadne-infrastructure.eu/property/prefLabel" : [
{
"value" : "urnenfelder kultur",
"type" : "literal",
"lang" : "en"
}
],
"https://www.ariadne-infrastructure.eu/property/rdfAbout" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/OEAW/URNENFELDER%20KULTUR",
"type" : "uri"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Place/90A72C82-BD31-3BAB-A512-5084ACD1C235" : {
"https://www.ariadne-infrastructure.eu/property/lat" : [
{
"value" : "47.33333",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#decimal"
}
],
"https://www.ariadne-infrastructure.eu/property/lon" : [
{
"value" : "13.33333",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#decimal"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Place/98917390-9475-3D26-8594-6C867B32AD28" : {
"https://www.ariadne-infrastructure.eu/property/placeName" : [
{
"value" : "Austria",
"type" : "literal",
"lang" : "en"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Time-Span/Bronzezeit%20praehist_bronze" : {
"https://www.ariadne-infrastructure.eu/property/from" : [
{
"value" : "3300 BP (2000)",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeFrom" : [
{
"value" : "-2200",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/nativePeriodName" : [
{
"value" : "bronzezeit",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeUntil" : [
{
"value" : "-801",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/periodOName" : [
{
"value" : "späte bronzezeit",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/until" : [
{
"value" : "2801 BP (2000)",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/uri" : [
{
"value" : "http://n2t.net/ark:/99152/p0qhb66cjfs",
"type" : "uri"
}
]
},
"https://ariadne-infrastructure.eu/aocat/Time-Span/Eisenzeit%20praehist_bronze" : {
"https://www.ariadne-infrastructure.eu/property/from" : [
{
"value" : "2800 BP (2000)",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeFrom" : [
{
"value" : "-800",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/nativePeriodName" : [
{
"value" : "eisenzeit",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/nativeUntil" : [
{
"value" : "-1",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#dateTime"
}
],
"https://www.ariadne-infrastructure.eu/property/periodOName" : [
{
"value" : "ältere eisenzeit",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/until" : [
{
"value" : "2451 BP (2000)",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/uri" : [
{
"value" : "http://n2t.net/ark:/99152/p0qhb663wjh",
"type" : "uri"
}
]
}
}

View File

@ -0,0 +1,2 @@
<!-- only one line, shut up logback ! -->
<configuration />

View File

@ -1,18 +1,18 @@
<RESOURCE_PROFILE>
<HEADER>
<RESOURCE_IDENTIFIER value="329e15b8-de29-4b9a-8ef7-d5f8f089ecf5_RW1haWxEU1Jlc291cmNlcy9FbWFpbERTUmVzb3VyY2VUeXBl"/>
<RESOURCE_IDENTIFIER value="aab4d1c6-b6c5-4147-9341-bce4637ece59_RW1haWxEU1Jlc291cmNlcy9FbWFpbERTUmVzb3VyY2VUeXBl"/>
<RESOURCE_TYPE value="EmailDSResourceType"/>
<RESOURCE_KIND value="EmailDSResources"/>
<RESOURCE_URI value=""/>
<DATE_OF_CREATION value="2017-07-03T12:00:00.0Z"/>
</HEADER>
<BODY>
<EMAIL_NAME>AriadnePlus workflow message</EMAIL_NAME>
<SUBJECT_TEMPLATE>[ARIADNEPLUS AGGREGATOR] $proc.status$: $proc.name$</SUBJECT_TEMPLATE>
<EMAIL_NAME>ARIADNEplus workflow message</EMAIL_NAME>
<SUBJECT_TEMPLATE>[ARIADNEplus AGGREGATOR] $proc.status$: $proc.name$</SUBJECT_TEMPLATE>
<EMAIL_TEMPLATE>
<![CDATA[
<div>
<p>**** This mail has been generated automatically by the D-NET Manager Service of the AriadnePlus Aggregator, please don't reply ****</p>
<p>**** This mail has been generated automatically by the D-NET Manager Service of the ARIADNEplus Aggregator, please don't reply ****</p>
<p>
<b>Datasource name:</b>$proc.dsName$<br/>
<b>Datasource API:</b>$proc.dsInterface$<br/>

View File

@ -17,8 +17,8 @@
<CONFIGURATION status="WAIT_SYS_SETTINGS" start="MANUAL">
<PARAMETERS>
<PARAM name="publisherEndpoint" description="AriadnePlus Publisher Endpoint" required="true" managedBy="user" type="string">http://localhost:8281/ariadneplus-graphdb</PARAM>
<PARAM name="context" description="GraphDB context related to periodo data" required="true" managedBy="user" type="string"></PARAM>
<PARAM name="publisherEndpoint" description="AriadnePlus Publisher Endpoint" required="true" managedBy="user" type="string">https://aggregator.ariadne.d4science.org/ariadneplus-graphdb</PARAM>
<PARAM name="context" description="GraphDB context related to periodo data" required="true" managedBy="user" type="string">ariadneplus::PROVIDER::periodo</PARAM>
<PARAM name="dataUrl" description="Url of Periodo file to import" required="true" managedBy="user" type="string"></PARAM>
</PARAMETERS>
<WORKFLOW>

View File

@ -56,6 +56,17 @@ public class ApplyX3MappingTest {
x3mEngine.execute();
}
@Test
public void testCarareCollection() throws MalformedURLException {
X3MLEngineFactory x3mEngine = X3MLEngineFactory.create()
.withMappings(new URL("https://mapping.d4science.org/3MEditor/Services?id=1010&output=text/xml&method=export"))
.withVerboseLogging()
.withGeneratorPolicy(getInputStreamFromClasspath("/eu/dnetlib/x3m/ariadne_policy.xml"))
.withInput(getInputStreamFromClasspath("/eu/dnetlib/x3m/carare_collection.xml"))
.withOutput(System.out, X3MLEngineFactory.OutputFormat.RDF_XML);
x3mEngine.execute();
}
public void doBasicTest(String policyPath, String recordPath) throws IOException {

View File

@ -1,51 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<generator_policy>
<!-- ARIADNEplus Generator Policy version 1.5 -->
<!-- The prefix is a namespace that must be declared in the X3ML definition.
in the x3ml define <namespace prefix="ariadneplus" uri="https://ariadne-infrastructure.eu/aocat/"/> -->
<!-- ARIADNEplus Generator Policy version 1.10 -->
<!-- The prefix is a namespace that must be declared in the X3ML definition.
in the x3ml define <namespace prefix="ariadneplus" uri="https://ariadne-infrastructure.eu/aocat/"/> -->
<generator name="CollectionURI" prefix="ariadneplus" shorten="yes">
<pattern>Collection/{term}</pattern>
</generator>
<generator name="CollectionURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Collection/{provider}/{term}</pattern>
</generator>
<generator name="DataResourceURI" prefix="ariadneplus" shorten="yes">
<pattern>Resource/{term}</pattern>
</generator>
<generator name="DataResourceURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Resource/{provider}/{term}</pattern>
</generator>
<generator name="ObjectURI" prefix="ariadneplus" shorten="yes">
<pattern>Object/{resource}-{term}</pattern>
</generator>
<generator name="ObjectURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Object/{arg1}/{arg2}</pattern>
</generator>
<generator name="ObjectLabel">
<pattern>Resource {resource} is about object {term}</pattern>
</generator>
<generator name="IdentifierURI" prefix="ariadneplus">
<pattern>Identifier/{term}</pattern>
</generator>
<generator name="DocumentURI" prefix="ariadneplus" shorten="yes">>
<generator name="DocumentURI" prefix="ariadneplus" shorten="yes">
<pattern>Document/{term}</pattern>
</generator>
<generator name="DocumentURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Document/{provider}/{term}</pattern>
</generator>
<generator name="EventURI" prefix="ariadneplus" shorten="yes">
<pattern>Event/{resource}-{term}</pattern>
</generator>
@ -70,7 +56,7 @@
<generator name="PlaceURI-2" prefix="ariadneplus" shorten="yes">
<pattern>Place/{arg1}/{arg2}</pattern>
</generator>
<generator name="AgentURI" prefix="ariadneplus" >
<generator name="AgentURI" prefix="ariadneplus">
<pattern>Agent/{term}</pattern>
</generator>
<generator name="AgentURI-short" prefix="ariadneplus" shorten="yes">
@ -82,65 +68,63 @@
<generator name="OrgURI" prefix="ariadneplus">
<pattern>Organisation/{term}</pattern>
</generator>
<generator name="ConceptURI" prefix="ariadneplus">
<pattern>Concept/{term}</pattern>
</generator>
<generator name="ConceptURI-2" prefix="ariadneplus">
<pattern>Concept/{scheme}/{term}</pattern>
</generator>
<generator name="ConceptURI-3" prefix="ariadneplus">
<pattern>Concept/{db}/{scheme}/{term}</pattern>
</generator>
<generator name="ConceptURI-2-short" prefix="ariadneplus" shorten="yes">
<pattern>Concept/{scheme}/{term}</pattern>
</generator>
<generator name="LangURI" prefix="lexvo">
<pattern>{term}</pattern>
</generator>
<generator name="OneLevelCustomURI" prefix="ariadneplus">
<pattern>{level1}/{term}</pattern>
</generator>
<generator name="TwoLevelCustomURI" prefix="ariadneplus">
<pattern>{level1}/{level2}/{term}</pattern>
</generator>
<generator name="GraveURI-2" prefix="ariadneplus">
<pattern>Grave/{provider}/{term}</pattern>
</generator>
<generator name="BurialURI-2" prefix="ariadneplus">
<pattern>Burial/{provider}/{term}</pattern>
</generator>
<generator name="FindsURI-2" prefix="ariadneplus">
<pattern>Finds/{provider}/{term}</pattern>
</generator>
<generator name="SimpleLabel">
<pattern>{label}</pattern>
</generator>
<generator name="CompositeLabel">
<pattern>{label} {text}</pattern>
</generator>
<generator name="URIorUUID">
<custom generatorClass="gr.forth.URIorUUID">
<set-arg name="text"/>
</custom>
</generator>
<generator name="URNfromTextualContent">
<custom generatorClass="gr.forth.TextualContent">
<set-arg name="text" type="xpath"/>
</custom>
</generator>
<generator name="TypedLiteralGen">
<custom generatorClass="gr.forth.TypedLiteralGenerator">
<set-arg name="text"/>
</custom>
</generator>
<generator name="ConcatMultipleTerms1">
<custom generatorClass="gr.forth.ConcatMultipleTerms">
<set-arg name="prefix" type="constant"/>
<set-arg name="delimiter" type="constant"/>
<set-arg name="sameTermsDelim" type="constant"/>
<set-arg name="diffTermsDelim" type="constant"/>
<set-arg name="text1"/>
</custom>
</generator>
</generator_policy>
</generator_policy>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<record xmlns:dc="http://purl.org/dc/elements/1.1/" type="collection">
<dc:title>Sites and Monuments Record (SMR), Ireland</dc:title>
<dc:identifier>https://archaeology.ie/archaeological-survey-ireland</dc:identifier>
<dc:source>National Monuments Service, Department of Housing, Local Government and Heritage</dc:source>
<dc:description>The SMR contains details of all monuments and places (sites) where it is believed there is a
monument known to the ASI pre-dating AD 1700 and also includes a selection of monuments from the post-AD 1700
period. There are in excess of 150,800 records in the database and over 138,800 of these relate to
archaeological monuments. The remaining 12,000 records are classified as Redundant record: the majority of
these relate to obsolete terms, records or features that are not monuments.
</dc:description>
<dc:publisher>National Monuments Service, Department of Housing, Local Government and Heritage, Republic of
Ireland
</dc:publisher>
<date_created>Tue July 21 12:00:00 BST 2022</date_created>
<date_modified>Tue July 21 12:00:00 BST 2022</date_modified>
<dc:format>Dataset Collection</dc:format>
<dc:language>eng</dc:language>
<dc:rights>https://archaeology.ie/archaeological-survey-ireland/historic-environment-viewer-application</dc:rights>
</record>

1659
errors_dans.txt Normal file

File diff suppressed because it is too large Load Diff