From d7fdf177b70d60f4f640d3a1cb96fb123072faa0 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 20 Jun 2023 13:08:04 +0200 Subject: [PATCH] Try to parse some files --- .../domaindrivenarchitecture/activity_pub_poc/core.clj | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/core.clj b/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/core.clj index bf01e0e..dfe702b 100644 --- a/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/core.clj +++ b/src/main/clj/org/domaindrivenarchitecture/activity_pub_poc/core.clj @@ -5,7 +5,7 @@ [clojure.spec.alpha :as s] [clojure.inspector :as ins] [hato.client :as hato] - [clojure.string :as str] + [clojure.string :as st] [clojure.walk :as walk])) (def team-url "https://social.meissa-gmbh.de/users/team") @@ -19,6 +19,14 @@ (def team (ap/GET team-url)) +(def resource-path "src/main/resources/") + +(def activitystreams-ttl (str resource-path "activitystreams_2.0_owl.ttl")) +(def rdf-schema-ttl (str resource-path "rdf_schema_1.1.ttl")) +(def example-ttl (str resource-path "example.ttl")) + +(parse/parse-turtle activitystreams-ttl) +(parse/parse-turtle example-ttl) ;;(ins/inspect-tree team-ld)