PREFIX aocat:
PREFIX skos:
PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
?s aocat:was_modified ?issued .
}
}
USING
WHERE {
?s rdf:type .
?s aocat:was_issued ?issued .
MINUS {
?s rdf:type .
?s aocat:was_issued ?issued .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat:
PREFIX rdf:
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 rdf:
PREFIX rdfs:
INSERT {
GRAPH {
?s aocat:has_temporal_coverage .
rdf:type .
rdfs:label "Not provided" .
}
}
WHERE {
GRAPH {
?s rdf:type .
MINUS {
?s rdf:type .
?s aocat:has_temporal_coverage ?tc .
}
}
};
PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
PREFIX skos:
INSERT {
GRAPH {
?nativeLabel skos:prefLabel ?origTemporalNativePeriodName .
}
}
WHERE {
GRAPH {
?s rdf:type .
?s aocat:has_temporal_coverage ?temporalNative .
?temporalNative aocat:has_native_period ?nativeLabel .
?nativeLabel rdfs:label ?origTemporalNativePeriodName .
MINUS {
?nativeLabel skos:prefLabel ?origTemporalNativePeriodName .
}
}
};
PREFIX skos:
PREFIX aocat:
INSERT {
GRAPH {
?record aocat:has_derived_subject ?aat_subject .
}
}
USING
USING
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:exactMatch ?aat_subject .
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
filter(?native_subject=?patched_aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:broadMatch ?aat_subject .
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
filter(?native_subject=?patched_aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:closeMatch ?aat_subject .
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
filter(?native_subject=?patched_aat_native_subject)
}
union
{
?record aocat:has_native_subject ?native_subject .
?aat_native_subject skos:narrowMatch ?aat_subject .
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
filter(?native_subject=?patched_aat_native_subject)
}
};
PREFIX skos:
PREFIX aocat:
PREFIX time:
INSERT {
GRAPH {
?temporal aocat:has_period ?native_period .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
}
WHERE {
GRAPH {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};
PREFIX skos:
PREFIX aocat:
PREFIX time:
INSERT {
GRAPH {
?native_period skos:prefLabel ?native_label .
}
}
WHERE {
GRAPH {
?temporal aocat:has_native_period ?native_period .
?native_period skos:prefLabel ?native_label .
?temporal aocat:from ?from .
?temporal aocat:until ?until .
}
};