added optional fields for collection
This commit is contained in:
parent
e5d0fa5254
commit
0d44e18674
|
@ -11,6 +11,7 @@ CONSTRUCT {
|
||||||
%record aoprop:originalId ?originalId .
|
%record aoprop:originalId ?originalId .
|
||||||
%record aoprop:issued ?issued .
|
%record aoprop:issued ?issued .
|
||||||
%record aoprop:modified ?modified .
|
%record aoprop:modified ?modified .
|
||||||
|
%record aoprop:partOf ?partOf .
|
||||||
%record aoprop:creator ?creator .
|
%record aoprop:creator ?creator .
|
||||||
?creator aoprop:name ?creatorName .
|
?creator aoprop:name ?creatorName .
|
||||||
?creator aoprop:email ?creatorEmail .
|
?creator aoprop:email ?creatorEmail .
|
||||||
|
@ -44,6 +45,7 @@ CONSTRUCT {
|
||||||
?temporal aoprop:periodName ?temporalPeriodName .
|
?temporal aoprop:periodName ?temporalPeriodName .
|
||||||
?temporal aoprop:from ?temporalFrom .
|
?temporal aoprop:from ?temporalFrom .
|
||||||
?temporal aoprop:until ?temporalUntil .
|
?temporal aoprop:until ?temporalUntil .
|
||||||
|
?temporal aoprop:uri ?temporal .
|
||||||
%record aoprop:uri ?temporalNative .
|
%record aoprop:uri ?temporalNative .
|
||||||
?temporalNative aoprop:periodName ?temporalNativePeriodName .
|
?temporalNative aoprop:periodName ?temporalNativePeriodName .
|
||||||
%record aoprop:archeologicalResourceType ?archeologicalResourceType .
|
%record aoprop:archeologicalResourceType ?archeologicalResourceType .
|
||||||
|
@ -71,10 +73,21 @@ from <https://ariadne-infrastructure.eu/api_________::ariadne_plus::%datasource
|
||||||
where {
|
where {
|
||||||
%record aocat:has_language / skos:prefLabel ?language .
|
%record aocat:has_language / skos:prefLabel ?language .
|
||||||
%record aocat:has_original_id ?originalId .
|
%record aocat:has_original_id ?originalId .
|
||||||
|
optional {
|
||||||
|
%record aocat:is_part_of ?partOf .
|
||||||
|
}
|
||||||
%record aocat:has_creator ?creator .
|
%record aocat:has_creator ?creator .
|
||||||
?creator aocat:has_name ?creatorName .
|
?creator aocat:has_name ?creatorName .
|
||||||
%record aocat:has_title ?title .
|
%record aocat:has_title ?title .
|
||||||
%record aocat:has_type / skos:prefLabel ?resourceType .
|
%record aocat:has_type / skos:prefLabel ?resourceType .
|
||||||
|
optional {
|
||||||
|
%record aocat:has_native_subject ?nativeSubject .
|
||||||
|
?nativeSubject skos:prefLabel ?nativeSubjectPrefLabel .
|
||||||
|
}
|
||||||
|
optional {
|
||||||
|
%record aocat:has_derived_subject ?derivedSubject .
|
||||||
|
?derivedSubject skos:prefLabel ?derivedSubjectPrefLabel .
|
||||||
|
}
|
||||||
optional {
|
optional {
|
||||||
?creator aocat:has_email ?creatorEmail .
|
?creator aocat:has_email ?creatorEmail .
|
||||||
}
|
}
|
||||||
|
@ -87,6 +100,18 @@ where {
|
||||||
optional {
|
optional {
|
||||||
%record aocat:has_landing_page / rdfs:label ?landingPage .
|
%record aocat:has_landing_page / rdfs:label ?landingPage .
|
||||||
}
|
}
|
||||||
|
optional {
|
||||||
|
%record aocat:has_temporal_coverage ?temporalNative .
|
||||||
|
?temporalNative aocat:has_native_period / skos:prefLabel ?temporalNativePeriodName .
|
||||||
|
}
|
||||||
|
optional {
|
||||||
|
%record aocat:has_temporal_coverage ?temporal .
|
||||||
|
?temporal aocat:has_period / skos:prefLabel ?temporalPeriodName .
|
||||||
|
optional {
|
||||||
|
?temporal aocat:from ?temporalFrom .
|
||||||
|
?temporal aocat:until ?temporalUntil .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
select *
|
select *
|
||||||
|
|
Loading…
Reference in New Issue