added narrow and broad for aat match

This commit is contained in:
Enrico Ottonello 2020-03-20 17:46:55 +01:00
parent 7ae6d400b6
commit d52ad32f68
1 changed files with 15 additions and 4 deletions

View File

@ -52,7 +52,10 @@ CONSTRUCT {
?record aoprop:nativeSubject ?nativeSubject .
?nativeSubject aoprop:prefLabel ?nativeSubjectPrefLabel .
?nativeSubject aoprop:rdfAbout ?nativeSubject .
?nativeSubject aoprop:aatSubjectsId ?aatSubjectsId .
?nativeSubject aoprop:aatExactSubjectsId ?aatExactSubjectsId .
?nativeSubject aoprop:aatCloseSubjectsId ?aatCloseSubjectsId .
?nativeSubject aoprop:aatBroadSubjectsId ?aatBroadSubjectsId .
?nativeSubject aoprop:aatNarrowSubjectsId ?aatNarrowSubjectsId .
?record aoprop:title ?title .
?record aoprop:description ?description .
?record aoprop:language ?language .
@ -60,7 +63,7 @@ CONSTRUCT {
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::aat>
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::periodo>
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::periodO-En-UK>
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::420_event>
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::271>
where {
?record aocat:has_language / skos:prefLabel ?language .
?record aocat:has_original_id ?originalId .
@ -78,10 +81,16 @@ where {
?record aocat:has_native_subject ?nativeSubject .
?nativeSubject skos:prefLabel ?nativeSubjectPrefLabel .
optional {
?nativeSubject skos:exactMatch ?aatSubjectsId .
?nativeSubject skos:exactMatch ?aatExactSubjectsId .
}
optional {
?nativeSubject skos:closeMatch ?aatSubjectsId .
?nativeSubject skos:closeMatch ?aatCloseSubjectsId .
}
optional {
?nativeSubject skos:broadMatch ?aatBroadSubjectsId .
}
optional {
?nativeSubject skos:narrowMatch ?aatNarrowSubjectsId .
}
}
optional {
@ -96,6 +105,8 @@ where {
optional {
?record aocat:has_temporal_coverage ?temporal .
?temporal aocat:has_period / rdfs:label ?temporalPeriodName .
?temporal aocat:has_period / aocat:from ?temporalFrom .
?temporal aocat:has_period / aocat:until ?temporalUntil .
}
optional {
?record aocat:has_temporal_coverage ?temporal .