default for collection has_type (needed by HNM)

This commit is contained in:
Alessia Bardi 2020-09-04 11:11:22 +02:00
parent 7338a759c8
commit 1b11d0ee1c
1 changed files with 19 additions and 1 deletions

View File

@ -122,7 +122,25 @@ INSERT {
}
};
}
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<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::<PROVIDER>::<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 .
}
}
};
#cannot set defaults in collections for datetime:
# ?collection aocat:was_issued ?issued .