{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T01:42:20Z","timestamp":1787017340315,"version":"build-2736575974"},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2017,10,27]],"date-time":"2017-10-27T00:00:00Z","timestamp":1509062400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100004744","name":"Brussels Institute for Research and Innovation","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100004744","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Millennium Nucleus Center for Semantic Web Research","award":["NC120004"],"award-info":[{"award-number":["NC120004"]}]},{"name":"scholarship","award":["CONICYT-PCHA-21120368"],"award-info":[{"award-number":["CONICYT-PCHA-21120368"]}]},{"DOI":"10.13039\/501100004744","name":"Innoviris","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100004744","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Database Syst."],"published-print":{"date-parts":[[2017,12,31]]},"abstract":"<jats:p>When querying an Resource Description Framework (RDF) graph, a prominent feature is the possibility of extending the answer to a query with optional information. However, the definition of this feature in SPARQL\u2014the standard RDF query language\u2014has raised some important issues. Most notably, the use of this feature increases the complexity of the evaluation problem, and its closed-world semantics is in conflict with the underlying open-world semantics of RDF. Many approaches for fixing such problems have been proposed, the most prominent being the introduction of the semantic notion of weakly monotone SPARQL query. Weakly monotone SPARQL queries have shaped the class of queries that conform to the open-world semantics of RDF. Unfortunately, finding an effective way of restricting SPARQL to the fragment of weakly monotone queries has proven to be an elusive problem. In practice, the most widely adopted fragment for writing SPARQL queries is based on the syntactic notion of well designedness. This notion has proven to be a good approach for writing SPARQL queries, but its expressive power has yet to be fully understood.<\/jats:p>\n                  <jats:p>The starting point of this article is to understand the relation between well-designed queries and the semantic notion of weak monotonicity. It is known that every well-designed SPARQL query is weakly monotone; as our first contribution we prove that the converse does not hold, even if an extension of this notion based on the use of disjunction is considered. Given this negative result, we embark on the task of defining syntactic fragments that are weakly monotone and have higher expressive power than the fragment of well-designed queries. To this end, we move to a more general scenario where infinite RDF graphs are also allowed, so interpolation techniques studied for first-order logic can be applied. With the use of these techniques, we are able to define a new operator for SPARQL that gives rise to a query language with the desired properties (over finite and infinite RDF graphs). It should be noticed that every query in this fragment is weakly monotone if we restrict the semantics to finite RDF graphs. Moreover, we use this result to provide a simple characterization of the class of monotone CONSTRUCT queries, that is, the class of SPARQL queries that produce RDF graphs as output. Finally, we pinpoint the complexity of the evaluation problem for the query languages identified in the article.<\/jats:p>","DOI":"10.1145\/3129247","type":"journal-article","created":{"date-parts":[[2017,10,27]],"date-time":"2017-10-27T08:48:13Z","timestamp":1509094093000},"page":"1-46","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":10,"title":["Designing a Query Language for RDF"],"prefix":"10.1145","volume":"42","author":[{"given":"Marcelo","family":"Arenas","sequence":"first","affiliation":[{"name":"Pontificia Universidad Cat\u00f3lica de Chile 8 Center for Semantic Web Research"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Martin","family":"Ugarte","sequence":"additional","affiliation":[{"name":"Universit\u00e9 Libre de Bruxelles"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,10,27]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Foundations of Databases","author":"Abiteboul Serge","unstructured":"Serge Abiteboul , Richard Hull , and Victor Vianu . 1995. Foundations of Databases . Vol. 8 . Addison-Wesley , Reading . Serge Abiteboul, Richard Hull, and Victor Vianu. 1995. Foundations of Databases. Vol. 8. Addison-Wesley, Reading."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/2736277.2741636"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/31846.31852"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-88564-1_8"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2187836.2187922"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1989284.1989312"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2902251.2902298"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/2745754.2745767"},{"key":"e_1_2_1_9_1","volume-title":"Balder ten Cate, and Efthymia Tsamoura","author":"Benedikt Michael","year":"2016","unstructured":"Michael Benedikt , Julien Leblay , Balder ten Cate, and Efthymia Tsamoura . 2016 a. Generating Plans from Proofs : The Interpolation-based Approach to Query Reformulation. Morgan 8 Claypool Publishers . Michael Benedikt, Julien Leblay, Balder ten Cate, and Efthymia Tsamoura. 2016a. Generating Plans from Proofs: The Interpolation-based Approach to Query Reformulation. Morgan 8 Claypool Publishers."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2594538.2594550"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2847523"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1038\/scientificamerican0501-34"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.websem.2012.10.001"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/0890-5401(91)90075-D"},{"key":"e_1_2_1_15_1","volume-title":"Proceedings of the 26th AAAI Conference on Artificial Intelligence.","author":"Chekol Melisachew Wudage","year":"2012","unstructured":"Melisachew Wudage Chekol , J\u00e9r\u00f4me Euzenat , Pierre Genev\u00e8s , and Nabil Laya\u00efda . 2012 a. SPARQL Query containment under axioms . In Proceedings of the 26th AAAI Conference on Artificial Intelligence. Melisachew Wudage Chekol, J\u00e9r\u00f4me Euzenat, Pierre Genev\u00e8s, and Nabil Laya\u00efda. 2012a. SPARQL Query containment under axioms. In Proceedings of the 26th AAAI Conference on Artificial Intelligence."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-31365-3_13"},{"key":"e_1_2_1_17_1","doi-asserted-by":"crossref","unstructured":"M. D\u00fcrst and M. Suignard. 2005. Rfc 3987 Internationalized Resource Identifiers (IRIs). Retrieved from http:\/\/www.ietf.org\/rfc\/rfc3987.txt.  M. D\u00fcrst and M. Suignard. 2005. Rfc 3987 Internationalized Resource Identifiers (IRIs). Retrieved from http:\/\/www.ietf.org\/rfc\/rfc3987.txt.","DOI":"10.17487\/rfc3987"},{"key":"e_1_2_1_18_1","volume-title":"Reasoning Web","author":"Furche Tim","unstructured":"Tim Furche , Benedikt Linse , Fran\u00e7ois Bry , Dimitris Plexousakis , and Georg Gottlob . 2006. RDF querying: Language constructs and evaluation methods compared . In Reasoning Web . Springer , 1--52. Tim Furche, Benedikt Linse, Fran\u00e7ois Bry, Dimitris Plexousakis, and Georg Gottlob. 2006. RDF querying: Language constructs and evaluation methods compared. In Reasoning Web. Springer, 1--52."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/191843.191908"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2448496.2448516"},{"key":"e_1_2_1_21_1","volume-title":"Proceedings of the12th International Semantic Web Conference.","author":"Guha Ramanathan V.","year":"2013","unstructured":"Ramanathan V. Guha . 2013 . Light at the end of the tunnel . In Proceedings of the12th International Semantic Web Conference. Ramanathan V. Guha. 2013. Light at the end of the tunnel. In Proceedings of the12th International Semantic Web Conference."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-11964-9_27"},{"key":"e_1_2_1_23_1","unstructured":"Steve Harris and Andy Seaborne. 2013. SPARQL 1.1 query language. Retrieved from https:\/\/www.w3.org\/TR\/sparql11-query\/.  Steve Harris and Andy Seaborne. 2013. SPARQL 1.1 query language. Retrieved from https:\/\/www.w3.org\/TR\/sparql11-query\/."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(89)90025-1"},{"key":"e_1_2_1_25_1","volume-title":"Proceedings of the 19th International Conference on Database Theory. 5:1--5:18","author":"Kaminski Mark","unstructured":"Mark Kaminski and Egor V. Kostylev . 2016. Beyond well-designed SPARQL . In Proceedings of the 19th International Conference on Database Theory. 5:1--5:18 . Mark Kaminski and Egor V. Kostylev. 2016. Beyond well-designed SPARQL. In Proceedings of the 19th International Conference on Database Theory. 5:1--5:18."},{"key":"e_1_2_1_26_1","volume-title":"Proceedings of the 18th International Conference on Database Theory. 212--229","author":"Kostylev Egor V.","year":"2015","unstructured":"Egor V. Kostylev , Juan L. Reutter , and Mart\u00edn Ugarte . 2015 . CONSTRUCT queries in SPARQL . In Proceedings of the 18th International Conference on Database Theory. 212--229 . Egor V. Kostylev, Juan L. Reutter, and Mart\u00edn Ugarte. 2015. CONSTRUCT queries in SPARQL. In Proceedings of the 18th International Conference on Database Theory. 212--229."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213556.2213572"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500130"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-07003-1"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463664.2465226"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213556.2213573"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.2140\/pjm.1959.9.129"},{"key":"e_1_2_1_33_1","unstructured":"Frank Manola and Eric Miller. 2004. RDF Primer. W3C Recommendation. Retrieved from http:\/\/www.w3.org\/TR\/2004\/REC-rdf-primer-20040210\/.  Frank Manola and Eric Miller. 2004. RDF Primer. W3C Recommendation. Retrieved from http:\/\/www.w3.org\/TR\/2004\/REC-rdf-primer-20040210\/."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1806907.1806913"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.2307\/420966"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/800070.802199"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1007\/11926078_3"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1567274.1567278"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/1999299.1999306"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/2594538.2594542"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1080\/11663081.2013.798992"},{"key":"e_1_2_1_42_1","unstructured":"Eric Prud\u2019hommeaux and Andy Seaborne. 2008. SPARQL Query Language for RDF. W3C Recommendation. Retrieved from http:\/\/www.w3.org\/TR\/rdf-sparql-query\/.  Eric Prud\u2019hommeaux and Andy Seaborne. 2008. SPARQL Query Language for RDF. W3C Recommendation. Retrieved from http:\/\/www.w3.org\/TR\/rdf-sparql-query\/."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-25007-6_2"},{"key":"e_1_2_1_44_1","first-page":"5","article-title":"Completeness in the boolean hierarchy: Exact-four-colorability, minimal graph uncolorability, and exact domatic number problems\u2014A survey","volume":"12","author":"Riege Tobias","year":"2006","unstructured":"Tobias Riege and J\u00f6rg Rothe . 2006 . Completeness in the boolean hierarchy: Exact-four-colorability, minimal graph uncolorability, and exact domatic number problems\u2014A survey . The Journal of Universal Computer Science 12 , 5 (May 2006), 551--578. Tobias Riege and J\u00f6rg Rothe. 2006. Completeness in the boolean hierarchy: Exact-four-colorability, minimal graph uncolorability, and exact domatic number problems\u2014A survey. The Journal of Universal Computer Science 12, 5 (May 2006), 551--578.","journal-title":"The Journal of Universal Computer Science"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463664.2465227"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/1804669.1804675"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/1065167.1065174"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/2187836.2187924"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(76)90061-X"},{"key":"e_1_2_1_51_1","volume-title":"Weddell","author":"Toman David","year":"2011","unstructured":"David Toman and Grant E . Weddell . 2011 . Fundamentals of Physical Design and Query Compilation. Morgan 8 Claypool Publishers . David Toman and Grant E. Weddell. 2011. Fundamentals of Physical Design and Query Compilation. Morgan 8 Claypool Publishers."},{"key":"e_1_2_1_52_1","first-page":"569","article-title":"The impossibility of an algorithm for the decidability problem on finite classes","volume":"70","author":"Trakhtenbrot Boris","year":"1950","unstructured":"Boris Trakhtenbrot . 1950 . The impossibility of an algorithm for the decidability problem on finite classes . Proc. USSR Acad. Sci. 70 , 4 (1950), 569 -- 572 . [in Russian] Boris Trakhtenbrot. 1950. The impossibility of an algorithm for the decidability problem on finite classes. Proc. USSR Acad. Sci. 70, 4 (1950), 569--572. [in Russian]","journal-title":"Proc. USSR Acad. Sci."},{"key":"e_1_2_1_53_1","volume-title":"Proceedings of the 14th Annual ACM Symposium on Theory of Computing. ACM, 137--146","author":"Vardi Moshe Y.","year":"1982","unstructured":"Moshe Y. Vardi . 1982 . The complexity of relational query languages . In Proceedings of the 14th Annual ACM Symposium on Theory of Computing. ACM, 137--146 . Moshe Y. Vardi. 1982. The complexity of relational query languages. In Proceedings of the 14th Annual ACM Symposium on Theory of Computing. ACM, 137--146."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(87)90049-1"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0028832"}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3129247","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3129247","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T23:30:15Z","timestamp":1750203015000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3129247"}},"subtitle":["Marrying Open and Closed Worlds"],"short-title":[],"issued":{"date-parts":[[2017,10,27]]},"references-count":54,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2017,12,31]]}},"alternative-id":["10.1145\/3129247"],"URL":"https:\/\/doi.org\/10.1145\/3129247","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,10,27]]},"assertion":[{"value":"2016-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-07-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2017-10-27","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}