diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/query.txt b/dnet-ariadneplus-graphdb-publisher/src/main/resources/query.txt
index 43f7da9..ea98be1 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/query.txt
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/query.txt
@@ -1,8 +1,10 @@
+
PREFIX aocat:
PREFIX rdfs:
PREFIX skos:
PREFIX mine:
PREFIX onto:
+PREFIX owl:
CONSTRUCT {
?record mine:resourcetype "AriadneCatalogEntry" .
@@ -18,7 +20,8 @@ CONSTRUCT {
?record mine:resourceType ?resourceType .
?record mine:modified ?modified .
?record mine:nativeSubject ?natSub .
-?natSub a mine:NativeSubject .
+?natSub a mine:NativeSubject .
+#?natSub mine:prefLabel ?nativeSbj .
?natSub mine:aat ?aat .
?aat mine:aatLabel ?aatLabel .
?spatial a mine:Spatial .
@@ -47,11 +50,10 @@ CONSTRUCT {
?record mine:language ?language .
?record mine:partOf ?collection .
}
-from named
-from named
+from
+from
#from onto:explain
where {
- graph ?g {
#mandatory statements in our model, to be added in all datasources
#?record aocat:has_title ?title ;
# aocat:has_access_rights ?accessRights ;
@@ -70,6 +72,10 @@ where {
?record aocat:has_native_subject ?natSub .
?natSub skos:prefLabel ?nativeSbj .
}
+ union {
+ ?natSub owl:sameAs ?aat .
+ ?aat skos:prefLabel ?aatLabel
+ }
union
{
?record aocat:has_creator / aocat:has_name ?contributorName .
@@ -172,14 +178,6 @@ where {
BIND("organization" as ?contributorType) .
BIND("organization" as ?publisherType) .
-
- filter (contains(str(?g),"ads::idCollection"))
- }
-
- graph {
- optional {
- ?natSub skos:exactMatch ?aat .
- ?aat skos:prefLabel ?aatLabel
- }
- }
}
+
+