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 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:
INSERT {
GRAPH {
?s aocat:has_original_id "DIME" .
}
}
WHERE {
GRAPH {
?s rdf:type .
MINUS {
?s rdf:type .
?s aocat:has_original_id ?tc .
}
}
};
PREFIX aocat:
PREFIX skos:
INSERT {
GRAPH {
?record aocat:was_issued ?issued .
?record aocat:was_modified ?modified .
?record aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?record aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?record aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?record aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?record aocat:has_access_rights ?accessRights .
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?alabel .
?record aocat:has_language ?lang .
?lang skos:prefLabel ?langL
}
}
USING
USING
WHERE {
?record aocat:is_part_of ?collection .
?collection aocat:was_issued ?issued .
?collection aocat:was_modified ?modified .
?collection aocat:has_contributor ?contributor .
?contributor aocat:has_name ?contrib .
?collection aocat:has_responsible ?legalResponsible .
?legalResponsible aocat:has_name ?resp .
?collection aocat:has_owner ?owner .
?owner aocat:has_name ?own .
?collection aocat:has_publisher ?publisher .
?publisher aocat:has_name ?pub .
?collection aocat:has_access_rights ?accessRights .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?alabel .
?collection aocat:has_language ?lang .
?lang skos:prefLabel ?langL
};
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
INSERT {
GRAPH {
?s aocat:has_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 .
}
}
};
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_period ?periodO .
optional {
GRAPH {
?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
}
}
}
};
PREFIX aocat:
PREFIX skos:
INSERT {
GRAPH {
?record aocat:has_derived_subject ?aat .
}
GRAPH {
?derivedSubject skos:prefLabel ?label .
}
}
USING
WHERE {
?record aocat:has_derived_subject ?aat .
?derivedSubject skos:prefLabel ?label .
};
PREFIX aocat:
PREFIX skos:
INSERT {
GRAPH {
?record aocat:has_derived_subject ?aat .
}
}
USING
USING
WHERE {
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:exactMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:broadMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:closeMatch ?aat .
}
union
{
?record aocat:has_native_subject ?native_subject .
?x owl:sameAs ?native_subject .
?x skos:narrowMatch ?aat .
}
};