enrichment queries: INP RAN (sites) fixed for period and new queries for CYI corpus
This commit is contained in:
parent
354c8e50fd
commit
4648f4be94
|
@ -0,0 +1,166 @@
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
|
||||||
|
?record aocat:has_creator ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?collection aocat:has_creator ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_creator ?rec_value .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
|
||||||
|
?record aocat:has_contributor ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?collection aocat:has_contributor ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_contributor ?rec_value .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
|
||||||
|
?record aocat:has_responsible ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?collection aocat:has_responsible ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_responsible ?rec_value .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
|
||||||
|
?record aocat:has_owner ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?collection aocat:has_owner ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_owner ?rec_value .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX ariadneplus: <https://ariadne-infrastructure.eu/aocat/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
|
||||||
|
?record aocat:has_publisher ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::coll>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:is_part_of ?collection .
|
||||||
|
?collection aocat:has_publisher ?coll_value .
|
||||||
|
?coll_value rdf:type ?type .
|
||||||
|
?coll_value rdfs:label ?label .
|
||||||
|
?coll_value aocat:has_name ?name .
|
||||||
|
?coll_value aocat:has_homepage ?homepage .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_publisher ?rec_value .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus> {
|
||||||
|
?record aocat:has_original_id ?lpLabel .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
|
||||||
|
WHERE {
|
||||||
|
?record aocat:has_landing_page ?lp .
|
||||||
|
?lp rdfs:label ?lpLabel .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_original_id ?x .
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
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::cyi_inscriptions::corpus> {
|
||||||
|
?record aocat:has_original_id "not available" .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
USING <https://ariadne-infrastructure.eu/api_________::ariadne_plus::cyi_inscriptions::corpus>
|
||||||
|
WHERE {
|
||||||
|
?record rdf:type aocat:AO_Individual_Data_Resource .
|
||||||
|
MINUS {
|
||||||
|
?record aocat:has_original_id ?x .
|
||||||
|
}
|
||||||
|
};
|
|
@ -142,40 +142,32 @@ PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
?derivedSubject skos:prefLabel ?label .
|
?derivedSubject skos:prefLabel ?label .
|
||||||
};
|
};
|
||||||
|
|
||||||
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/>
|
|
||||||
PREFIX time: <http://www.w3.org/2006/time#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
INSERT {
|
INSERT {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodoplus> {
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodoplus> {
|
||||||
?temporal aocat:has_period ?native_period .
|
?temporal aocat:has_period ?periodOURI .
|
||||||
?temporal aocat:from ?from .
|
?temporal aocat:from ?temporalFrom .
|
||||||
?temporal aocat:until ?until .
|
?temporal aocat:until ?temporalUntil .
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WHERE {
|
WHERE {
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
|
||||||
?temporal aocat:has_native_period ?native_period .
|
?temporal aocat:has_period ?periodOURI .
|
||||||
?native_period rdfs:label|skos:prefLabel ?native_label .
|
?temporal aocat:from ?temporalFrom .
|
||||||
?temporal aocat:from ?from .
|
?temporal aocat:until ?temporalUntil .
|
||||||
?temporal aocat:until ?until .
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
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/>
|
INSERT {
|
||||||
PREFIX time: <http://www.w3.org/2006/time#>
|
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodo> {
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
?periodOURI skos:prefLabel ?periodLabel .
|
||||||
INSERT {
|
}
|
||||||
GRAPH <https://ariadne-infrastructure.eu/ariadneplus::inp::periodo> {
|
}
|
||||||
?native_period skos:prefLabel ?native_label .
|
WHERE {
|
||||||
}
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
|
||||||
}
|
?temporal aocat:has_period ?periodOURI .
|
||||||
WHERE {
|
?periodOURI skos:prefLabel ?periodLabel .
|
||||||
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::inp::sites> {
|
}
|
||||||
?temporal aocat:has_native_period ?native_period .
|
};
|
||||||
?native_period rdfs:label|skos:prefLabel ?native_label .
|
|
||||||
?temporal aocat:from ?from .
|
|
||||||
?temporal aocat:until ?until .
|
|
||||||
}
|
|
||||||
};
|
|
Loading…
Reference in New Issue