SPARQL Anything is a system for Semantic Web re-engineering that allows users to query anything with SPARQL: CSV, JSON, XML, Parquet, spreadsheets, HTML, Markdown, archives and more, without converting them first. It implements Façade-X, a minimal meta-model that represents any data source as RDF.
Download sparql-anything-<version>.jar from the latest release (Java 21 or later), then:
java -jar sparql-anything-<version>.jar -q 'SELECT * WHERE { SERVICE <x-sparql-anything:https://sparql-anything.cc/example1.json> { ?s ?p ?o } }'SPARQL Anything is also available as a server, a Java library, a Python library and a Docker image.
- Documentation (sources in docs/)
- Supported formats
- Configuration · Functions · Command line
- Tutorials
- Developer guide
Questions and ideas in Discussions, bugs and feature requests in Issues. The approach is being standardised in the W3C Data Façades Community Group.
If you use SPARQL Anything in your research, please cite:
Asprino, L., Daga, E., Gangemi, A., Mulholland, P. (2023). Knowledge Graph Construction with a Façade: A Unified Method to Access Heterogeneous Data Sources on the Web. ACM Transactions on Internet Technology, 23(1). https://doi.org/10.1145/3555312
More publications in docs/README.md.