enrich for Iceland FI Isleif

This commit is contained in:
Alessia Bardi 2022-10-10 17:05:33 +02:00
parent d1bd25c1d7
commit d7bc8ecfae
1 changed files with 269 additions and 47 deletions

View File

@ -1,62 +1,31 @@
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 DEFAULTS FOR RECORDS
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
?s aocat:has_native_subject <https://ariadne-infrastructure.eu/aocat/Concept/<PROVIDER>/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Concept/<PROVIDER>/NOT_PROVIDED> skos:prefLabel "Not provided" .
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::<PROVIDER>::<COLL>> {
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 .
}
}
};
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
?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::<PROVIDER>::<COLL>> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?ns .
}
}
};
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/<PROVIDER>/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/<PROVIDER>/NOT_PROVIDED> aocat:has_name "Not provided" .
}
}
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_creator ?creator .
?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::<PROVIDER>::<COLL>> {
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::<PROVIDER>::<COLL>> {
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 .
@ -65,18 +34,271 @@ 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::<PROVIDER>::<COLL>> {
?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" .
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::fi::isleif_sites> {
?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::<PROVIDER>::<COLL>> {
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> .
?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 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 aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> aocat:has_name "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_creator ?creator .
}
}
};
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_contributor <https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> aocat:has_name "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_contributor ?c .
}
}
};
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_responsible <https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> aocat:has_name "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_responsible ?r .
}
}
};
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_publisher <https://ariadne-infrastructure.eu/aocat/Agent/FI/FI> .
<https://ariadne-infrastructure.eu/aocat/Agent/FI/FI> aocat:has_name "Fornleifastofnun Íslands" .
}
}
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_publisher ?p .
}
}
};
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_owner <https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/FI_ISLEIF/NOT_PROVIDED> aocat:has_name "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_owner ?o .
}
}
};
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 <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::fi::isleif_sites> {
?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::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 "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_access_rights ?smt .
}
}
};
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 ?native_subject .
?concept owl:sameAs ?native_subject .
?concept skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?concept owl:sameAs ?native_subject .
?concept skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?concept owl:sameAs ?native_subject .
?concept skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?concept owl:sameAs ?native_subject .
?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 .
}
}
}
};