PREFIX aocat:
PREFIX skos:
PREFIX ariadneplus:
INSERT {
GRAPH {
?record aocat:has_responsible ?legalResponsible .
?record aocat:has_owner ?owner .
?record aocat:has_publisher ?publisher .
}
}
USING
USING
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_responsible ?legalResponsible .
?collection aocat:has_owner ?owner .
?collection aocat:has_publisher ?publisher .
};
PREFIX aocat:
PREFIX skos:
PREFIX ariadneplus:
INSERT {
GRAPH {
?record aocat:has_ARIADNE_subject ?coll_value .
}
}
USING
USING
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:has_ARIADNE_subject ?coll_value .
MINUS {
?record aocat:has_ARIADNE_subject ?rec_value .
}
};
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_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_issued ?issued .
}
};
PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
PREFIX skos:
INSERT {
GRAPH {
?s aocat:has_type .
rdf:type .
skos:prefLabel "provided record"
}
}
WHERE {
GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_type ?t .
}
}
};
PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
?s aocat:has_spatial_coverage .
rdf:type .
rdfs:label "Name not provided" .
aocat:has_place_name "Name not provided" .
}
}
WHERE {
GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_spatial_coverage ?spatialRegion .
?spatialRegion aocat:has_place_name ?placeName .
}
}
};
PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
?s aocat:has_contributor .
rdf:type .
rdfs:label "Not provided" .
aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_contributor ?agent .
}
}
};
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
?s aocat:was_modified ?issued .
}
}
USING
WHERE {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
?s aocat:was_issued ?issued .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:was_created_on ?created_on .
?s aocat:was_issued ?issued .
?s aocat:was_modified ?modified .
}
};
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
INSERT {
GRAPH {
?isoLangRef skos:prefLabel ?lang .
}
}
WHERE {
GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?isoLangRef .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?isoLangRef .
?isoLangRef skos:prefLabel ?p .
}
bind (strafter(str(?isoLangRef),"iso639-1/") as ?lang)
}
};
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
INSERT {
GRAPH {
?s aocat:has_language .
skos:prefLabel "und" .
}
}
WHERE {
GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?ns .
}
}
};
PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
?c aocat:has_name ?l .
}
}
WHERE {
GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?c .
?c rdfs:label ?l .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?c .
?c aocat:has_name ?n .
}
}
};
PREFIX aocat:
PREFIX skos:
INSERT {
GRAPH {
?record aocat:has_derived_subject ?aat .
}
}
WHERE {
graph {
?record aocat:has_native_subject ?ns_label .
bind(strafter(str(?ns_label),"Match: ") as ?m)
filter(str(?m)=str(?aat_label))
}
graph {
{
?subject skos:broadMatch ?aat .
?aat skos:prefLabel ?aat_label .
}
union
{
?subject skos:exactMatch ?aat .
?aat skos:prefLabel ?aat_label .
}
union
{
?subject skos:closeMatch ?aat .
?aat skos:prefLabel ?aat_label .
}
union
{
?subject skos:narrowMatch ?aat .
?aat skos:prefLabel ?aat_label .
}
}
};
PREFIX skos:
PREFIX aocat:
PREFIX time:
PREFIX dcterms:
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 .
}
}
}
};