You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AriadnePlus/dnet-ariadneplus-graphdb-pu.../src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CYI/ordered_sparql_insert_CYI_i...

166 lines
6.5 KiB
SPARQL

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 .
}
};