From a5f324fc6af0098ddd01799142c34102d4e7e9c8 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 18 Jul 2023 17:16:03 +0300 Subject: Use size of the results set to come up with sparql example Signed-off-by: Munyoki Kilyungi --- dump/special-forms.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dump/special-forms.scm b/dump/special-forms.scm index 738c48c..88c2e82 100644 --- a/dump/special-forms.scm +++ b/dump/special-forms.scm @@ -498,8 +498,8 @@ The above query results to triples that have the form: (let ((n (truncate (+ (max (exact-integer-sqrt (length result))) 1)))) (if (< n 3) - (truncate (/ (length result) 2)) - n))))) + (length result) + n))))) (format #t "SELECT ?s ?p ?o WHERE { ~%") (for-each (match-lambda ((predicate . object) -- cgit v1.2.3