fix for aat and temporal informations
This commit is contained in:
parent
385afcaaac
commit
201f02eb9d
|
@ -78,4 +78,79 @@ WHERE {
|
||||||
?nativeLabel skos:prefLabel ?origTemporalNativePeriodName .
|
?nativeLabel skos:prefLabel ?origTemporalNativePeriodName .
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::pp::aatplus> {
|
||||||
|
?record aocat:has_derived_subject ?aat_subject .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::pp::aat>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::pp::fieldworks>
|
||||||
|
WHERE {
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:exactMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:broadMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:closeMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
|
union
|
||||||
|
{
|
||||||
|
?record aocat:has_native_subject ?native_subject .
|
||||||
|
?aat_native_subject skos:narrowMatch ?aat_subject .
|
||||||
|
bind (IRI(replace( str(?aat_native_subject), "PP", "University%20of%20Patras")) as ?patched_aat_native_subject)
|
||||||
|
filter(?native_subject=?patched_aat_native_subject)
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX time: <http://www.w3.org/2006/time#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::pp::periodoplus> {
|
||||||
|
?temporal aocat:has_period ?native_period .
|
||||||
|
?temporal aocat:from ?from .
|
||||||
|
?temporal aocat:until ?until .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::pp::fieldworks> {
|
||||||
|
?temporal aocat:has_native_period ?native_period .
|
||||||
|
?native_period skos:prefLabel ?native_label .
|
||||||
|
?temporal aocat:from ?from .
|
||||||
|
?temporal aocat:until ?until .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX time: <http://www.w3.org/2006/time#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::pp::periodo> {
|
||||||
|
?native_period skos:prefLabel ?native_label .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::pp::fieldworks> {
|
||||||
|
?temporal aocat:has_native_period ?native_period .
|
||||||
|
?native_period skos:prefLabel ?native_label .
|
||||||
|
?temporal aocat:from ?from .
|
||||||
|
?temporal aocat:until ?until .
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in New Issue