From 097b73ca52bc587450aaa4a942587c45981f907c Mon Sep 17 00:00:00 2001 From: Luigi Asprino Date: Tue, 15 Oct 2024 13:21:35 +0200 Subject: [PATCH 1/6] Add Tutorial #508 --- TUTORIALS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TUTORIALS.md b/TUTORIALS.md index 6e576f77..c5709a08 100644 --- a/TUTORIALS.md +++ b/TUTORIALS.md @@ -9,6 +9,7 @@ Here is a list of step-by-step tutorials covering several features of SPARQL Any - [Construct a KG from YAML annotations in Markdown file headers](https://github.com/SPARQL-Anything/showcase-polifonia-ecosystem): A short but complex case demonstrating how to chain multiple transformations starting from a set of Markdown files, queried to extract the YAML header, which is in turn queried to derive the annotations, that are in turn projected into a KG! - [Populate a Music Ontology from MusicXML files](https://github.com/SPARQL-Anything/showcase-musicxml): An advanced application of SPARQL Anything to query MusicXML files and derive note sequences, computing n-grams, and populating a Music Notation ontology. - [Querying a Relational Database](https://github.com/justin2004/weblog/blob/master/relational_as_graph/README.md): this tutorials shows you how to query a relational database by using SPARQL Anything (even if the tool does not support yet this feature natively). +- [How cool would it be to have a single query to get an overview of the content of any input sources?](https://colab.research.google.com/drive/1R5zeIx4IutF0cc4oTc45CrXjdTSGP4eW?usp=sharing#scrollTo=MgVgJ526sd3e): This is a Colab notebook describing how to build a SPARQL Anything query to get an overview of the schema of any source. The query is plain SPARQL 1.1 but thanks to Facade-X model and SPARQL Anything it also works with any format. Related Discussion: [#508](https://github.com/SPARQL-Anything/sparql.anything/discussions/508) # Online presentations From 6c539e3e87b032a8c8ff6425376a97d29319186b Mon Sep 17 00:00:00 2001 From: Luigi Asprino Date: Tue, 15 Oct 2024 15:58:24 +0200 Subject: [PATCH 2/6] #509 --- README.md | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 438bca83..db705ce4 100644 --- a/README.md +++ b/README.md @@ -687,21 +687,35 @@ unified method to access heterogeneous data sources on the Web. ACM Trans. Inter ```bibtex @article{10.1145/3555312, -author = {Asprino, Luigi and Daga, Enrico and Gangemi, Aldo and Mulholland, Paul}, -title = {Knowledge Graph Construction with a Fa\c{c}ade: A Unified Method to Access Heterogeneous Data Sources on the Web}, -year = {2022}, -publisher = {Association for Computing Machinery}, -address = {New York, NY, USA}, -issn = {1533-5399}, -url = {https://doi.org/10.1145/3555312}, -doi = {10.1145/3555312}, -abstract = {Data integration is the dominant use case for RDF Knowledge Graphs. However, Web resources come in formats with weak semantics (for example CSV and JSON), or formats specific to a given application (for example BibTex, HTML, and Markdown). To solve this problem, Knowledge Graph Construction (KGC) is gaining momentum due to its focus on supporting users in transforming data into RDF. However, using existing KGC frameworks result in complex data processing pipelines, which mix structural and semantic mappings, whose development and maintenance constitute a significant bottleneck for KG engineers. Such frameworks force users to rely on different tools, sometimes based on heterogeneous languages, for inspecting sources, designing mappings, and generating triples, thus making the process unnecessarily complicated. We argue that it is possible and desirable to equip KG engineers with the ability of interacting with Web data formats by relying on their expertise in RDF and the well-established SPARQL query language [2]. In this article, we study a unified method for data access to heterogeneous data sources with Facade-X, a meta-model implemented in a new data integration system called SPARQL Anything. We demonstrate that our approach is theoretically sound, since it allows a single meta-model, based on RDF, to represent data from (a) any file format expressible in BNF syntax, as well as (b) any relational database. We compare our method to state-of-the-art approaches in terms of usability (cognitive complexity of the mappings) and general performance. Finally, we discuss the benefits and challenges of this novel approach by engaging with the reference user community.}, -journal = {ACM Trans. Internet Technol.}, -keywords = {RDF, SPARQL, Meta-model, Re-engineering} + author = {Asprino, Luigi and Daga, Enrico and Gangemi, Aldo and Mulholland, Paul}, + title = {Knowledge Graph Construction with a Fa\c{c}ade: A Unified Method to Access Heterogeneous Data Sources on the Web}, + year = {2022}, + publisher = {Association for Computing Machinery}, + address = {New York, NY, USA}, + issn = {1533-5399}, + url = {https://doi.org/10.1145/3555312}, + doi = {10.1145/3555312}, + abstract = {Data integration is the dominant use case for RDF Knowledge Graphs. However, Web resources come in formats with weak semantics (for example CSV and JSON), or formats specific to a given application (for example BibTex, HTML, and Markdown). To solve this problem, Knowledge Graph Construction (KGC) is gaining momentum due to its focus on supporting users in transforming data into RDF. However, using existing KGC frameworks result in complex data processing pipelines, which mix structural and semantic mappings, whose development and maintenance constitute a significant bottleneck for KG engineers. Such frameworks force users to rely on different tools, sometimes based on heterogeneous languages, for inspecting sources, designing mappings, and generating triples, thus making the process unnecessarily complicated. We argue that it is possible and desirable to equip KG engineers with the ability of interacting with Web data formats by relying on their expertise in RDF and the well-established SPARQL query language [2]. In this article, we study a unified method for data access to heterogeneous data sources with Facade-X, a meta-model implemented in a new data integration system called SPARQL Anything. We demonstrate that our approach is theoretically sound, since it allows a single meta-model, based on RDF, to represent data from (a) any file format expressible in BNF syntax, as well as (b) any relational database. We compare our method to state-of-the-art approaches in terms of usability (cognitive complexity of the mappings) and general performance. Finally, we discuss the benefits and challenges of this novel approach by engaging with the reference user community.}, + journal = {ACM Trans. Internet Technol.}, + keywords = {RDF, SPARQL, Meta-model, Re-engineering} } ``` -Conference paper mainly focussing on system requirements: +P. Warren, P. Mulholland, E. Daga, and L. Asprino. “Path-based and triplification +approaches to mapping data into RDF: user behaviours and recommendations”. In: +Semantic Web (2024), to appear [Pre-print](https://content.iospress.com/articles/semantic-web/sw243585) + +``` +@article{Warren2024, + title={Path-based and triplification approaches to mapping data into RDF: User behaviours and recommendations}, + author={Warren, Paul and Mulholland, Paul and Daga, Enrico and Asprino, Luigi}, + journal={Semantic Web}, + number={(to appear)}, + publisher={IOS Press} +} +``` + + Daga, Enrico; Asprino, Luigi; Mulholland, Paul and Gangemi, Aldo (2021). Facade-X: An Opinionated Approach to SPARQL Anything. In: Alam, Mehwish; Groth, Paul; de Boer, Victor; Pellegrini, Tassilo and Pandit, Harshvardhan J. eds. Volume From ed3927a9d5b16da28db94ef040cafa3cd43c5bc2 Mon Sep 17 00:00:00 2001 From: Luigi Asprino Date: Tue, 15 Oct 2024 16:01:33 +0200 Subject: [PATCH 3/6] #509 --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index db705ce4..85d77f1b 100644 --- a/README.md +++ b/README.md @@ -681,8 +681,8 @@ SPARQL Anything is distributed under [Apache 2.0 License](LICENSE) **For citing SPARQL Anything in academic papers please use:** -Luigi Asprino, Enrico Daga, Aldo Gangemi, and Paul Mulholland. 2022. Knowledge Graph Construction with a façade: a -unified method to access heterogeneous data sources on the Web. ACM Trans. Internet Technol. Just Accepted (2022) +Luigi Asprino, Enrico Daga, Aldo Gangemi, and Paul Mulholland. "Knowledge Graph Construction with a façade: a +unified method to access heterogeneous data sources on the Web". ACM Transactions on the Internet Technologies (2022) . https://doi.org/10.1145/3555312 [Preprint](https://sparql.xyz/FacadeX_TOIT.pdf) ```bibtex @@ -701,11 +701,9 @@ unified method to access heterogeneous data sources on the Web. ACM Trans. Inter } ``` -P. Warren, P. Mulholland, E. Daga, and L. Asprino. “Path-based and triplification -approaches to mapping data into RDF: user behaviours and recommendations”. In: -Semantic Web (2024), to appear [Pre-print](https://content.iospress.com/articles/semantic-web/sw243585) +Paul Warren, Paul Mulholland, Enrico Daga, and Luigi Asprino. "Path-based and triplification approaches to mapping data into RDF: user behaviours and recommendations". In: Semantic Web (2024), to appear [Pre-print](https://content.iospress.com/articles/semantic-web/sw243585) -``` +```bibtex @article{Warren2024, title={Path-based and triplification approaches to mapping data into RDF: User behaviours and recommendations}, author={Warren, Paul and Mulholland, Paul and Daga, Enrico and Asprino, Luigi}, @@ -717,9 +715,7 @@ Semantic Web (2024), to appear [Pre-print](https://content.iospress.com/articles -Daga, Enrico; Asprino, Luigi; Mulholland, Paul and Gangemi, Aldo (2021). Facade-X: An Opinionated Approach to SPARQL -Anything. In: Alam, Mehwish; Groth, Paul; de Boer, Victor; Pellegrini, Tassilo and Pandit, Harshvardhan J. eds. Volume -53: Further with Knowledge Graphs, Volume 53. IOS Press, pp. 58–73. +Enrico Daga, Luigi Asprino, Paul Mulholland, and Aldo Gangemi. "Facade-X: An Opinionated Approach to SPARQL Anything". In: Alam, Mehwish; Groth, Paul; de Boer, Victor; Pellegrini, Tassilo and Pandit, Harshvardhan J. eds. Volume 53: Further with Knowledge Graphs, Volume 53. IOS Press, pp. 58–73. DOI: https://doi.org/10.3233/ssw210035 | [PDF](http://oro.open.ac.uk/78973/1/78973.pdf) From 1bda58e8704c8dae8ea5db085a6d2017ce0d8ae1 Mon Sep 17 00:00:00 2001 From: Luigi Asprino Date: Tue, 15 Oct 2024 16:02:33 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 85d77f1b..863938c5 100644 --- a/README.md +++ b/README.md @@ -682,7 +682,7 @@ SPARQL Anything is distributed under [Apache 2.0 License](LICENSE) **For citing SPARQL Anything in academic papers please use:** Luigi Asprino, Enrico Daga, Aldo Gangemi, and Paul Mulholland. "Knowledge Graph Construction with a façade: a -unified method to access heterogeneous data sources on the Web". ACM Transactions on the Internet Technologies (2022) +unified method to access heterogeneous data sources on the Web". ACM Transactions on the Internet Technology (2022) . https://doi.org/10.1145/3555312 [Preprint](https://sparql.xyz/FacadeX_TOIT.pdf) ```bibtex From 25be5c27f5b4c4d1574b109887e06179aec0822f Mon Sep 17 00:00:00 2001 From: Luigi Asprino Date: Tue, 15 Oct 2024 16:03:48 +0200 Subject: [PATCH 5/6] #509 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 863938c5..9f2308ec 100644 --- a/README.md +++ b/README.md @@ -682,7 +682,7 @@ SPARQL Anything is distributed under [Apache 2.0 License](LICENSE) **For citing SPARQL Anything in academic papers please use:** Luigi Asprino, Enrico Daga, Aldo Gangemi, and Paul Mulholland. "Knowledge Graph Construction with a façade: a -unified method to access heterogeneous data sources on the Web". ACM Transactions on the Internet Technology (2022) +unified method to access heterogeneous data sources on the Web". ACM Transactions on Internet Technology (2022) . https://doi.org/10.1145/3555312 [Preprint](https://sparql.xyz/FacadeX_TOIT.pdf) ```bibtex @@ -696,7 +696,7 @@ unified method to access heterogeneous data sources on the Web". ACM Transaction url = {https://doi.org/10.1145/3555312}, doi = {10.1145/3555312}, abstract = {Data integration is the dominant use case for RDF Knowledge Graphs. However, Web resources come in formats with weak semantics (for example CSV and JSON), or formats specific to a given application (for example BibTex, HTML, and Markdown). To solve this problem, Knowledge Graph Construction (KGC) is gaining momentum due to its focus on supporting users in transforming data into RDF. However, using existing KGC frameworks result in complex data processing pipelines, which mix structural and semantic mappings, whose development and maintenance constitute a significant bottleneck for KG engineers. Such frameworks force users to rely on different tools, sometimes based on heterogeneous languages, for inspecting sources, designing mappings, and generating triples, thus making the process unnecessarily complicated. We argue that it is possible and desirable to equip KG engineers with the ability of interacting with Web data formats by relying on their expertise in RDF and the well-established SPARQL query language [2]. In this article, we study a unified method for data access to heterogeneous data sources with Facade-X, a meta-model implemented in a new data integration system called SPARQL Anything. We demonstrate that our approach is theoretically sound, since it allows a single meta-model, based on RDF, to represent data from (a) any file format expressible in BNF syntax, as well as (b) any relational database. We compare our method to state-of-the-art approaches in terms of usability (cognitive complexity of the mappings) and general performance. Finally, we discuss the benefits and challenges of this novel approach by engaging with the reference user community.}, - journal = {ACM Trans. Internet Technol.}, + journal = {ACM Transactions on Internet Technology}, keywords = {RDF, SPARQL, Meta-model, Re-engineering} } ``` From 88ea1d9f100fd5a2e318088f77e4deb4995b0ac4 Mon Sep 17 00:00:00 2001 From: Luigi Asprino Date: Wed, 16 Oct 2024 08:47:52 +0200 Subject: [PATCH 6/6] #510 --- .github/workflows/publish_to_mvn-central.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish_to_mvn-central.yml b/.github/workflows/publish_to_mvn-central.yml index be53676a..413af52b 100644 --- a/.github/workflows/publish_to_mvn-central.yml +++ b/.github/workflows/publish_to_mvn-central.yml @@ -22,6 +22,7 @@ jobs: echo -e "Releasing ${{ github.ref_name }}" echo -e "$(tty)" gpg --version + mvn -version # This avoids gpg: signing failed: Inappropriate ioctl for device error # See https://github.com/keybase/keybase-issues/issues/2798 export GPG_TTY=$(tty)