diff --git a/internal/usecases/convertquery/aql.go b/internal/usecases/convertquery/aql.go
index 02c7811c4ca7aa8d340c2c5ca5f17c8dcea9e97e..312a529511e0db8e757b8bd7637982ee48e2a233 100644
--- a/internal/usecases/convertquery/aql.go
+++ b/internal/usecases/convertquery/aql.go
@@ -68,13 +68,13 @@ func createQuery(jsonQuery *parsedJSON) *string {
 			fromName := fmt.Sprintf("n%v", relation.EntityFrom)
 			ret += *createNodeLet(&jsonQuery.Entities[relation.EntityFrom], &fromName)
 
-			ret += *createRelationLetWithFromEntity(&relation, relationName, &jsonQuery.Entities)
+			ret += *createRelationLetWithFromEntity(&relation, relationName, &jsonQuery.Entities, jsonQuery.Limit)
 		} else if relation.EntityTo != -1 {
 			// if there is only a to-node
 			toName := fmt.Sprintf("n%v", relation.EntityTo)
 			ret += *createNodeLet(&jsonQuery.Entities[relation.EntityTo], &toName)
 
-			ret += *createRelationLetWithOnlyToEntity(&relation, relationName, &jsonQuery.Entities)
+			ret += *createRelationLetWithOnlyToEntity(&relation, relationName, &jsonQuery.Entities, jsonQuery.Limit)
 			// Add this relation to the list
 		} else {
 			fmt.Println("Relation-only queries are currently not supported")
@@ -151,7 +151,7 @@ entities is a list of entityStructs that are needed to form the relation LET-sta
 
 Return: a string containing a single LET-statement in AQL
 */
-func createRelationLetWithFromEntity(relation *relationStruct, name string, entities *[]entityStruct) *string {
+func createRelationLetWithFromEntity(relation *relationStruct, name string, entities *[]entityStruct, limit int) *string {
 	header := fmt.Sprintf("LET %v = (\n\tFOR x IN n%v \n", name, relation.EntityFrom)
 	forStatement := fmt.Sprintf("\tFOR v, e, p IN %v..%v OUTBOUND x %s \n", relation.Depth.Min, relation.Depth.Max, relation.Type)
 
@@ -172,7 +172,7 @@ func createRelationLetWithFromEntity(relation *relationStruct, name string, enti
 	}
 
 	relationFilterStmnt := *createConstraintStatements(&relation.Constraints, "p", true)
-	footer := "\tLIMIT 1000 \nRETURN DISTINCT p )\n"
+	footer := fmt.Sprintf("\tLIMIT %v \nRETURN DISTINCT p )\n", limit)
 
 	ret := header + forStatement + optionStmtn + vFilterStmnt + relationFilterStmnt + footer
 	return &ret
@@ -185,7 +185,7 @@ entities is a list of entityStructs that are needed to form the relation LET-sta
 
 Return: a string containing a single LET-statement in AQL
 */
-func createRelationLetWithOnlyToEntity(relation *relationStruct, name string, entities *[]entityStruct) *string {
+func createRelationLetWithOnlyToEntity(relation *relationStruct, name string, entities *[]entityStruct, limit int) *string {
 	header := fmt.Sprintf("LET %v = (\n\tFOR x IN n%v \n", name, relation.EntityTo)
 	forStatement := fmt.Sprintf("\tFOR v, e, p IN %v..%v INBOUND x %s \n", relation.Depth.Min, relation.Depth.Max, relation.Type)
 
@@ -194,7 +194,7 @@ func createRelationLetWithOnlyToEntity(relation *relationStruct, name string, en
 	optionStmtn := "\tOPTIONS { uniqueEdges: \"path\" }\n"
 
 	relationFilterStmnt := *createConstraintStatements(&relation.Constraints, "p", true)
-	footer := "\tLIMIT 1000 \nRETURN DISTINCT p )\n"
+	footer := fmt.Sprintf("\tLIMIT %v \nRETURN DISTINCT p )\n", limit)
 
 	ret := header + forStatement + optionStmtn + relationFilterStmnt + footer
 	return &ret
diff --git a/internal/usecases/convertquery/aqlStructs.go b/internal/usecases/convertquery/aqlStructs.go
index 208b889809e0d898fa4a93751016dc2ca8bfba7b..c9a042430588cc706503a59d8916476ea1ef26aa 100644
--- a/internal/usecases/convertquery/aqlStructs.go
+++ b/internal/usecases/convertquery/aqlStructs.go
@@ -14,6 +14,9 @@ type parsedJSON struct {
 	Return    returnStruct
 	Entities  []entityStruct
 	Relations []relationStruct
+
+	// Limit is for limiting the amount of paths AQL will return in a relation let statement
+	Limit int
 }
 
 // returnStruct holds the indices of the entities and relations that need to be returned