added native subject and temporal coverage generation from about section

This commit is contained in:
Enrico Ottonello 2020-10-05 16:45:17 +02:00
parent e0729986f8
commit 8612438e86
3 changed files with 92 additions and 0 deletions

View File

@ -104,6 +104,21 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1957> {
?s aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1957>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -122,6 +137,22 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1957> {
?s aocat:has_temporal_coverage ?t .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1957>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_time_interval ?t .
?t rdf:type aocat:AO_Temporal_Region .
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

View File

@ -45,6 +45,21 @@ WHERE {
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::397> {
?s aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::397>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
@ -65,6 +80,21 @@ WHERE {
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::397> {
?s aocat:has_temporal_coverage ?t .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::397>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_time_interval ?t .
?t rdf:type aocat:AO_Temporal_Region .
};
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::397> {
?s aocat:has_title "Title not provided" .

View File

@ -121,6 +121,21 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::836> {
?s aocat:has_native_subject ?ns .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::836>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_type ?ns .
?ns rdf:type aocat:AO_Concept .
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@ -139,6 +154,22 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::836> {
?s aocat:has_temporal_coverage ?t .
}
}
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::836>
WHERE {
?s aocat:is_about ?about .
?about aocat:has_time_interval ?t .
?t rdf:type aocat:AO_Temporal_Region .
};
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>