fix resource type variable name

This commit is contained in:
Enrico Ottonello 2020-03-31 11:10:41 +02:00
parent d52ad32f68
commit a005328dfe
1 changed files with 6 additions and 20 deletions

View File

@ -6,8 +6,7 @@ PREFIX onto: <http://www.ontotext.com/>
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
PREFIX time: <http://www.w3.org/2006/time#>
CONSTRUCT {
?record aoprop:resourcetype "AriadneCatalogEntry" .
CONSTRUCT {
?record aoprop:identifier ?record .
?record aoprop:originalId ?originalId .
?record aoprop:issued ?issued .
@ -52,10 +51,7 @@ CONSTRUCT {
?record aoprop:nativeSubject ?nativeSubject .
?nativeSubject aoprop:prefLabel ?nativeSubjectPrefLabel .
?nativeSubject aoprop:rdfAbout ?nativeSubject .
?nativeSubject aoprop:aatExactSubjectsId ?aatExactSubjectsId .
?nativeSubject aoprop:aatCloseSubjectsId ?aatCloseSubjectsId .
?nativeSubject aoprop:aatBroadSubjectsId ?aatBroadSubjectsId .
?nativeSubject aoprop:aatNarrowSubjectsId ?aatNarrowSubjectsId .
?nativeSubject aoprop:aatSubjectsId ?aatSubjectsId .
?record aoprop:title ?title .
?record aoprop:description ?description .
?record aoprop:language ?language .
@ -63,7 +59,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::271>
from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::420_event>
where {
?record aocat:has_language / skos:prefLabel ?language .
?record aocat:has_original_id ?originalId .
@ -71,26 +67,18 @@ where {
?record aocat:has_creator ?creator .
?creator aocat:has_name ?creatorName .
?record aocat:has_title ?title .
?record aocat:has_type / skos:prefLabel ?resourceType .
optional {
?creator aocat:has_email ?creatorEmail .
}
optional {
?collection aocat:has_type / skos:prefLabel ?type .
}
optional {
?record aocat:has_native_subject ?nativeSubject .
?nativeSubject skos:prefLabel ?nativeSubjectPrefLabel .
optional {
?nativeSubject skos:exactMatch ?aatExactSubjectsId .
?nativeSubject skos:exactMatch ?aatSubjectsId .
}
optional {
?nativeSubject skos:closeMatch ?aatCloseSubjectsId .
}
optional {
?nativeSubject skos:broadMatch ?aatBroadSubjectsId .
}
optional {
?nativeSubject skos:narrowMatch ?aatNarrowSubjectsId .
?nativeSubject skos:closeMatch ?aatSubjectsId .
}
}
optional {
@ -105,8 +93,6 @@ 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 .