INP Cronica enrichment query: ARIADNE subject from collection, actors from publisher

This commit is contained in:
Alessia Bardi 2023-01-23 13:35:27 +01:00
parent 7e2c0d5be8
commit 0d27dadde0
1 changed files with 102 additions and 0 deletions

View File

@ -1,3 +1,18 @@
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> {
@ -15,6 +30,7 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
};
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 .
@ -27,6 +43,8 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp_cronica::aatplus> {
@ -40,6 +58,7 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
};
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 .
@ -52,3 +71,86 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
}
};
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 .
}
}
};