{"repo":"logseq/rdf-export","free":true,"listed":false,"github":"https://github.com/logseq/rdf-export","clone":"git clone https://github.com/logseq/rdf-export.git","description":"Export a logseq graph to RDF","language":"Clojure","stars":44,"topics":["github-actions","logseq","nbb","rdf"],"license":"MIT","category":"cli-tools","readme_excerpt":"Description This is a github action to export a configurable portion of a Logseq graph to RDF. Some basic validation is also done on the exported rdf file. This action can also be run as a CLI. Usage Setup By default, this action is configured to export the portion of your Logseq graph that: has class pages with properties type:: [[Class]] has property pages with properties type:: [[Property]] has pages with properties type:: [[X]] where X are pages with type:: [[Class]] For an example of such a graph, see https://github.com/logseq/docs. If you would like to organize your graph differently, you can configure it. Github Action To setup this action, add the file .github/workflows/ci.yml to your graph's github repository with the following content: That's it! This job will then run on future git pushes and build RDF files from your graph. NOTE: The above example defaults to picking up new changes. If you'd prefer to stay on a stable version use the format logseq/rdf-export@VERSION e.g. logseq/rdf-export@v0.1.0 . See CHANGELOG.md for released versions. Action Inputs This action can take inputs e.g.: This action has the following inputs: rdfFile Required: Name of the exported rdf file. Defaults to test.ttl . directory Optional: The directory of the graph to rdf. Defaults to . . Use with other actions Since this action produces a valid RDF file, it is easy to save this file for later usage using upload-artifact: CLI To use this as a CLI locally, first install babashka and clojure. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/logseq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/logseq/rdf-export/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}