SPARQL INSERT for HNM
This commit is contained in:
parent
12c80713d7
commit
be31a772a1
|
@ -6,7 +6,7 @@ INSERT {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::hnm::hnmad> {
|
||||||
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
|
?s aocat:has_type <https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> .
|
||||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> rdf:type <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/AO_Concept> .
|
||||||
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "collection"
|
<https://ariadne-infrastructure.eu/aocat/Concept/AO_Type/collection> skos:prefLabel "Dataset Collection"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WHERE {
|
WHERE {
|
||||||
|
@ -102,6 +102,18 @@ INSERT {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::hnm::periodo> {
|
||||||
|
?periodO ?pred ?o .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
|
||||||
|
?periodO dcterms:spatial <http://www.wikidata.org/entity/Q28> .
|
||||||
|
?periodO ?pred ?o .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
@ -119,9 +131,8 @@ INSERT {
|
||||||
?temporal aocat:has_native_period ?native_period .
|
?temporal aocat:has_native_period ?native_period .
|
||||||
?native_period skos:prefLabel ?native_label .
|
?native_period skos:prefLabel ?native_label .
|
||||||
optional {
|
optional {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/ariadne/periodo> {
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::hnm::periodo> {
|
||||||
?periodO skos:altLabel ?native_label .
|
?periodO skos:altLabel ?native_label .
|
||||||
?periodO dcterms:spatial <http://www.wikidata.org/entity/Q28> .
|
|
||||||
?periodO time:intervalStartedBy ?intervalStartedBy .
|
?periodO time:intervalStartedBy ?intervalStartedBy .
|
||||||
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
?intervalStartedBy skos:prefLabel ?temporalFrom .
|
||||||
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
?periodO time:intervalFinishedBy ?intervalFinishedBy .
|
||||||
|
@ -129,4 +140,4 @@ INSERT {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue