diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/check_missing_mandatory_record_fields.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/check_missing_mandatory_record_fields.sparql
index 92423af..2390f28 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/check_missing_mandatory_record_fields.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/check_missing_mandatory_record_fields.sparql
@@ -3,7 +3,7 @@ PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
-SELECT DISTINCT ?g WHERE {
+SELECT DISTINCT ?s WHERE {
GRAPH ?g {
{
?s rdf:type .
@@ -17,6 +17,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type .
?s aocat:has_ARIADNE_subject ?ariadneSubject .
+ ?ariadneSubject skos:prefLabel ?archeologicalResourceTypeName .
}
}
UNION {
@@ -24,6 +25,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type .
?s aocat:has_publisher ?agent .
+ ?agent aocat:has_name ?agentName .
}
}
UNION {
@@ -31,6 +33,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type .
?s aocat:has_owner ?agent .
+ ?agent aocat:has_name ?agentName .
}
}
UNION {
@@ -38,6 +41,7 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type .
?s aocat:has_responsible ?agent .
+ ?agent aocat:has_name ?agentName .
}
}
UNION{
@@ -45,20 +49,21 @@ SELECT DISTINCT ?g WHERE {
MINUS {
?s rdf:type .
?s aocat:has_contributor ?agent .
+ ?agent aocat:has_name ?agentName .
}
}
UNION{
?s rdf:type .
MINUS {
?s rdf:type .
- ?s aocat:was_issued ?agent .
+ ?s aocat:was_issued ?date .
}
}
UNION{
?s rdf:type .
MINUS {
?s rdf:type .
- ?s aocat:was_modified ?agent .
+ ?s aocat:was_modified ?date .
}
}
UNION{