fixed queries for temporal and integration of support graphs for IAA

This commit is contained in:
Alessia Bardi 2023-03-09 14:29:33 +01:00
parent b8a5c4ce2f
commit 9d415a3b20
1 changed files with 5 additions and 6 deletions

View File

@ -1,9 +1,5 @@
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::maps> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>;
DROP SILENT GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::maps>;
ADD SILENT <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::periods> TO <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites>;
DROP SILENT GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::periods>;
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -233,8 +229,10 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
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 .
}
}
};
@ -250,6 +248,7 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::iaa_survey::sites> {
?temporal aocat:has_native_period ?nativePeriod .
?nativePeriod rdfs:label ?periodLabel .
?nativePeriod skos:prefLabel ?periodLabel .
}
};
};