PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
PREFIX skos:
INSERT {
GRAPH {
?s aocat:has_type .
rdf:type .
skos:prefLabel "collection"
}
}
WHERE {
GRAPH {
?s rdf:type .
MINUS {
?s rdf:type .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
?s aocat:was_issued ?created_on .
?s aocat:was_modified ?created_on .
}
}
USING
WHERE {
?s rdf:type aocat:AO_Collection .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Collection .
?s aocat:was_issued ?issued .
}
};
PREFIX aocat:
PREFIX skos:
INSERT {
GRAPH {
?record aocat:has_derived_subject ?aat .
}
}
WHERE {
GRAPH {
?record aocat:has_native_subject ?ns.
GRAPH {
{
?ns skos:closeMatch ?aat .
}
union
{
?ns skos:exactMatch ?aat .
}
union
{
?ns skos:narrowMatch ?aat .
}
union
{
?ns skos:broadMatch ?aat .
}
}
}
};
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
PREFIX rdfs:
PREFIX owl:
PREFIX ariadneplus:
PREFIX time:
PREFIX periodo:
INSERT {
GRAPH {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
optional {
GRAPH {
?periodO skos:altLabel ?native_label .
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
}
}
}
};
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
PREFIX rdfs:
PREFIX owl:
PREFIX ariadneplus:
PREFIX time:
PREFIX periodo:
INSERT {
GRAPH {
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
GRAPH {
?s aocat:has_temporal_coverage ?temporal .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
};