updated defaults for issued and modification date as agreed with ROAD team

This commit is contained in:
Alessia Bardi 2023-03-09 14:28:36 +01:00
parent 6a75774c80
commit b8a5c4ce2f
1 changed files with 19 additions and 6 deletions

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 "2023"^^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/>