diff --git a/src/sparql/tree.ts b/src/sparql/tree.ts
index 0fe89a24cfe23c1b0f7b6d135bb0190fa8af2393..680064645d1b2139a83b1cc637b09baa81c4ba47 100644
--- a/src/sparql/tree.ts
+++ b/src/sparql/tree.ts
@@ -81,7 +81,8 @@ export const getTreeNodesFromParentNodeURI = async (parentNodeUri: string, auth?
     {
       context,
       auth,
-      frame
+      frame,
+      withoutContext: true
     }
   )
 }
@@ -140,7 +141,6 @@ export const getUrisBetweenHomeAndResource = async (
         VALUES ?p3 { dct:identifier rdf:type }
         VALUES ?p4 { dct:identifier rdf:type }
         ?child ?p ?o.
-        ?subchild dcat:dataset ?dataset.
         ?subchild ?p2 ?o2.
         ?dataset ?p3 ?o3.
         ?distribution ?p4 ?o4.
@@ -164,7 +164,6 @@ export const getUrisBetweenHomeAndResource = async (
         VALUES ?p2 { dct:identifier rdf:type }
         VALUES ?p3 { dct:identifier rdf:type }
         ?child ?p ?o.
-        ?subchild dcat:dataset ?dataset.
         ?subchild ?p2 ?o2.
         ?dataset ?p3 ?o3.
       `
@@ -197,7 +196,8 @@ export const getUrisBetweenHomeAndResource = async (
     `,
     {
       context,
-      auth
+      auth,
+      withoutContext: true
     }
   )
 }