{"_id":"@comunica-graphql/sparql2graphql-converter","_rev":"11-e46a37c99c86eb46c65da305e23c8f03","name":"@comunica-graphql/sparql2graphql-converter","dist-tags":{"latest":"1.1.5"},"versions":{"1.0.0":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.0.0","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.0.0","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"af33d48a31139016f67a2c75c5a6f25742f86292","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.0.0.tgz","fileCount":12,"integrity":"sha512-Cg6CtmEk5y69v19hqCaKc5O08UTOgUxoWHMD0pjUqcCZvLOPf211WEgjwVkc1R4AWIVFZrVMbl456MxyzGs++Q==","signatures":[{"sig":"MEUCIQCC9Y0dtgVAAVuf2RnwCOJZTds3YPTlPhzqVEPC5Xt3cgIgLIQdGGCDB41x0pRVorIdZKkjLEI5BUH12kL7tlLxztw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36441},"main":"index.js","gitHead":"edcda7959c10123afc822dbbff8647338c150939","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"10.9.2","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"graphql":"^16.13.1","typescript":"^5.9.3","@rdfjs/types":"^2.0.1","@comunica/types":"^5.1.3","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^5.1.3"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.0.0_1772817460604_0.513844827973774","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.0.1","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.0.1","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"60eec9cfa731fa2a555d302930d5726f8d40bcdb","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.0.1.tgz","fileCount":12,"integrity":"sha512-TpWSnrc8VclKWiFEHg9eGPPYKW6qUBfMxk2Zt1Q6eug7I7MsCFegZLSSjHwF64PsaAqp9Sp4U7k4fIHhAEfkvA==","signatures":[{"sig":"MEUCIQDo6K+yai6NTTN7VZleN7Kf2ZaVnQ61XR8vUiql8cUJZwIgdELtubnagfUvV+/TJA3eATOBXQ6oMS5RSUKUKjDmFOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36441},"main":"index.js","gitHead":"56c328d6a9b1301432d251038a3dba1f02793502","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"10.9.2","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"graphql":"^16.13.1","typescript":"^5.9.3","@rdfjs/types":"^2.0.1","@comunica/types":"^5.1.3","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^5.1.3"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.0.1_1772817557572_0.25320320843014654","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.0.2","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.0.2","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"c5f186ee74b3c52b5c080b4edce353c88bbc8397","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.0.2.tgz","fileCount":28,"integrity":"sha512-no4VaW/Z/iunpwMx7o7LW8HYWoSxNPxGmhtmV8JKTdwVfvIbA11oeqDcE8FQm5uVENw3+J7LMQwaY89CCX2tmA==","signatures":[{"sig":"MEUCIFBJpjVqVY877Z6HBASNonJGFPhNhW//BJ5OwI4Zb658AiEA6KcdJ5PEt0OJ/WlgeepCsnSlGsNxWaDqlwkt9vctQrU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72794},"main":"build/index.js","types":"build/index.d.ts","gitHead":"08b5a2af941f0eadcb8b5e71d5ffde77f7ed1755","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"10.9.4","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"graphql":"^16.13.1","typescript":"^5.9.3","@rdfjs/types":"^2.0.1","@comunica/types":"^5.1.3","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^5.1.3"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.0.2_1773240694860_0.9021474988833735","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.0.3","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.0.3","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"6bb6ac08489b76c07828bbb1307a6f3bd6d3f673","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.0.3.tgz","fileCount":28,"integrity":"sha512-Lau6G9NRBVCpgakA3agN6JmJ/o6rLDyDtyZSw1i97DEsPzwP2mQ78T0c68gkj1cesNAIERK0tGKznKJk4qS2zw==","signatures":[{"sig":"MEYCIQDkmQKIr9/7gXcDVq+mEZEKmr/wXpe1RrjQTShttzkonQIhAL48XyPfJgpTgiGNf56mfctlq5PyVDL3VneodbBSBwUB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73139},"main":"build/index.js","types":"build/index.d.ts","gitHead":"08b5a2af941f0eadcb8b5e71d5ffde77f7ed1755","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"10.9.4","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"graphql":"^16.13.1","typescript":"^5.9.3","@rdfjs/types":"^2.0.1","@comunica/types":"^5.1.3","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^5.1.3"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.0.3_1773242711348_0.07788885740219631","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.0.4","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.0.4","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"70c4f1a1ff3f7c8cd4cef5d6c99f2e79e031007f","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.0.4.tgz","fileCount":36,"integrity":"sha512-0SqoW1CUqIQwBARPILJPcITVWHjrkPyg3uGArhzbXqY/mEExj9UgoRV/U3JUnCMnUcjq/kVi0Kmc7uCxfRRtSw==","signatures":[{"sig":"MEQCIDngAIUUo7EtPvAVhu2pMkpih7mgU2vC66uhEbqqZbv5AiBSRnlzgIiUqkVx81xHn+LAST/5xDGHxCCLJySnTK5qcQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133014},"main":"build/index.js","types":"build/index.d.ts","gitHead":"9ea8ca095e8ef31d7d15ebf88257d37a9d1ea896","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"10.9.4","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"graphql":"^16.13.1","@rdfjs/types":"^2.0.1","@comunica/types":"^4.2.0","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.0.4_1773246622282_0.3968214388577114","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.1.0","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.1.0","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"74d6e132c65199bf776c4cd14e41561fdaa9d1ac","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.1.0.tgz","fileCount":36,"integrity":"sha512-2TzrrlaawaMP9GNJZbpUaLq/TJWsMKlbKnPnap0WRb9I5FNbt2F0OgmR6YE59OZelMkttWfo7eILAl1YZTEwfw==","signatures":[{"sig":"MEQCIHEbJt5Xy2udPo+0iSSk3o/C8Z4PuHZPwAe0RF/PkzuvAiBQ2QyjUNUn5Gd9EGklWt7pJaEvXJiFa78UjLPB1kPt1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141634},"main":"build/index.js","types":"build/index.d.ts","gitHead":"5ead97ef8a1f201e10fb093788ed2906753a9266","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"11.11.0","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"25.8.1","dependencies":{"graphql":"^16.13.1","@rdfjs/types":"^2.0.1","@comunica/types":"^4.2.0","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.1.0_1773251169270_0.9665594831835296","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.1.1","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.1.1","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"72463a98d7c5194d5e153ff828d05fdc4005c440","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.1.1.tgz","fileCount":36,"integrity":"sha512-Cda5YG8VAn0OcVFxJ969xB0aAnIFl+yHVIgp6++U4+s+5l5ztFk/aSlVH9IpeSUDlElBTQqeRpURsqB9Qah7bw==","signatures":[{"sig":"MEUCICbFL+o18X+BGbDsZwUkQODc4iL3IkYhNk7+jtZpIIvsAiEA1geDARDTOSvaUSbsyfkPv9HqerqYYStpIlT8gD0N0m4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142010},"main":"build/index.js","types":"build/index.d.ts","gitHead":"fd64e923fff7dcfa7cb61adf1899212d4a3ce57c","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"11.11.0","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"25.8.1","dependencies":{"graphql":"^16.13.1","@rdfjs/types":"^2.0.1","@comunica/types":"^4.2.0","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.1.1_1773251451302_0.46000934286769657","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.1.2","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.1.2","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"cf1bc3e51f5736ecf453f7bdb154e155ae4dc50d","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.1.2.tgz","fileCount":37,"integrity":"sha512-ASjy19wu5QDhMFergEtG5UjZPBzMg+vANP7FOTjr/5KqH8nmT3XLk6z0ef0y1Ti5Sqkdfmp4PKOjSl+Yd29suQ==","signatures":[{"sig":"MEUCIQCflD0+q/qZFtyit0ylpMXovN5QBuy90bt8rZCpm/81XAIgPK+V8SabLg17/2ZN8BRfHySfTm3t3DzeIByDDqwidG0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143851},"main":"build/index.js","types":"build/index.d.ts","gitHead":"7ea9be23f207c6ea8a8850ca39f92a088b4e4c57","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"_npmVersion":"10.9.4","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"graphql":"^16.13.1","@rdfjs/types":"^2.0.1","@comunica/types":"^4.2.0","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.1.2_1774279206052_0.23639874516430281","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.1.3","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":{},"license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.1.3","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"07a8a14ced74e5119d7017bae0653792689d6fb3","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.1.3.tgz","fileCount":21,"integrity":"sha512-JVAXMMLOcuR/yxwU6KDbZepeY5xhERsR4aSu0D8U0ygl8NIs12jtN75GygBP8dyIri7hOWO9WBrqXIvq4+kyew==","signatures":[{"sig":"MEYCIQDHCX4EKrJmpg9EG0S/jKbbFemysWZ0NDIa6zIh/7wMRAIhAJt2YNk8aP5WoieuVdZhKVEgyRDXVCeiZ0VEYT6ClC0H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60761},"main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2026 Pol Nachtergaele\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"graphql":"^16.13.1","@rdfjs/types":"^2.0.1","@comunica/types":"^4.2.0","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.1.3_1776772279882_0.6959507155836275","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.1.4","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":{},"license":"ISC","_id":"@comunica-graphql/sparql2graphql-converter@1.1.4","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"dist":{"shasum":"78ffe3daa9c6db833cacce7561662a300bbded77","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.1.4.tgz","fileCount":33,"integrity":"sha512-iDHCXfcKDTYpyI8nL2+8/742mKtZPWbm2mznyQxnr8cHZ5YvXBkf22FHoE8MqX6dC24QXWBFJ3v+wg5ElltK0w==","signatures":[{"sig":"MEUCIC3mX4hsDCq+V4hvaoItBTutB+S1zHU+Rq8j6NK5W+SCAiEAij7HDge6gOF5BB63tCGdac9wm90HVlwFw54tY/IG/eQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110354},"main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"repository":{"url":"git+https://github.com/ponachte/sparql2graphql-converter.git","type":"git"},"description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2026 Pol Nachtergaele\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"graphql":"^16.13.1","@rdfjs/types":"^2.0.1","@comunica/types":"^4.2.0","sparqlalgebrajs":"^5.0.2","@comunica/utils-bindings-factory":"^4.2.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^25.3.3"},"_npmOperationalInternal":{"tmp":"tmp/sparql2graphql-converter_1.1.4_1776773759298_0.3725229697194803","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@comunica-graphql/sparql2graphql-converter","version":"1.1.5","description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"tsc","prepublishOnly":"yarn build"},"repository":{"type":"git","url":"git+https://github.com/ponachte/sparql2graphql-converter.git"},"keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"author":"","license":"ISC","bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","dependencies":{"@comunica/types":"^4.2.0","@comunica/utils-bindings-factory":"^4.2.0","@rdfjs/types":"^2.0.1","graphql":"^16.13.1","sparqlalgebrajs":"^5.0.2"},"devDependencies":{"@types/node":"^25.3.3","ts-node":"^10.9.2","typescript":"^5.9.3"},"_id":"@comunica-graphql/sparql2graphql-converter@1.1.5","gitHead":"79d1b86060908151d9b390bccaf2240d8659db7a","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-mNSpwfpxQYhVZmTuASkLH8qifLRJ/xqErjT3FX9Od0rVM5Ursgs7rK6Rj7MjZYxay5f4EZgGQ4L1zNUSUzPINg==","shasum":"8099b438ac6dce20452253e2fa80161e0a32fd6d","tarball":"https://registry.npmjs.org/@comunica-graphql/sparql2graphql-converter/-/sparql2graphql-converter-1.1.5.tgz","fileCount":27,"unpackedSize":110753,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDfqjmN0/0wlKlBEh77GmMotQO+JFgZr4sDWsjnFjDusQIgdXzlaoDAhX5+bqAfVMkoktKP6xvypONOagdgw3xo34s="}]},"_npmUser":{"name":"ponachte","email":"pol.nachtergaele@ugent.be"},"directories":{},"maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sparql2graphql-converter_1.1.5_1779175756038_0.6077059928697515"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-06T17:17:40.542Z","modified":"2026-05-19T07:29:16.611Z","1.0.0":"2026-03-06T17:17:40.761Z","1.0.1":"2026-03-06T17:19:17.719Z","1.0.2":"2026-03-11T14:51:35.053Z","1.0.3":"2026-03-11T15:25:11.499Z","1.0.4":"2026-03-11T16:30:22.466Z","1.1.0":"2026-03-11T17:46:09.416Z","1.1.1":"2026-03-11T17:50:51.447Z","1.1.2":"2026-03-23T15:20:06.173Z","1.1.3":"2026-04-21T11:51:20.034Z","1.1.4":"2026-04-21T12:15:59.445Z","1.1.5":"2026-05-19T07:29:16.193Z"},"bugs":{"url":"https://github.com/ponachte/sparql2graphql-converter/issues"},"license":"ISC","homepage":"https://github.com/ponachte/sparql2graphql-converter#readme","keywords":["sparql","graphql","rdf","query","converter","semantic-web"],"repository":{"type":"git","url":"git+https://github.com/ponachte/sparql2graphql-converter.git"},"description":"Convert SPARQL queries into GraphQL queries using a provided GraphQL schema and context.","maintainers":[{"name":"ponachte","email":"pol.nachtergaele@ugent.be"}],"readme":"# SPARQL to GraphQL Query Mapper\n\n[![npm](https://img.shields.io/npm/v/@comunica-graphql/sparql2graphql-converter.svg)](https://www.npmjs.com/package/@comunica-graphql/sparql2graphql-converter)\n\nA library that converts **SPARQL queries into GraphQL queries** using a GraphQL schema annotated with RDF metadata, and converts the **GraphQL response back into RDF bindings**.\n\nThis allows you to query RDF data through a **GraphQL API** while still working with **SPARQL-style queries and RDF terms** in your application.\n\nThe package performs two main tasks:\n\n1. **Query Mapping**\n   Converts a SPARQL `SELECT` query into a GraphQL query based on a schema.\n\n2. **Response Mapping**\n   Converts the resulting **GraphQL JSON response** back into RDF **bindings** compatible with RDFJS tools.\n\n# Features\n\n* Convert **SPARQL → GraphQL**\n* Convert **GraphQL responses → RDFJS bindings**\n* Supports **custom RDF predicates via schema annotations**\n* Supports **reverse predicates via schema annotations**\n\n# Installation\n\n```bash\nnpm install sparql2graphql-converter\n```\n\n# Concept Overview\n\nThe mapper uses a **GraphQL schema annotated with RDF metadata**.\n\nExample:\n\n```graphql\ntype Observation @class(iri: \"ex:Observation\") {\n  id: ID!\n  value: Int! @predicate(iri: \"ex:value\")\n  ex_unit: String!\n  atTime: DateTime! @predicate(iri: \"ex:timestamp\")\n  forSensor: ID! @predicate(iri: \"ex:hasObservation\", reverse: true)\n}\n```\n\nAnnotations define how GraphQL fields map to RDF:\n\n| Annotation      | Purpose                         |\n| --------------- | ------------------------------- |\n| `@class`        | maps GraphQL type → RDF class   |\n| `@predicate`    | maps field → RDF predicate      |\n| `reverse: true` | indicates reversed RDF relation |\n\n# Basic Usage\n\n## 1. Import the Library\n\n```js\nconst { QueryMapper } = require(\"sparql2graphql-converter\");\n```\n\n## 2. Define RDF Context\n\nThe context maps prefixes to namespaces.\n\n```js\nconst CONTEXT = {\n  ex: \"http://example.org/\",\n};\n```\n\n## 3. Define GraphQL Schema\n\nThe schema describes how RDF concepts map to GraphQL.\n\n```graphql\ntype Query {\n  observations: [Observation]!\n  observation(id: ID!): Observation\n}\n\ntype Observation @class(iri: \"ex:Observation\") {\n  id: ID!\n  value: Int! @predicate(iri: \"ex:value\")\n  ex_unit: String!\n  atTime: DateTime! @predicate(iri: \"ex:timestamp\")\n}\n```\n\n## 4. Create QueryMapper\n\n```js\nconst queryMapper = new QueryMapper(SCHEMA, CONTEXT);\n```\n\n## 5. Convert a SPARQL Query\n\nExample SPARQL query:\n\n```sparql\nPREFIX ex: <http://example.org/>\n\nSELECT ?value ?unit ?timestamp \nWHERE {\n  ?obs a ex:Observation ;\n       ex:value ?value ;\n       ex:unit ?unit ;\n       ex:timestamp ?timestamp .\n}\n```\n\nConvert it:\n\n```js\nconst [query, responseMapper] = queryMapper.query(QUERY);\n\nconsole.log(query);\n```\n\nExample generated GraphQL query:\n\n```graphql\nquery {\n  observations {\n    value\n    ex_unit\n    atTime\n  }\n}\n```\n\nThe mapper also returns a **ResponseMapper** which must be used later to convert the response.\n\n# Handling the GraphQL Response\n\nThe GraphQL API returns a standard JSON response.\n\nExample:\n\n```json\n{\n  \"data\": {\n    \"observations\": [\n      {\n        \"value\": 120,\n        \"ex_unit\": \"mmHg\",\n        \"atTime\": \"2024-01-01T10:00:00Z\"\n      }\n    ]\n  }\n}\n```\n\n## Convert Response to RDF Bindings\n\nExample:\n\n```js\nconst { DataFactory } = require(\"rdf-data-factory\");\nconst { BindingsFactory } = require(\"@comunica/utils-bindings-factory\");\n\nconst dataFactory = new DataFactory();\nconst bindingsFactory = new BindingsFactory(dataFactory);\n\nconst variables = [\n  dataFactory.variable(\"value\"),\n  dataFactory.variable(\"unit\"),\n  dataFactory.variable(\"timestamp\"),\n];\n\nconst bindings = responseMapper.dataToBindings(\n  graphqlResponse,\n  variables,\n  dataFactory,\n  bindingsFactory\n);\n```\n\nThe result is a list of **RDFJS bindings**.\n\nExample output:\n\n```js\n{\n  value: \"120\",\n  unit: \"mmHg\",\n  timestamp: \"2024-01-01T10:00:00Z\"\n}\n```\n\n# Full Example\n\n```js\nconst { QueryMapper } = require(\"sparql2graphql-converter\");\nconst { DataFactory } = require(\"rdf-data-factory\");\nconst { BindingsFactory } = require(\"@comunica/utils-bindings-factory\");\n\nconst dataFactory = new DataFactory();\nconst bindingsFactory = new BindingsFactory(dataFactory);\n\nconst mapper = new QueryMapper(SCHEMA, CONTEXT);\n\nconst [query, responseMapper] = mapper.query(SPARQL_QUERY);\n\n// Send query to GraphQL API\nconst response = await fetchGraphQL(query);\n\n// Convert response\nconst bindings = responseMapper.dataToBindings(\n  response,\n  variables,\n  dataFactory,\n  bindingsFactory\n);\n```\n\n# Custom Logger\n\nYou can provide a custom logger implementation.\n\nInterface:\n\n```ts\nexport interface ILogger {\n  debug(...args: unknown[]): void;\n  info(...args: unknown[]): void;\n  warn(...args: unknown[]): void;\n  error(...args: unknown[]): void;\n}\n```\n\nExample:\n\n```js\nconst { setLogger } = require(\"sparql2graphql-converter\");\n\nsetLogger({\n  debug: console.debug,\n  info: console.info,\n  warn: console.warn,\n  error: console.error\n});\n```\n\nOr simply enable the default logger:\n\n```js\nsetLogger();\n```\n\n# Use Cases\n\nTypical scenarios:\n\n* Querying **RDF data through a GraphQL API**\n* Integrating **SPARQL engines with GraphQL services**\n\n# License\n\nMIT\n","readmeFilename":"README.md"}