{"id":21166392,"url":"https://github.com/eyereasoner/n32s","last_synced_at":"2026-01-05T15:06:16.073Z","repository":{"id":175862884,"uuid":"654596479","full_name":"eyereasoner/n32s","owner":"eyereasoner","description":"Notation3 (RDF Surfaces) to N3S precompiler","archived":false,"fork":false,"pushed_at":"2024-05-22T06:52:53.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-29T09:08:06.395Z","etag":null,"topics":["notation3","prolog","rdf"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eyereasoner.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-16T13:31:02.000Z","updated_at":"2024-05-22T06:52:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"029c3fa6-94f0-47d0-8d80-84d0eb43da8e","html_url":"https://github.com/eyereasoner/n32s","commit_stats":null,"previous_names":["eyereasoner/n32s"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyereasoner%2Fn32s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyereasoner%2Fn32s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyereasoner%2Fn32s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyereasoner%2Fn32s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eyereasoner","download_url":"https://codeload.github.com/eyereasoner/n32s/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245200676,"owners_count":20576673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notation3","prolog","rdf"],"created_at":"2024-11-20T14:49:48.502Z","updated_at":"2026-01-05T15:06:16.060Z","avatar_url":"https://github.com/eyereasoner.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# n32s\n\nThe n32s code is a precompiler from Notation3 (RDF Surfaces) to a N3S format that is used by Prolog reasoners such as [eye](https://github.com/eyereasoner/eye), [retina](https://github.com/eyereasoner/retina) and [Latar](https://github.com/MellonScholarlyCommunication/Latar).\n\n## Dependency\n\nNeed node version \u003e= 18.\n\nNeed N3.js version 2.0.0\n\n```\ngit clone git@github.com:rdfjs/N3.js.git\ngit fetch --all\ngit checkout versions/2.0.0\ncd N3.js\nyarn \nyarn link\n```\n\n## Installation\n\n```\nyarn install\nyarn link n3\nyarn build\n```\n\n## Usage\n\n```\nnode js/index.js \u003cn3-file\u003e\n```\n\n## Example\n\n```\n$ cat demo.n3\n@prefix : \u003curn:example.org:\u003e .\n@prefix log: \u003chttp://www.w3.org/2000/10/swap/log#\u003e .\n\n:Alice a :Person .\n\n(_:X) log:onNegativeSurface {\n    _:X a :Person .\n    () log:onNegativeSurface {\n        _:X a :Human .\n    } .\n} .\n\n$ node js/index.js demo.n3\n'\u003chttp://www.w3.org/1999/02/22-rdf-syntax-ns#type\u003e'('\u003curn:example.org:Alice\u003e','\u003curn:example.org:Person\u003e').\n'\u003chttp://www.w3.org/2000/10/swap/log#onNegativeSurface\u003e'(['_:X'],('\u003chttp://www.w3.org/2000/10/swap/log#onNegativeSurface\u003e'([],('\u003chttp://www.w3.org/1999/02/22-rdf-syntax-ns#type\u003e'('_:X','\u003curn:example.org:Human\u003e'))),'\u003chttp://www.w3.org/1999/02/22-rdf-syntax-ns#type\u003e'('_:X','\u003curn:example.org:Person\u003e'))).\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyereasoner%2Fn32s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyereasoner%2Fn32s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyereasoner%2Fn32s/lists"}