{"id":20950406,"url":"https://github.com/atomgraph/web-node","last_synced_at":"2025-07-14T04:33:32.862Z","repository":{"id":147849306,"uuid":"67079053","full_name":"AtomGraph/Web-Node","owner":"AtomGraph","description":"Includes both the Processor/Server and the Web-Client","archived":false,"fork":false,"pushed_at":"2020-02-08T10:05:04.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-13T05:19:04.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AtomGraph.png","metadata":{"files":{"readme":"README.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-31T22:49:46.000Z","updated_at":"2019-01-09T17:33:25.000Z","dependencies_parsed_at":"2023-05-27T17:00:13.069Z","dependency_job_id":null,"html_url":"https://github.com/AtomGraph/Web-Node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AtomGraph/Web-Node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomGraph%2FWeb-Node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomGraph%2FWeb-Node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomGraph%2FWeb-Node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomGraph%2FWeb-Node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AtomGraph","download_url":"https://codeload.github.com/AtomGraph/Web-Node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomGraph%2FWeb-Node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265240179,"owners_count":23732956,"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-11-19T00:48:24.280Z","updated_at":"2025-07-14T04:33:32.823Z","avatar_url":"https://github.com/AtomGraph.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web-Node\nIncludes both the Processor/Server and the Web-Client\n\nNodes can manage each others RDF data in a distributed way, using [LDT hypermedia](https://atomgraph.github.io/Linked-Data-Templates/#hypermedia) as the read-write Linked Data protocol.\nWeb-Node processes LDT ontologies and serves/accepts RDF data as the [Processor](../../../Processor), but also renders that data, as well RDF data from external sources, as the [Web-Client](../../../Web-Client) does.\n\n![AtomGraph Web-Node architecture](../../raw/master/architecture.png)\n\nUsage\n=====\n\nDocker\n------\n\nProcessor is available from Docker Hub as [`atomgraph/web-node](https://hub.docker.com/r/atomgraph/web-node/) image.\nIt accepts the following environment variables (that become webapp context parameters):\n\n\u003cdl\u003e\n    \u003cdt\u003e\u003ccode\u003eENDPOINT\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003e\u003ca href=\"https://www.w3.org/TR/sparql11-protocol/\"\u003eSPARQL 1.1 Protocol\u003c/a\u003e endpoint\u003c/dd\u003e\n    \u003cdd\u003eURI\u003c/dd\u003e\n    \u003cdt\u003e\u003ccode\u003eGRAPH_STORE\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003e\u003ca href=\"https://www.w3.org/TR/sparql11-http-rdf-update/\"\u003eSPARQL 1.1 Graph Store Protocol\u003c/a\u003e endpoint\u003c/dd\u003e\n    \u003cdd\u003eURI\u003c/dd\u003e\n    \u003cdt\u003e\u003ccode\u003eONTOLOGY\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003e\u003ca href=\"https://atomgraph.github.io/Linked-Data-Templates/\"\u003eLinked Data Templates\u003c/a\u003e ontology\u003c/dd\u003e\n    \u003cdd\u003eURI\u003c/dd\u003e\n    \u003cdt\u003e\u003ccode\u003eAUTH_USER\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003eSPARQL service HTTP Basic auth username\u003c/dd\u003e\n    \u003cdd\u003estring, optional\u003c/dd\u003e\n    \u003cdt\u003e\u003ccode\u003eAUTH_PWD\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003eSPARQL service HTTP Basic auth password\u003c/dd\u003e\n    \u003cdd\u003estring, optional\u003c/dd\u003e\n    \u003cdt\u003e\u003ccode\u003ePREEMPTIVE_AUTH\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003euse premptive HTTP Basic auth?\u003c/dd\u003e\n    \u003cdd\u003e\u003ccode\u003etrue\u003c/code\u003e/\u003ccode\u003efalse\u003c/code\u003e, optional\u003c/dd\u003e\n    \u003cdt\u003e\u003ccode\u003eSTYLESHEET\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003eCustom XSLT stylesheet\u003c/dd\u003e\n    \u003cdd\u003eURI, optional\u003c/dd\u003e\n    \u003cdt\u003e\u003ccode\u003eRESOLVING_UNCACHED\u003c/code\u003e\u003c/dt\u003e\n    \u003cdd\u003eIf \u003ccode\u003etrue\u003c/code\u003e, the stylesheet will attempt to load RDF resources by dereferencing URIs in the main data to improve the UX\u003c/dd\u003e\n    \u003cdd\u003e\u003ccode\u003etrue\u003c/code\u003e/\u003ccode\u003efalse\u003c/code\u003e, optional\u003c/dd\u003e\n\u003c/dl\u003e\n\nIf you want to have your ontologies read from a local file rather than their URIs, you can define a custom [location mapping](https://jena.apache.org/documentation/notes/file-manager.html#the-locationmapper-configuration-file) that will be appended to the system location mapping.\nThe mapping has to be a file in N3 format and mounted to the `/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/custom-mapping.n3` path. Validate the file syntax beforehand to avoid errors.\n\nTo enable logging, mount `log4j.properties` file to `/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/log4j.properties`.\n\nRun the container with Wikidata's example like this (replace `//c/Users/namedgraph/WebRoot/...` paths with your own; the paths have to be _absolute_):\n\n    docker run \\\n        -p 8080:8080 \\\n        -e ENDPOINT=\"https://query.wikidata.org/bigdata/namespace/wdq/sparql\" \\\n        -e GRAPH_STORE=\"https://query.wikidata.org/bigdata/namespace/wdq/service\" \\\n        -e ONTOLOGY=\"https://github.com/AtomGraph/Processor/blob/develop/examples/wikidata#\" \\\n        -v \"//c/Users/namedgraph/WebRoot/Web-Node/src/main/resources/log4j.properties\":\"/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/log4j.properties\" \\\n        -v \"//c/Users/namedgraph/WebRoot/Processor/examples/wikidata.ttl\":\"/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/org/wikidata/ldt.ttl\" \\\n        -v \"//c/Users/namedgraph/WebRoot/Processor/examples/location-mapping.n3\":\"/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/custom-mapping.n3\" \\\n        atomgraph/processor\n\nAfter that, access http://localhost:8080/birthdays?limit=10 and you will retrieve RDF data with 10 people (or \"entities\") that have a birthday today.\n\nMaven\n-----\n\nWeb-Node will be released on Maven central when it reaches the 2.1 version.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomgraph%2Fweb-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomgraph%2Fweb-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomgraph%2Fweb-node/lists"}