{"id":13557921,"url":"https://github.com/linkeddata/swap","last_synced_at":"2025-04-03T12:31:30.035Z","repository":{"id":21101250,"uuid":"24401619","full_name":"linkeddata/swap","owner":"linkeddata","description":"The Semantic Web Application Platform:  cwm  etc","archived":false,"fork":false,"pushed_at":"2024-01-10T21:46:46.000Z","size":56421,"stargazers_count":34,"open_issues_count":3,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-04T08:36:55.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linkeddata.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-09-24T05:15:16.000Z","updated_at":"2024-05-18T19:07:05.000Z","dependencies_parsed_at":"2024-01-10T22:55:21.263Z","dependency_job_id":null,"html_url":"https://github.com/linkeddata/swap","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkeddata%2Fswap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkeddata%2Fswap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkeddata%2Fswap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkeddata%2Fswap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkeddata","download_url":"https://codeload.github.com/linkeddata/swap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247002345,"owners_count":20867447,"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":[],"created_at":"2024-08-01T12:04:37.414Z","updated_at":"2025-04-03T12:31:25.028Z","avatar_url":"https://github.com/linkeddata.png","language":"Python","funding_links":[],"categories":["Python","others"],"sub_categories":[],"readme":"$Id$\n\nCwm is a general-purpose data processor for the semantic  \nweb, somewhat like sed, awk, etc. for text files or XSLT for XML. \nIt is a forward chaining reasoner which can be used for querying, \nchecking, transforming and filtering information. Its core \nlanguage is RDF, extended to include rules, and it uses RDF/XML \nor RDF/N3 (see Notation3 Primer) serializations as required.\n\nTo find out more about Cwm, visit \n http://www.w3.org/2000/10/swap/doc/cwm\n\n== Getting Started ==\n\nUnpack this tarball in a useful place. cd to that directory and type:\n  cd test; make post-install\nat the command line. It should spend a while testing to make sure\nthe program is working.\n\nThe test files should give you a good idea of commands to get \nCwm to work. \n\nIf you run ./setup.py install, it will install cwm. Other possibilities \nare evident from running ./setup.py --help-commands\n\nIf a test fails: There are three possiblilities:\n\t1. Your Python setup is borked / sufficiently different from the\n\t\tone used in development. This is a distinct possiblility.\n\t\tIt is also possibly a bug in our code, if your we should \n\t\tin fact be supporting you platform. \n\t2. You tarball was corrupted / not generated properly. This is \n\t\talso a distinct possiblility. The latter case is a bug.\n\t3. We knowingly published a version of Cwm that failed our own tests.\n\t\tThis is highly unlikely.\n\n\n== What's New In this Release (1.2.0) ==\nFor a complete list of changes, look at doc/changes.html\n\nRelease 1.2.0\n== Proof updates\n  Putting --why at the end of a command line will generate a proof,\nand has had much debugging.\n\n== General bugfixes.\n\n\nRelease 1.1.0 (never released)\n\n==Performance Improvements\n    * Cwm now uses Python Sets instead of lists to store many things\n    * Speed improvements to some tests are orders of magnitude\n    * Output is not as stable as it once was\n\n==Python 2.3 or later now required\nUsed for Sets\n\n==Experimental SPARQL Server support\nCwm can now run as a SPARQL server. This includes:\n    * A preview cwm --sparqlServer, which runs a server on port 8000\n    * cwm --sparql=, which behaves like --query=\n    * builtins for doing sparql queries from within n3.\n\n==RDF/XML serialization fixes\nA few strange bugs in rdf:xml serialization, many related to the rdf: prefix or xml: prefix, have been fixed\n\n==delta exit statuses\ndelta now returns with similar exit statuses as the diff utility for plaintext files. An exit status of 0 means no differences between the from and to graphs were found. An exit status of 1 means some differences were found. An exit status of 2 means differences were not computed for some reason.\n\nRelease 1.0.0\n\n==General bugfixes\nFixes in decimal support\nA bug introduced into 0.8.0 where cwm crashed if no input files were specified has been fixed\n\n==delta and cwm --patch\ndiff.py is renamed delta.py to avoid confusion with diff(1).\ndelta.py now will make a difference file even in cases where nodes cannot be be uniquely identified (from [inverse] function properties) but can be uniquely identified in the context of the graph. So, delta.py can generate weak deltas rather than strong ones under these circumstances.\nBug fix to cwm's --patch function.\n\n==RDF/XML support changes\ncwm's rdf/xml output will now output any file that can be outputted in xml 1.0. Failing that, it will output it in xml 1.1. Failing that, it will throw an exception. The previous behavior of generating empty tags was a bug.\nCwm will throw an excpetion if told to output rdf/xml for a file that uses literals as subjects\nTests have been added for rdflib. It is now supported to a degree.\nCwm now successfully fails to parse all but four of the rdf negative parser tests\n\n==Performance improvements\nPerformance work has resulted in some tasks taking 1/10 the time that they used to. Much more work is planned in this regard.\n\n==Packaging\nCwm now uses python's distutils for distribution. This allows for installation of cwm. As an added bonus, there are now rpm's, windows installers\n.\n==Flatten support\n--flatten and --unflatten have been rewritten, replacing the old --flat. Flatten minimally reifies an n3 file to make it an rdf graph. Note that the graph may still fail to serialize as rdf, due to literals as subjects\n\n==Other\nA crude hack in WebAccess.py allows a local file system to be used instead of a given website. The intent is to clean this up in the future.\nThere has been much work on a grammar for n3. grammar/n3.n3 is the grammar, grammar/predictiveParser.n3 can understand it. \n\n\n\n== Submitting Bugs ==\n\nCwm is very much a work in progress and has many bugs. \nSome of them we already know about. Cwm bugs are tracked\non the public Cwm bug mail list, \nhttp://lists.w3.org/Archives/Public/public-cwm-bugs/ . Submit\nany bugs you find there, assuming they have not already been\nsubmitted. Reply to a previous bug report if you have something\nto add. \n\n== License ==\n\ncwm is open source. Share and Enjoy.\nFor details, see the attached files, LICENSE.n3 and LICENSE\n\n== Contributors ==\nTim Berners-Lee\nDan Connolly\nSean Palmer\nMark Nottingham\nEric Prud'hommeaux\nSandro Hawke\nDan Brickley\nKarl Dubost\nYosi Scharf\n\nDevelopment of cwm is supported in part by funding \nfrom US Defense Advanced Research Projects Agency \n(DARPA) and Air Force Research Laboratory, Air \nForce Materiel Command, USAF, under agreement \nnumber F30602-00-2-0593, \"Semantic Web Development\".\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkeddata%2Fswap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkeddata%2Fswap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkeddata%2Fswap/lists"}