diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/check_missing_mandatory_coll_fields.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/check_missing_mandatory_coll_fields.sparql new file mode 100644 index 0000000..ab8e6f4 --- /dev/null +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/check_missing_mandatory_coll_fields.sparql @@ -0,0 +1,74 @@ +PREFIX skos: +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: + +SELECT * WHERE { + GRAPH ?g { + { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_access_rights ?o . + } + } + UNION { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_ARIADNE_subject ?ariadneSubject . + } + } + UNION { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_access_rights ?ar . + } + } + UNION { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_publisher ?agent . + } + } + UNION { + + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_owner ?agent . + } + } + UNION { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_responsible ?agent . + } + } + UNION{ + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_contributor ?agent . + } + } + UNION{ + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:was_issued ?agent . + } + } + UNION{ + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:was_modified ?agent . + } + } +} + FILTER(?g != ) +} \ No newline at end of file