fix has_name for creator, enriched with rdfs:label

This commit is contained in:
Enrico Ottonello 2021-01-31 18:12:31 +01:00
parent 18801c68cc
commit 95e4d672be
1 changed files with 21 additions and 0 deletions

View File

@ -165,6 +165,27 @@ 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#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::easy> {
?c aocat:has_name ?l .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::dans::easy> {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?c .
?c rdfs:label ?l .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?c .
?c aocat:has_name ?n .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {