Insert default creator also for collections
This commit is contained in:
parent
d0372f6f5f
commit
3e2e9ff372
|
@ -104,6 +104,25 @@ WHERE {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::<PROVIDER>::<COLL>> {
|
||||||
|
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Agent> .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> rdfs:label "Not provided" .
|
||||||
|
<https://ariadne-infrastructure.eu/aocat/Agent/NOTPROVIDED> aocat:has_name "Not provided" .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
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_creator ?agent .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#cannot set defaults in collections for datetime:
|
#cannot set defaults in collections for datetime:
|
||||||
# ?collection aocat:was_issued ?issued .
|
# ?collection aocat:was_issued ?issued .
|
||||||
|
|
Loading…
Reference in New Issue